浏览代码

Flush configuration cache, needed if config has changed

Ulf Samuelsson 16 年之前
父节点
当前提交
13a85e3c04
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Makefile

+ 4 - 0
Makefile

@@ -476,6 +476,9 @@ clean:
 distclean: clean
 	rm -rf sources/*
 
+flush:
+	rm -f $(PROJECT_BUILD_DIR)/tgt-config.cache
+
 endif # ifeq ($(BR2_HAVE_DOT_CONFIG),y)
 
 %_defconfig: $(CONFIG)/conf
@@ -519,6 +522,7 @@ help:
 	@echo '  source                 - download all sources needed for offline-build'
 	@echo '  source-check           - check all packages for valid download URLs'
 	@echo '  external-deps          - list external packages used'
+	@echo '  flush                  - flush configuration cache'
 	@echo
 	@echo 'See docs/README and docs/buildroot.html for further details'
 	@echo