[OpenWrt-Devel] [PATCH] build: explicitly unexport CONFIG_SITE

Felix Fietkau nbd at openwrt.org
Sat Jan 17 19:40:11 EST 2015


On 2015-01-16 04:03, Matthias Schiffer wrote:
> 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 at universe-factory.net>
Applied in r44019, thanks.

- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list