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>

SVN-Revision: 37388
master
Jonas Gorski 12 years ago
parent 5d1c80f002
commit 8e12b39d5d
  1. 4
      include/package-ipkg.mk

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

Loading…
Cancel
Save