make $(TARGET_DIR)/sbin at install time. make TARGET_DIR=arptables-pkg arptables. ipkg etc..

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
OpenWrt Developers
2004-05-30 16:23:00 +00:00
parent e3331eccfc
commit 0ca7e18b70

View File

@@ -32,6 +32,7 @@ $(ARPTABLES_BUILD_DIR)/$(ARPTABLES_NAME): $(ARPTABLES_BUILD_DIR)/.configured
CC=$(TARGET_CC) COPT_FLAGS="$(TARGET_CFLAGS)"
$(TARGET_DIR)/sbin/$(ARPTABLES_NAME): $(ARPTABLES_BUILD_DIR)/$(ARPTABLES_NAME)
mkdir -p $(TARGET_DIR)/sbin/
cp $(ARPTABLES_BUILD_DIR)/$(ARPTABLES_NAME) $(TARGET_DIR)/sbin/$(ARPTABLES_NAME)
$(STRIP) $(TARGET_DIR)/sbin/$(ARPTABLES_NAME)