Convert ttcp to new packaging style, add PKG_VERSION, use TARGET_CFLAGS
[openwrt.git] / openwrt / package / arptables / Makefile
index e770fef..ceb7450 100644 (file)
@@ -1,8 +1,5 @@
-#############################################################
-#
-# arptables
-#
-#############################################################
+# $Id$
+
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=arptables
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=arptables
@@ -18,10 +15,14 @@ include $(TOPDIR)/package/rules.mk
 
 $(eval $(call PKG_template,ARPTABLES,arptables,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 
 
 $(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 \
                CFLAGS="$(TARGET_CFLAGS) -Wall -I$(PKG_BUILD_DIR)/include/linux/include -I$(PKG_BUILD_DIR)/include -DARPTABLES_VERSION=\\\"$(PKG_VERSION)\\\" "
 $(PKG_BUILD_DIR)/.built: 
        $(MAKE) -C $(PKG_BUILD_DIR) \
                CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld \
                CFLAGS="$(TARGET_CFLAGS) -Wall -I$(PKG_BUILD_DIR)/include/linux/include -I$(PKG_BUILD_DIR)/include -DARPTABLES_VERSION=\\\"$(PKG_VERSION)\\\" "
+       touch $@
 
 $(IPKG_ARPTABLES):
        mkdir -p $(IDIR_ARPTABLES)/usr/sbin
 
 $(IPKG_ARPTABLES):
        mkdir -p $(IDIR_ARPTABLES)/usr/sbin
This page took 0.026146 seconds and 4 git commands to generate.