build: print missing dependency error to stderr

Allow to see the actual error even when compiling with V=w/V=1 only.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37388 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Jonas Gorski 2013-07-18 11:29:18 +00:00
parent 61b763d414
commit dd38ccf620
1 changed files with 2 additions and 2 deletions

View File

@ -64,8 +64,8 @@ ifneq ($(PKG_NAME),toolchain)
echo "$$$$FILE" >> $(PKG_INFO_DIR)/$(1).missing; \
done; \
if [ -f "$(PKG_INFO_DIR)/$(1).missing" ]; then \
echo "Package $(1) is missing dependencies for the following libraries:"; \
cat "$(PKG_INFO_DIR)/$(1).missing"; \
echo "Package $(1) is missing dependencies for the following libraries:" >&2; \
cat "$(PKG_INFO_DIR)/$(1).missing" >&2; \
false; \
fi; \
)