diff options
Diffstat (limited to 'core/main.mk')
-rw-r--r-- | core/main.mk | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/core/main.mk b/core/main.mk index b82cd6a48..bcc94bd77 100644 --- a/core/main.mk +++ b/core/main.mk @@ -58,6 +58,8 @@ PWD := $(shell pwd) TOP := . TOPDIR := +TOOLCHAIN_DIR := $(TOPDIR)toolchain + BUILD_SYSTEM := $(TOPDIR)build/core # This is the default target. It must be the first declared target. @@ -828,6 +830,9 @@ vendorimage: $(INSTALLED_VENDORIMAGE_TARGET) .PHONY: bootimage bootimage: $(INSTALLED_BOOTIMAGE_TARGET) +.PHONY: bootloaderimage +bootloaderimage: $(INSTALLED_BOOTLOADERIMAGE_TARGET) + # phony target that include any targets in $(ALL_MODULES) .PHONY: all_modules ifndef BUILD_MODULES_IN_PATHS @@ -1002,8 +1007,17 @@ clean: @rm -rf $(OUT_DIR)/* @echo -e ${CL_GRN}"Entire build directory removed."${CL_RST} +.PHONY: tcclean +tcclean: + @rm -rf $(TOOLCHAIN_DIR)/clang + @rm -rf $(TOOLCHAIN_DIR)/gcc + @rm -rf $(TOOLCHAIN_DIR)/headers + @rm -rf $(TOOLCHAIN_DIR)/jack_jill + @echo -e ${CL_GRN}"All toolchain build directories removed."${CL_RST} + + .PHONY: clobber -clobber: clean +clobber: clean tcclean # The rules for dataclean and installclean are defined in cleanbuild.mk. |