]> git.baikalelectronics.ru Git - kernel.git/commit
deb-pkg: Fix building for MIPS big-endian or ARM OABI
authorBen Hutchings <ben@decadent.org.uk>
Thu, 5 Dec 2013 14:39:11 +0000 (14:39 +0000)
committerMichal Marek <mmarek@suse.cz>
Fri, 3 Jan 2014 16:28:23 +0000 (17:28 +0100)
commitcf1dc888591cb2f6eec0019557f18e3b59fee042
tree021793814898d6b6ca142c15ea979d801a0dc4a8
parente3e3b44e0dbee78c79ce91402916e986d1d860d5
deb-pkg: Fix building for MIPS big-endian or ARM OABI

These commands will mysteriously fail:

$ make ARCH=arm versatile_defconfig
[...]
$ make ARCH=arm deb-pkg
[...]
make[1]: *** [deb-pkg] Error 1
make: *** [deb-pkg] Error 2

The Debian architecture selection for these kernel architectures does
'grep FOO=y $KCONFIG_CONFIG && echo bar', and after 'set -e' this
aborts the script if grep does not find the given config symbol.

Fixes: 879ba73f3e2d ('build, deb-pkg: select userland architecture based on UTS_MACHINE')
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/package/builddeb