projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add first batch of enrik's ar7 system code cleanups
[openwrt.git]
/
openwrt
/
package
/
arptables
/
Makefile
diff --git
a/openwrt/package/arptables/Makefile
b/openwrt/package/arptables/Makefile
index
e770fef
..
f024e7d
100644
(file)
--- a/
openwrt/package/arptables/Makefile
+++ b/
openwrt/package/arptables/Makefile
@@
-1,8
+1,5
@@
-#############################################################
-#
-# arptables
-#
-#############################################################
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME:=arptables
include $(TOPDIR)/rules.mk
PKG_NAME:=arptables
@@
-18,12
+15,18
@@
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 \
$(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)\\\" "
+ COPT_FLAGS="$(TARGET_CFLAGS)" \
+ KERNEL_DIR="./include/linux"
+ touch $@
$(IPKG_ARPTABLES):
$(IPKG_ARPTABLES):
- mkdir -p $(IDIR_ARPTABLES)/usr/sbin
- cp $(PKG_BUILD_DIR)/arptables $(IDIR_ARPTABLES)/usr/sbin/
+ install -d -m0755 $(IDIR_ARPTABLES)/usr/sbin
+ install -m0755 $(PKG_BUILD_DIR)/arptables $(IDIR_ARPTABLES)/usr/sbin/
+ $(RSTRIP) $(IDIR_ARPTABLES)
$(IPKG_BUILD) $(IDIR_ARPTABLES) $(PACKAGE_DIR)
$(IPKG_BUILD) $(IDIR_ARPTABLES) $(PACKAGE_DIR)
This page took
0.028001 seconds
and
4
git commands to generate.