fix make clean for unconfigured build trees
SVN-Revision: 9655
This commit is contained in:
parent
b217ebd0e6
commit
edc74f8cc3
2 changed files with 2 additions and 2 deletions
2
Makefile
2
Makefile
|
@ -45,10 +45,10 @@ $(BUILD_DIR)/.prepared: Makefile
|
||||||
clean: FORCE
|
clean: FORCE
|
||||||
rm -rf $(BUILD_DIR) $(BIN_DIR)
|
rm -rf $(BUILD_DIR) $(BIN_DIR)
|
||||||
$(MAKE) target/linux/clean
|
$(MAKE) target/linux/clean
|
||||||
rm -rf $(TMP_DIR)
|
|
||||||
|
|
||||||
dirclean: clean
|
dirclean: clean
|
||||||
rm -rf $(STAGING_DIR) $(STAGING_DIR_HOST) $(STAGING_DIR_TOOLCHAIN) $(TOOLCHAIN_DIR) $(BUILD_DIR_HOST)
|
rm -rf $(STAGING_DIR) $(STAGING_DIR_HOST) $(STAGING_DIR_TOOLCHAIN) $(TOOLCHAIN_DIR) $(BUILD_DIR_HOST)
|
||||||
|
rm -rf $(TMP_DIR)
|
||||||
|
|
||||||
# check prerequisites before starting to build
|
# check prerequisites before starting to build
|
||||||
prereq: $(package/stamp-prereq) $(target/stamp-prereq) ;
|
prereq: $(package/stamp-prereq) $(target/stamp-prereq) ;
|
||||||
|
|
|
@ -98,7 +98,7 @@ download: .config FORCE
|
||||||
$(MAKE) -j1 package/download
|
$(MAKE) -j1 package/download
|
||||||
$(MAKE) -j1 target/download
|
$(MAKE) -j1 target/download
|
||||||
|
|
||||||
clean dirclean:
|
clean dirclean: .config
|
||||||
@$(MAKE) $@
|
@$(MAKE) $@
|
||||||
|
|
||||||
prereq:: .config
|
prereq:: .config
|
||||||
|
|
Loading…
Reference in a new issue