Default gumstix configuration changed
[gumsense-br.git] / package / busybox / busybox-depmod.patch
blobd917f3369dc2a7db89d4a1e7954aefc972f20885
1 --- busybox-1.1.2/examples/depmod.pl
2 +++ busybox-1.1.2/examples/depmod.pl
3 @@ -104,7 +104,7 @@
4 warn "\nMODULE = $tgtname\n" if $verbose;
6 # get a list of symbols
7 - my @output=`nm $obj`;
8 + my @output=`$ENV{CROSS_COMPILE}nm $obj`;
10 build_ref_tables($tgtname, \@output, $exp, $dep);
12 @@ -112,7 +112,7 @@
14 # vmlinux is a special name that is only used to resolve symbols
15 my $tgtname = 'vmlinux';
16 -my @output = $kernelsyms ? `cat $kernelsyms` : `nm $kernel`;
17 +my @output = $kernelsyms ? `cat $kernelsyms` : `$ENV{CROSS_COMPILE}nm $kernel`;
18 warn "\nMODULE = $tgtname\n" if $verbose;
19 build_ref_tables($tgtname, \@output, $exp, $dep);
21 @@ -153,7 +153,9 @@
22 print "\n";
26 +`touch $basedir/modules.usbmap`;
27 +`touch $basedir/modules.pcimap`;
28 +`touch $basedir/modules.ieee1394map`;
30 sub build_ref_tables