mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-29 14:08:25 +02:00
backport from whiterussian [1371]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2301 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
f779fcc6a0
commit
9cfeeb611a
@ -21,10 +21,12 @@ $(PKG_BUILD_DIR)/.configured:
|
|||||||
$(PKG_BUILD_DIR)/.built:
|
$(PKG_BUILD_DIR)/.built:
|
||||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||||
CC=$(TARGET_CC) LD=$(TARGET_CROSS)ld \
|
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 $@
|
touch $@
|
||||||
|
|
||||||
$(IPKG_ARPTABLES):
|
$(IPKG_ARPTABLES):
|
||||||
mkdir -p $(IDIR_ARPTABLES)/usr/sbin
|
install -d -m0755 $(IDIR_ARPTABLES)/usr/sbin
|
||||||
cp $(PKG_BUILD_DIR)/arptables $(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)
|
||||||
|
Loading…
Reference in New Issue
Block a user