fix make target/linux/package/*-clean
SVN-Revision: 3271
This commit is contained in:
parent
da3879b76c
commit
1c9302c9a9
2 changed files with 7 additions and 3 deletions
|
@ -16,6 +16,9 @@ clean: linux-clean utils-clean lzma-clean image_clean
|
||||||
image_clean:
|
image_clean:
|
||||||
rm -f $(BIN_DIR)/openwrt-*
|
rm -f $(BIN_DIR)/openwrt-*
|
||||||
|
|
||||||
|
linux/package/%:
|
||||||
|
$(MAKE) -C $(TOPDIR)/target/linux $(patsubst linux/%,%,$@)
|
||||||
|
|
||||||
%-clean:
|
%-clean:
|
||||||
@$(TRACE) target/$(patsubst %-clean,%,$@)-clean
|
@$(TRACE) target/$(patsubst %-clean,%,$@)-clean
|
||||||
$(MAKE) -C $(patsubst %-clean,%,$@) clean
|
$(MAKE) -C $(patsubst %-clean,%,$@) clean
|
||||||
|
@ -35,5 +38,4 @@ linux-imagebuilder:
|
||||||
@$(TRACE) target/linux/imagebuilder
|
@$(TRACE) target/linux/imagebuilder
|
||||||
$(MAKE) -C linux imagebuilder
|
$(MAKE) -C linux imagebuilder
|
||||||
|
|
||||||
linux/package/%:
|
|
||||||
$(MAKE) -C $(TOPDIR)/target/linux $(patsubst linux/%,%,$@)
|
|
||||||
|
|
|
@ -55,7 +55,9 @@ KPKG_MAKEOPTS += BUILD_DIR="$(LINUX_BUILD_DIR)"
|
||||||
|
|
||||||
%-clean:
|
%-clean:
|
||||||
@$(START_TRACE) "target/linux/package/$(patsubst %-clean,%,$@)-clean: "
|
@$(START_TRACE) "target/linux/package/$(patsubst %-clean,%,$@)-clean: "
|
||||||
@$(MAKE) -C $(patsubst %-clean,%,$@) clean
|
@$(MAKE) -C $(patsubst %-clean,%,$@) \
|
||||||
|
$(KPKG_MAKEOPTS) \
|
||||||
|
clean
|
||||||
@$(CMD_TRACE) " done"
|
@$(CMD_TRACE) " done"
|
||||||
@$(END_TRACE)
|
@$(END_TRACE)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue