mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-01-23 07:01:06 +02:00
avoid running timestamp.pl for dumpinfo -- drastically speeds up the .pkginfo process
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3780 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
282c15a0b0
commit
a37dc39302
@ -5,12 +5,14 @@ else
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
define Build/DefaultTargets
|
define Build/DefaultTargets
|
||||||
ifeq ($(shell $(SCRIPT_DIR)/timestamp.pl -p $(PKG_BUILD_DIR) .),.)
|
ifeq ($(DUMP),)
|
||||||
$(PKG_BUILD_DIR)/.prepared: package-clean
|
ifeq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p $(PKG_BUILD_DIR) . | tee /tmp/xy1),.)
|
||||||
endif
|
$(PKG_BUILD_DIR)/.prepared: package-clean
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg $(IPKG_$(1)) $(PKG_BUILD_DIR)),$(IPKG_$(1)))
|
ifneq ($$(shell $(SCRIPT_DIR)/timestamp.pl -p -x ipkg $(IPKG_$(1)) $(PKG_BUILD_DIR) | tee /tmp/xy2),$(IPKG_$(1)))
|
||||||
$(PKG_BUILD_DIR)/.built: package-rebuild
|
$(PKG_BUILD_DIR)/.built: package-rebuild
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(PKG_BUILD_DIR)/.prepared: $(DL_DIR)/$(PKG_SOURCE)
|
$(PKG_BUILD_DIR)/.prepared: $(DL_DIR)/$(PKG_SOURCE)
|
||||||
@ -191,6 +193,7 @@ define Build/Configure/Default
|
|||||||
--infodir=/usr/info \
|
--infodir=/usr/info \
|
||||||
$(DISABLE_NLS) \
|
$(DISABLE_NLS) \
|
||||||
$(1); \
|
$(1); \
|
||||||
|
true; \
|
||||||
)
|
)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -205,11 +208,12 @@ define Build/Compile/Default
|
|||||||
PREFIX="$$(IDIR_$(1))" \
|
PREFIX="$$(IDIR_$(1))" \
|
||||||
EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
|
EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
|
||||||
ARCH="$(ARCH)" \
|
ARCH="$(ARCH)" \
|
||||||
DESTDIR="$$(IDIR_$(1))"
|
DESTDIR="$$(IDIR_$(1))" \
|
||||||
|
$(1);
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Compile
|
define Build/Compile
|
||||||
$(call Build/Compile/Default)
|
$(call Build/Compile/Default,)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/Clean
|
define Build/Clean
|
||||||
@ -217,7 +221,7 @@ define Build/Clean
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
ifneq ($(DUMP),)
|
ifneq ($(DUMP),)
|
||||||
dumpinfo:
|
dumpinfo: FORCE
|
||||||
$(DUMPINFO)
|
$(DUMPINFO)
|
||||||
else
|
else
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user