From c5725a0578e6edfda5a2890e5c0be7015f615fb3 Mon Sep 17 00:00:00 2001 From: Nicolas Thill Date: Thu, 19 May 2005 20:49:45 +0000 Subject: [PATCH] Add missing .configured target that caused superfluous package rebuild SVN-Revision: 963 --- openwrt/package/arptables/Makefile | 10 +++++----- openwrt/package/bwm/Makefile | 3 +++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/openwrt/package/arptables/Makefile b/openwrt/package/arptables/Makefile index 018d8afd49..ceb745040b 100644 --- a/openwrt/package/arptables/Makefile +++ b/openwrt/package/arptables/Makefile @@ -1,8 +1,5 @@ -############################################################# -# -# arptables -# -############################################################# +# $Id$ + include $(TOPDIR)/rules.mk PKG_NAME:=arptables @@ -18,6 +15,9 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,ARPTABLES,arptables,$(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 \ diff --git a/openwrt/package/bwm/Makefile b/openwrt/package/bwm/Makefile index 74f25c289c..1d615ec12f 100644 --- a/openwrt/package/bwm/Makefile +++ b/openwrt/package/bwm/Makefile @@ -14,6 +14,9 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,BWM,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) +$(PKG_BUILD_DIR)/.configured: + touch $@ + $(PKG_BUILD_DIR)/.built: $(TARGET_CC) $(TARGET_CFLAGS) $(PKG_BUILD_DIR)/bwm.c -o $(PKG_BUILD_DIR)/bwm touch $@