diff options
Diffstat (limited to 'mk/build.mk')
-rw-r--r-- | mk/build.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/build.mk b/mk/build.mk index 0b4b9feee..69ff9e3d8 100644 --- a/mk/build.mk +++ b/mk/build.mk @@ -176,7 +176,7 @@ ifeq ($(ADK_TARGET_OS_BAREMETAL),y) $(MAKE) -f mk/build.mk package/hostcompile toolchain/final endif ifeq ($(ADK_TARGET_OS_LINUX),y) - $(MAKE) -f mk/build.mk package/hostcompile toolchain/final target/config-prepare target/compile package/compile root_clean package/install target/install package_index + $(MAKE) -f mk/build.mk package/hostcompile toolchain/final target/config-prepare target/compile package_clean package/compile root_clean package/install target/install package_index endif endif @@ -252,6 +252,10 @@ newpackage: $(SED) 's#@VER@#$(VER)#' $(ADK_TOPDIR)/package/$(PKG)/Makefile @echo "Edit package/$(PKG)/Makefile to complete" +package_clean: + rm -rf $(PACKAGE_DIR) + mkdir -p $(PACKAGE_DIR) + root_clean: rm -rf $(TARGET_DIR) mkdir -p $(TARGET_DIR) |