diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-04-18 17:35:46 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2007-04-18 17:35:46 +0000 |
commit | 7a1a2ed509f01fd1310d233be8ed4c4c93d49d83 (patch) | |
tree | f62e1d27ecf30113b42e9664e88b35705e248222 /rules.mk | |
parent | 23a2f742c069076850dca0cc1b966a073a9f4b83 (diff) |
the default_subtargets template was a bad idea, since different makefiles require different types of dependencies for subtargets. nuke it...
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7003 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'rules.mk')
-rw-r--r-- | rules.mk | 21 |
1 files changed, 0 insertions, 21 deletions
@@ -131,27 +131,6 @@ $(call shvar,$(1))=$$(call $(1)) export $(call shvar,$(1)) endef -# Default targets for subdirectory calls -# Parameters: -# 1: dependencies for the prepare step -define default_subtargets - %-download: FORCE - $$(MAKE) -C $$(patsubst %-download,%,$$@) download - - %-prepare: $(1) FORCE - $$(MAKE) -C $$(patsubst %-prepare,%,$$@) prepare - - %-compile: %-prepare - $$(MAKE) -C $$(patsubst %-compile,%,$$@) compile - - %-install: - $$(MAKE) -C $$(patsubst %-install,%,$$@) install - - %-clean: FORCE - @$$(MAKE) -C $$(patsubst %-clean,%,$$@) clean -endef - - all: FORCE: ; .PHONY: FORCE |