From 93dbc52b0bd6a4af1ab5f5c777a34e29696884ba Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Mon, 26 Feb 2007 00:41:53 +0000
Subject: use default_subtargets in package/Makefile and target/Makefile

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6380 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 target/Makefile | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

(limited to 'target/Makefile')

diff --git a/target/Makefile b/target/Makefile
index 724ac4450d..1b6cbb54ee 100644
--- a/target/Makefile
+++ b/target/Makefile
@@ -51,14 +51,4 @@ image_install: image_compile
 imagebuilder_install: image_install
 	$(MAKE) -C imagebuilder install
 
-%-clean: FORCE
-	$(MAKE) -C $(patsubst %-clean,%,$@) clean
-%-download: FORCE
-	$(MAKE) -C $(patsubst %-download,%,$@) download
-%-prepare: FORCE
-	$(MAKE) -C $(patsubst %-prepare,%,$@) prepare
-%-compile: %-prepare
-	$(MAKE) -C $(patsubst %-compile,%,$@) compile
-%-install: %-compile
-	$(MAKE) -C $(patsubst %-install,%,$@) install
-
+$(eval $(call default_subtargets,))
-- 
cgit v1.2.3