diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-18 00:37:18 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-01-18 00:37:18 +0000 |
commit | 39abef72dc1ac0470b0367ae2aa56947aa67a340 (patch) | |
tree | e43f2bb27ae99c7073fdaed66cc00538516f2ea8 /scripts/mkits.sh | |
parent | c8a91544bb6d67ffc74599af7e22922b6b94313c (diff) | |
download | upstream-39abef72dc1ac0470b0367ae2aa56947aa67a340.tar.gz upstream-39abef72dc1ac0470b0367ae2aa56947aa67a340.tar.bz2 upstream-39abef72dc1ac0470b0367ae2aa56947aa67a340.zip |
build: explicitly unexport CONFIG_SITE
On systems with CONFIG_SITE in the environment (e.g. OpenSUSE) make will export
the CONFIG_SITE set in include/package.mk by default. This will cause host
builds to get the target site configuration, leading to all kinds of weirdness
(wrong pointer size, wrong endianess).
Fix this by explicitly unexporting CONFIG_SITE. The explicit export for the
target builds overrides the unexport, so the target builds will still correctly
get the site config.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44019 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'scripts/mkits.sh')
0 files changed, 0 insertions, 0 deletions