summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-14 22:05:19 +0000
committerUlf Samuelsson <ulf.samuelsson@atmel.com>2009-01-14 22:05:19 +0000
commit9224d668f59082c83fc9131a7af15957fb06a236 (patch)
treeaef692c02fd6f4e12fb88a18bec766f14f118af1
parent6e12b4f1c76d14b018c4ba9ebb928f30fe2074ca (diff)
Add mrouted-unpacked target
-rw-r--r--package/mrouted/mrouted.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/mrouted/mrouted.mk b/package/mrouted/mrouted.mk
index 929bd6c41..f2eabf710 100644
--- a/package/mrouted/mrouted.mk
+++ b/package/mrouted/mrouted.mk
@@ -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