Add mrouted-unpacked target
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Wed, 14 Jan 2009 22:05:19 +0000 (22:05 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Wed, 14 Jan 2009 22:05:19 +0000 (22:05 -0000)
package/mrouted/mrouted.mk

index 929bd6c41100ca433f5274d2b413243ceca2d988..f2eabf710bfdc4da47caccadc54f13fd3f02cfe1 100644 (file)
@@ -19,8 +19,6 @@ $(DL_DIR)/$(MROUTED_SOURCE):
 $(DL_DIR)/$(MROUTED_PATCH):
         $(WGET) -P $(DL_DIR) $(MROUTED_SITE)/$(MROUTED_PATCH)
 
-mrouted-source: $(DL_DIR)/$(MROUTED_SOURCE) $(DL_DIR)/$(MROUTED_PATCH)
-
 $(MROUTED_DIR)/.unpacked: $(DL_DIR)/$(MROUTED_SOURCE) $(DL_DIR)/$(MROUTED_PATCH)
        $(MROUTED_CAT) $(DL_DIR)/$(MROUTED_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
        $(MROUTED_CAT) $(DL_DIR)/$(MROUTED_PATCH) | patch -p1 -d $(MROUTED_DIR)
@@ -36,6 +34,10 @@ $(TARGET_DIR)/$(MROUTED_TARGET_BINARY): $(MROUTED_DIR)/$(MROUTED_BINARY)
 
 mrouted: uclibc $(TARGET_DIR)/$(MROUTED_TARGET_BINARY)
 
+mrouted-source: $(DL_DIR)/$(MROUTED_SOURCE) $(DL_DIR)/$(MROUTED_PATCH)
+
+mrouted-unpacked: $(MROUTED_DIR)/.unpacked
+
 mrouted-clean:
        rm -f $(TARGET_DIR)/$(MROUTED_TARGET_BINARY)
        -$(MAKE) -C $(MROUTED_DIR) clean