X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/f9539c4196a03530d21f4e0d697f4c432f8c6284..cb54fd22008be01da4ff992076201f2c491474df:/openwrt/package/arptables/Makefile diff --git a/openwrt/package/arptables/Makefile b/openwrt/package/arptables/Makefile index ceb745040..f024e7db1 100644 --- a/openwrt/package/arptables/Makefile +++ b/openwrt/package/arptables/Makefile @@ -21,10 +21,12 @@ $(PKG_BUILD_DIR)/.configured: $(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): - 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)