Add missing .configured target that caused superfluous package rebuild
authorNicolas Thill <nico@openwrt.org>
Thu, 19 May 2005 20:56:21 +0000 (20:56 +0000)
committerNicolas Thill <nico@openwrt.org>
Thu, 19 May 2005 20:56:21 +0000 (20:56 +0000)
SVN-Revision: 965

openwrt/package/dnsmasq/Makefile
openwrt/package/ebtables/Makefile

index c6b7a8a9fd1fe698444fa869c55375b1399422da..5d7133fd1e920d1b4be1302680818505df86a3ad 100644 (file)
@@ -16,9 +16,13 @@ include $(TOPDIR)/package/rules.mk
 
 $(eval $(call PKG_template,DNSMASQ,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 
+$(PKG_BUILD_DIR)/.configured:
+       touch $@
+
 $(PKG_BUILD_DIR)/.built:
-       $(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" \
-               BINDIR=/usr/sbin MANDIR=/usr/man -C $(PKG_BUILD_DIR)
+       $(MAKE) -C $(PKG_BUILD_DIR) \
+               CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" \
+               BINDIR=/usr/sbin MANDIR=/usr/man
        touch $@
 
 $(IPKG_DNSMASQ):
index 44a175e66a598a6667efe54686c7312b59daee77..a928a2dbb125f22dfd15d42a8a5ec0ec6724f502 100644 (file)
@@ -16,6 +16,9 @@ include $(TOPDIR)/package/rules.mk
 
 $(eval $(call PKG_template,EBTABLES,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 
+$(PKG_BUILD_DIR)/.configured:
+       touch $@
+
 $(PKG_BUILD_DIR)/.built:
        $(MAKE) -C $(PKG_BUILD_DIR) \
                CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld \