From c9b82ed4774b43b8c31aff63559f0efd21940c0a Mon Sep 17 00:00:00 2001 From: Javier Viguera Date: Thu, 25 Sep 2014 16:23:40 +0200 Subject: [PATCH] build.sh: adapt script after 'dey-gui' distro removal https://jira.digi.com/browse/DEL-858 Signed-off-by: Javier Viguera --- sdk/build.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sdk/build.sh b/sdk/build.sh index 4289ab353..d8554fae6 100755 --- a/sdk/build.sh +++ b/sdk/build.sh @@ -50,6 +50,10 @@ INHERIT += \"rm_work\" RM_WORK_EXCLUDE += \"dey-image-graphical dey-image-minimal linux-dey u-boot-dey\" " +X11_REMOVAL_CFG=" +DISTRO_FEATURES_remove = \"x11\" +" + REPO="$(which repo)" error() { @@ -207,6 +211,10 @@ for platform in ${DY_PLATFORMS}; do if [ "${DY_RM_WORK}" = "true" ]; then printf "${RM_WORK_CFG}" >> conf/local.conf fi + # Remove 'x11' distro feature if building minimal images + if echo "${DY_TARGET}" | grep -qs "dey-image-minimal"; then + printf "${X11_REMOVAL_CFG}" >> conf/local.conf + fi for target in ${DY_TARGET}; do printf "\n[INFO] Building the $target target.\n" time bitbake ${target}