diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/bootstrap | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/bootstrap b/scripts/bootstrap index cee3e67d..775307ad 100755 --- a/scripts/bootstrap +++ b/scripts/bootstrap @@ -115,7 +115,8 @@ fix_chroot_for_target() { # in /lib64 anyway. if [ ! -e $CHROOT_DIR/lib64/ld-linux-x86-64.so.2 ]; then mkdir -p $CHROOT_DIR$PREFIX/lib64 - ln -sf $CHROOT_DIR$PREFIX/lib/ld-linux-x86-64.so.2 $CHROOT_DIR$PREFIX/lib64 + ln -sf $CHROOT_DIR$PREFIX/lib/ld-linux-x86-64.so.2 \ + $CHROOT_DIR$PREFIX/lib64 fi ;; esac } @@ -209,7 +210,8 @@ build_busybox() { # Disable all module tools. BusyBox's depmod isn't sufficient for Linux # builds, but Linux will build OK if depmod isn't present at all. Also, we # have kmod in Baserock which can do all this stuff anyway. - sed -e 's/.*MODPROBE_SMALL=.*/# CONFIG_MODPROBE_SMALL is not set/' -i .config + sed -e 's/.*MODPROBE_SMALL=.*/# CONFIG_MODPROBE_SMALL is not set/' \ + -i .config sed -e 's/.*INSMOD=.*/CONFIG_INSMOD=y/' -i .config sed -e 's/.*RMMOD=.*/CONFIG_RMMOD=y/' -i .config sed -e 's/.*LSMOD=.*/CONFIG_LSMOD=y/' -i .config @@ -478,7 +480,7 @@ build_eglibc # that option often gets eaten by libtool and by gcc's nested configure # scripts so it's not fully effective. $TARGET-gcc -dumpspecs | \ - sed -e "s@\(crt1\|gcrt1\|Scrt1\|crti\|crtn\)\.o@$CHROOT_DIR$PREFIX/lib/&@g" \ +sed -e "s@\(crt1\|gcrt1\|Scrt1\|crti\|crtn\)\.o@$CHROOT_DIR$PREFIX/lib/&@g" \ > "$specs_dir/specs" if [ "$PREFIX" != "/usr" ]; then |