target: zephyr: Cause pristine to remove entire build directory (#1418)
For a normal zephyr application the pristine target simply runs "rm -rf outdir". However the JerryScript build overrides the output directory [O=$(OUTPUT)] so Zephyr's implementation pristine is not able to to a full aggressive clean up for all boards. For this reason it is better for the JerryScript build wrapper to have its own implementation of pristine. JerryScript-DCO-1.0-Signed-off-by: Daniel Thompson daniel.thompson@linaro.org
This commit is contained in:
committed by
Akos Kiss
parent
e65a69b7c0
commit
36edae3257
@@ -120,7 +120,7 @@ KCONFIG_TARGETS = \
|
|||||||
oldconfig silentoldconfig defconfig savedefconfig \
|
oldconfig silentoldconfig defconfig savedefconfig \
|
||||||
allnoconfig allyesconfig alldefconfig randconfig \
|
allnoconfig allyesconfig alldefconfig randconfig \
|
||||||
listnewconfig olddefconfig
|
listnewconfig olddefconfig
|
||||||
CLEAN_TARGETS = pristine mrproper
|
CLEAN_TARGETS = mrproper
|
||||||
|
|
||||||
$(GENERIC_TARGETS): jerry
|
$(GENERIC_TARGETS): jerry
|
||||||
$(CLEAN_TARGETS): clean
|
$(CLEAN_TARGETS): clean
|
||||||
@@ -166,3 +166,9 @@ ifdef V
|
|||||||
@echo "- CLEANING ZEPHYR ----------------------------------------------"
|
@echo "- CLEANING ZEPHYR ----------------------------------------------"
|
||||||
endif
|
endif
|
||||||
make -f $(TARGET_ZEPHYR)/Makefile $(BUILD_CONFIG) clean
|
make -f $(TARGET_ZEPHYR)/Makefile $(BUILD_CONFIG) clean
|
||||||
|
|
||||||
|
pristine: clean
|
||||||
|
ifdef V
|
||||||
|
@echo "- CLEANING BUILD DIRECTORY -------------------------------------"
|
||||||
|
endif
|
||||||
|
rm -rf build/
|
||||||
|
|||||||
Reference in New Issue
Block a user