Tweak a few minor things (especially BR2_x86_64) to fix segfaulting

This commit is contained in:
Tianon Gravi 2015-09-18 13:44:01 -07:00
parent c5311bc46b
commit d6f8494fc1
1 changed files with 7 additions and 4 deletions

View File

@ -38,8 +38,10 @@ RUN set -x \
&& rm buildroot.tar.bz2* && rm buildroot.tar.bz2*
RUN confs=' \ RUN confs=' \
BR2_TOOLCHAIN_BUILDROOT_INET_RPC \
BR2_STATIC_LIBS \ BR2_STATIC_LIBS \
BR2_TOOLCHAIN_BUILDROOT_INET_RPC \
BR2_TOOLCHAIN_BUILDROOT_WCHAR \
BR2_x86_64 \
' \ ' \
&& set -xe \ && set -xe \
&& cd /usr/src/buildroot \ && cd /usr/src/buildroot \
@ -79,6 +81,7 @@ RUN confs=' \
CONFIG_AR \ CONFIG_AR \
CONFIG_FEATURE_AR_LONG_FILENAMES \ CONFIG_FEATURE_AR_LONG_FILENAMES \
CONFIG_FEATURE_AR_CREATE \ CONFIG_FEATURE_AR_CREATE \
CONFIG_STATIC \
' \ ' \
&& set -xe \ && set -xe \
&& make defconfig \ && make defconfig \
@ -92,9 +95,9 @@ RUN confs=' \
done done
RUN set -x \ RUN set -x \
&& LDFLAGS='--static' \ && make -j$(nproc) \
make -j$(nproc) \ CROSS_COMPILE="$(basename /usr/src/buildroot/output/host/usr/*-buildroot-linux-uclibc)-" \
CROSS_COMPILE="$(basename /usr/src/buildroot/output/host/usr/*-buildroot-linux-uclibc)-" \ busybox \
&& mkdir -p rootfs/bin \ && mkdir -p rootfs/bin \
&& ln -v busybox rootfs/bin/ \ && ln -v busybox rootfs/bin/ \
&& rootfs/bin/busybox --install rootfs/bin \ && rootfs/bin/busybox --install rootfs/bin \