mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-03 15:51:08 +00:00
build system: Explicitly disallow 'clean' along with non-cleaning targets
Too hard to stage the dependencies so that all clean steps complete before any build steps begin. Also, using and then deleting and then regenerating SDKCONFIG_MAKEFILE in one pass is really hard to manage successfully.
This commit is contained in:
committed by
Angus Gratton
parent
97efaab27b
commit
867b20837f
@@ -116,9 +116,10 @@ build_example () {
|
||||
# build non-verbose first
|
||||
local BUILDLOG=${PWD}/examplebuild.${ID}.log
|
||||
(
|
||||
make MAKEFLAGS= clean defconfig &> >(tee -a "${BUILDLOG}") &&
|
||||
make all &> >(tee -a "${BUILDLOG}")
|
||||
) || {
|
||||
make MAKEFLAGS= clean &&
|
||||
make MAKEFLAGS= defconfig &&
|
||||
make all
|
||||
) &> >(tee -a "${BUILDLOG}") || {
|
||||
RESULT=$?; FAILED_EXAMPLES+=" ${EXAMPLE_NAME}"
|
||||
make MAKEFLAGS= V=1 clean defconfig && make V=1 # verbose output for errors
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user