Fix MIPS BR2_PACKAGE_LINUX_TOOLS_GPIO build

Update mips for snapshot and initrd features.

Document MIPS limitations.

Improve description of test procedure
This commit is contained in:
Ciro Santilli
2018-02-17 10:06:00 +00:00
parent 2b5a9ea45d
commit 33ca2b29e2
5 changed files with 44 additions and 7 deletions

5
build
View File

@@ -88,6 +88,11 @@ fi
if $x11; then
cat ../buildroot_config_fragment_x11 >> "${outdir}/.config"
fi
if [ "$arch" = 'mips64' ]; then
# Workaround for:
# http://lists.busybox.net/pipermail/buildroot/2017-August/201053.html
sed -Ei 's/^BR2_PACKAGE_LINUX_TOOLS_GPIO/BR2_PACKAGE_LINUX_TOOLS_GPIO=n/' "${outdir}/.config"
fi
make O="$outdir" olddefconfig
# HOST_QEMU_OPTS is a hack that happens to work because the QEMU package luckly uses += at all times.
# It shouldn't be necessary in the first place: https://bugs.busybox.net/show_bug.cgi?id=9936