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:
parent
e3b71e90dd
commit
5a450ae240
10
sdk/build.sh
10
sdk/build.sh
|
|
@ -44,6 +44,12 @@ PREFERRED_VERSION_linux-dey = \"2.6.35.14\"
|
||||||
PREFERRED_VERSION_u-boot-dey = \"2009.08\"
|
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)"
|
REPO="$(which repo)"
|
||||||
|
|
||||||
error() {
|
error() {
|
||||||
|
|
@ -198,7 +204,9 @@ for platform in ${DY_PLATFORMS}; do
|
||||||
if [ -n "${kernel_ver}" ]; then
|
if [ -n "${kernel_ver}" ]; then
|
||||||
printf "${KERNEL_2X_CFG}" >> conf/local.conf
|
printf "${KERNEL_2X_CFG}" >> conf/local.conf
|
||||||
fi
|
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
|
for target in ${DY_TARGET}; do
|
||||||
printf "\n[INFO] Building the $target target.\n"
|
printf "\n[INFO] Building the $target target.\n"
|
||||||
time bitbake ${target}
|
time bitbake ${target}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue