build.config.msm.common: Clean DTC output folder on "clean" build
Follow build.sh logic and clean dtc ouptut directory when SKIP_MRPROPER is not 1. Change-Id: I5eb13403aa8fb5fe6f73e3292e1cf6c6fa4ef592 Signed-off-by: Elliot Berman <eberman@codeaurora.org>
This commit is contained in:
parent
5157ca4138
commit
d74faeb634
@ -19,6 +19,7 @@ CONFIG_TARGET=msm.${MSM_ARCH}
|
||||
function compile_external_dtc() {
|
||||
(
|
||||
OUT_DIR=${COMMON_OUT_DIR}/external/dtc
|
||||
[ "${SKIP_MRPROPER}" != "1" ] && rm -rf ${OUT_DIR}
|
||||
cd ${ROOT_DIR}/external/dtc
|
||||
DTC_MAKE_ARGS=("CC=${HOSTCC}" "AR=${AR}")
|
||||
DTC_MAKE_ARGS+=("LDFLAGS=${HOSTLDFLAGS} -fuse-ld=${LD##*.} --rtlib=compiler-rt")
|
||||
|
Loading…
Reference in New Issue
Block a user