[Buildroot] [PATCH 1/2] scancpan: generate a conventional comment

Francois Perrad fperrad at gmail.com
Wed Oct 10 10:14:45 UTC 2018


Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
---
 utils/scancpan | 1 +
 1 file changed, 1 insertion(+)

diff --git a/utils/scancpan b/utils/scancpan
index e16a18303..2e7e94627 100755
--- a/utils/scancpan
+++ b/utils/scancpan
@@ -696,6 +696,7 @@ while (my ($distname, $dist) = each %dist) {
         say {$fh} qq{config BR2_PACKAGE_${brname}};
         say {$fh} qq{\tbool "${fsname}"};
         say {$fh} qq{\tdepends on !BR2_STATIC_LIBS} if $need_dlopen{$distname};
+        say {$fh} qq{\t# runtime} if scalar @{$deps_runtime{$distname}} > 0;
         foreach my $dep (sort @{$deps_runtime{$distname}}) {
             my $brdep = brname( fsname( $dep ) );
             say {$fh} qq{\tselect BR2_PACKAGE_${brdep}};
-- 
2.17.1



More information about the buildroot mailing list