make $(TARGET_DIR)/sbin at install time. make TARGET_DIR=arptables-pkg arptables...
authorsolar <solar@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 30 May 2004 16:23:00 +0000 (16:23 +0000)
committersolar <solar@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 30 May 2004 16:23:00 +0000 (16:23 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43 3c298f89-4303-0410-b956-a3cf2f4a3e73

obsolete-buildroot/make/arptables.mk

index bd4c6af..4b9508f 100644 (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)
                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)
 
        cp $(ARPTABLES_BUILD_DIR)/$(ARPTABLES_NAME) $(TARGET_DIR)/sbin/$(ARPTABLES_NAME)
        $(STRIP) $(TARGET_DIR)/sbin/$(ARPTABLES_NAME)
 
This page took 0.028443 seconds and 4 git commands to generate.