Tweak a few minor things (especially BR2_x86_64) to fix segfaulting
This commit is contained in:
parent
c5311bc46b
commit
d6f8494fc1
|
|
@ -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 \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue