mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 01:37:10 +02:00
Show error messages when collecting the package info
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@4573 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
7c84941e8e
commit
c6753b5942
2
Makefile
2
Makefile
@ -44,7 +44,7 @@ endif
|
|||||||
@echo Collecting package info...
|
@echo Collecting package info...
|
||||||
@-for dir in package/*/; do \
|
@-for dir in package/*/; do \
|
||||||
echo Source-Makefile: $${dir}Makefile; \
|
echo Source-Makefile: $${dir}Makefile; \
|
||||||
$(NO_TRACE_MAKE) --no-print-dir DUMP=1 -C $$dir 2>&- || echo "ERROR: please fix $${dir}Makefile" >&2; \
|
$(NO_TRACE_MAKE) --no-print-dir DUMP=1 -C $$dir || echo "ERROR: please fix $${dir}Makefile" >&2; \
|
||||||
done > $@
|
done > $@
|
||||||
|
|
||||||
pkginfo-clean: FORCE
|
pkginfo-clean: FORCE
|
||||||
|
@ -16,10 +16,12 @@ define Build/DefaultTargets
|
|||||||
ifeq ($(DUMP),)
|
ifeq ($(DUMP),)
|
||||||
ifeq ($(CONFIG_AUTOREBUILD),y)
|
ifeq ($(CONFIG_AUTOREBUILD),y)
|
||||||
ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p $(PKG_BUILD_DIR) .),$(PKG_BUILD_DIR))
|
ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p $(PKG_BUILD_DIR) .),$(PKG_BUILD_DIR))
|
||||||
|
$$(warning package has changed, need to rebuild $(subst $(TOPDIR)/,,$(PKG_BUILD_DIR)))
|
||||||
$(PKG_BUILD_DIR)/.prepared: package-clean
|
$(PKG_BUILD_DIR)/.prepared: package-clean
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg -x ipkg-install $(IPKG_$(1)) $(PKG_BUILD_DIR)),$(IPKG_$(1)))
|
ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg -x ipkg-install $(IPKG_$(1)) $(PKG_BUILD_DIR)),$(IPKG_$(1)))
|
||||||
|
$$(warning $(subst $(TOPDIR)/,,$(PKG_BUILD_DIR)) has changed, need to rebuild $(subst $(TOPDIR)/,,$(IPKG_$(1))))
|
||||||
$(PKG_BUILD_DIR)/.built: package-rebuild
|
$(PKG_BUILD_DIR)/.built: package-rebuild
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user