include/toplevel.mk: print warnings/errors to stderr

Makes warnings/errors visible when building with V=w/V=1.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35716
This commit is contained in:
Jonas Gorski 2013-02-21 11:45:22 +00:00
parent a48b04e8dc
commit 45846230ab

View file

@ -148,7 +148,7 @@ prereq:: prepare-tmpinfo .config
cp .config tmp/.config; \ cp .config tmp/.config; \
./scripts/config/conf -D tmp/.config -w tmp/.config Config.in > /dev/null 2>&1; \ ./scripts/config/conf -D tmp/.config -w tmp/.config Config.in > /dev/null 2>&1; \
if ./scripts/kconfig.pl '>' .config tmp/.config | grep -q CONFIG; then \ if ./scripts/kconfig.pl '>' .config tmp/.config | grep -q CONFIG; then \
echo "WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!"; \ echo "WARNING: your configuration is out of sync. Please run make menuconfig, oldconfig or defconfig!" >&2; \
fi \ fi \
) )
@+$(ULIMIT_FIX) $(SUBMAKE) -r $@ @+$(ULIMIT_FIX) $(SUBMAKE) -r $@