build.sh: do not rm-work linux, u-boot and dey images

These are key packages that we may need to debug in the buildserver, so
do not remove the object files.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2014-09-08 11:29:54 +02:00
parent e3b71e90dd
commit 5a450ae240
1 changed files with 9 additions and 1 deletions

View File

@ -44,6 +44,12 @@ PREFERRED_VERSION_linux-dey = \"2.6.35.14\"
PREFERRED_VERSION_u-boot-dey = \"2009.08\"
"
RM_WORK_CFG="
INHERIT += \"rm_work\"
# Exclude rm_work for some key packages (for debugging purposes)
RM_WORK_EXCLUDE += \"dey-image-graphical dey-image-minimal linux-dey u-boot-dey\"
"
REPO="$(which repo)"
error() {
@ -198,7 +204,9 @@ for platform in ${DY_PLATFORMS}; do
if [ -n "${kernel_ver}" ]; then
printf "${KERNEL_2X_CFG}" >> conf/local.conf
fi
[ "${DY_RM_WORK}" = "true" ] && printf "\nINHERIT += \"rm_work\"\n" >> conf/local.conf
if [ "${DY_RM_WORK}" = "true" ]; then
printf "${RM_WORK_CFG}" >> conf/local.conf
fi
for target in ${DY_TARGET}; do
printf "\n[INFO] Building the $target target.\n"
time bitbake ${target}