aboutsummaryrefslogtreecommitdiff
path: root/qemu_multiarch_testing
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2015-10-05 12:43:04 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2015-10-05 12:43:04 +0200
commite6b578761a77a9b8d073b6b33a3c4e3d175a7c37 (patch)
tree09b162c7dac5c99cc34879a49ac9e195b272f983 /qemu_multiarch_testing
parenta779c6d63b6da04e923cb306fcc257264ed4502c (diff)
downloadbusybox-w32-e6b578761a77a9b8d073b6b33a3c4e3d175a7c37.tar.gz
busybox-w32-e6b578761a77a9b8d073b6b33a3c4e3d175a7c37.tar.bz2
busybox-w32-e6b578761a77a9b8d073b6b33a3c4e3d175a7c37.zip
qemu testing: Do build brctl and ifplugd; force mips32 dialect
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'qemu_multiarch_testing')
-rwxr-xr-xqemu_multiarch_testing/hdc.dir/build11
1 files changed, 8 insertions, 3 deletions
diff --git a/qemu_multiarch_testing/hdc.dir/build b/qemu_multiarch_testing/hdc.dir/build
index b7fb61fc8..a9981864a 100755
--- a/qemu_multiarch_testing/hdc.dir/build
+++ b/qemu_multiarch_testing/hdc.dir/build
@@ -15,20 +15,25 @@ test -x "bin/busybox-$HOST" && {
15( 15(
16 #set -e -x 16 #set -e -x
17 cd busybox 17 cd busybox
18
18 make defconfig 19 make defconfig
19 # Want static build 20 # Want static build
20 sed 's/^.*CONFIG_STATIC.*$/CONFIG_STATIC=y/' -i .config 21 sed 's/^.*CONFIG_STATIC.*$/CONFIG_STATIC=y/' -i .config
21 # Drats, newer Aboriginal Linux has no bzip2
22 bzip2 </dev/null >/dev/null || { 22 bzip2 </dev/null >/dev/null || {
23 # Drats, newer Aboriginal Linux has no bzip2
23 sed 's/^.*CONFIG_FEATURE_COMPRESS_USAGE.*$/# CONFIG_FEATURE_COMPRESS_USAGE is not set/' -i .config 24 sed 's/^.*CONFIG_FEATURE_COMPRESS_USAGE.*$/# CONFIG_FEATURE_COMPRESS_USAGE is not set/' -i .config
24 } 25 }
26 test x"`uname -m`" = x"mips" && {
27 # Without this, I get MIPS-I binary instead of MIPS32.
28 # No idea what's the difference, but my router wants MIPS32.
29 sed 's/^.*CONFIG_EXTRA_CFLAGS.*$/CONFIG_EXTRA_CFLAGS="-mips32"/' -i .config
30 }
25 # These won't build because of toolchain/libc breakage: 31 # These won't build because of toolchain/libc breakage:
26 sed 's/^.*CONFIG_FEATURE_SYNC_FANCY.*$/# CONFIG_FEATURE_SYNC_FANCY is not set/' -i .config # no syncfs() 32 sed 's/^.*CONFIG_FEATURE_SYNC_FANCY.*$/# CONFIG_FEATURE_SYNC_FANCY is not set/' -i .config # no syncfs()
27 sed 's/^.*CONFIG_FEATURE_WTMP.*$/# CONFIG_FEATURE_WTMP is not set/' -i .config 33 sed 's/^.*CONFIG_FEATURE_WTMP.*$/# CONFIG_FEATURE_WTMP is not set/' -i .config
28 sed 's/^.*CONFIG_FEATURE_UTMP.*$/# CONFIG_FEATURE_UTMP is not set/' -i .config 34 sed 's/^.*CONFIG_FEATURE_UTMP.*$/# CONFIG_FEATURE_UTMP is not set/' -i .config
29 sed 's/^.*CONFIG_FEATURE_INETD_RPC.*$/# CONFIG_FEATURE_INETD_RPC is not set/' -i .config 35 sed 's/^.*CONFIG_FEATURE_INETD_RPC.*$/# CONFIG_FEATURE_INETD_RPC is not set/' -i .config
30 sed 's/^.*CONFIG_BRCTL.*$/# CONFIG_BRCTL is not set/' -i .config 36
31 sed 's/^.*CONFIG_IFPLUGD.*$/# CONFIG_IFPLUGD is not set/' -i .config
32 make #V=1 || sh 37 make #V=1 || sh
33 size busybox 38 size busybox
34 ./busybox || echo "Exit code: $?" 39 ./busybox || echo "Exit code: $?"