1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-01 11:04:10 +03:00

fix make target/linux/package/*-clean

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3271 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2006-02-24 20:59:09 +00:00
parent 446614115a
commit 7446209d62
2 changed files with 7 additions and 3 deletions

View File

@ -16,6 +16,9 @@ clean: linux-clean utils-clean lzma-clean image_clean
image_clean:
rm -f $(BIN_DIR)/openwrt-*
linux/package/%:
$(MAKE) -C $(TOPDIR)/target/linux $(patsubst linux/%,%,$@)
%-clean:
@$(TRACE) target/$(patsubst %-clean,%,$@)-clean
$(MAKE) -C $(patsubst %-clean,%,$@) clean
@ -35,5 +38,4 @@ linux-imagebuilder:
@$(TRACE) target/linux/imagebuilder
$(MAKE) -C linux imagebuilder
linux/package/%:
$(MAKE) -C $(TOPDIR)/target/linux $(patsubst linux/%,%,$@)

View File

@ -55,7 +55,9 @@ KPKG_MAKEOPTS += BUILD_DIR="$(LINUX_BUILD_DIR)"
%-clean:
@$(START_TRACE) "target/linux/package/$(patsubst %-clean,%,$@)-clean: "
@$(MAKE) -C $(patsubst %-clean,%,$@) clean
@$(MAKE) -C $(patsubst %-clean,%,$@) \
$(KPKG_MAKEOPTS) \
clean
@$(CMD_TRACE) " done"
@$(END_TRACE)