Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 3782DE00B58; Wed, 19 Sep 2018 06:35:53 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.222.196 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail-qk1-f196.google.com (mail-qk1-f196.google.com [209.85.222.196]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A3B67E0095C for ; Wed, 19 Sep 2018 06:35:52 -0700 (PDT) Received: by mail-qk1-f196.google.com with SMTP id p84-v6so2758409qke.1 for ; Wed, 19 Sep 2018 06:35:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=mS10HmNoRvW1TuCxeKW8eF6ld8yocQCE160KPlCtxmI=; b=tlFlzvd8J9H0PEl3udDqgLYCWzAtWTAvp2rC1c5+rJcIoJdPWxZBYehAuDA9WXgLlf 6VhYGVouTZ3JJ1flGCT9pxyBc/ZU4jigmF9j6OTJHNakNF+Ps3zLmF+Ah1YxuhOTQNqh /cdqH/JfBDEw802EMbGTOCV2QxJModsiWg6QwESyDQMrL0Ux40dZr+B1Xiu9S373WZNE rBDqg5lvYab6W21X0xElY1sOPDbKcXkGHGHyqsNC+E22VhEmD97jfaxNF7U6n8ZZJXOh oARkMxeCGqj2jopKqMQDpESR2nr0AcPmCy/Yid5987/R2rWNsZlmr0l6yGgEWJzPOWZM N6hQ== X-Gm-Message-State: APzg51CwUXg7umOzn2bXI6SAbxmkwiZDXPLLxQi9m7Ra9qLc2GPklFuV rxGpUUmXoroJhkoa3NBC3g6F7Iih X-Google-Smtp-Source: ANB0VdZs9SmyqwezwUCXrDn2SsivSShJTOXtNkdBj5NTTFVvfL5T9urS2Dl9m3EAE+nVHj5DrixVtw== X-Received: by 2002:a37:270f:: with SMTP id n15-v6mr4300571qkn.33.1537364151715; Wed, 19 Sep 2018 06:35:51 -0700 (PDT) Received: from tfsielt31850.garage.tyco.com ([77.107.218.170]) by smtp.gmail.com with ESMTPSA id 11-v6sm2699422qkk.54.2018.09.19.06.35.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Sep 2018 06:35:50 -0700 (PDT) From: =?UTF-8?q?Andr=C3=A9=20Draszik?= To: meta-freescale@yoctoproject.org Date: Wed, 19 Sep 2018 14:35:49 +0100 Message-Id: <20180919133549.24679-1-git@andred.net> X-Mailer: git-send-email 2.19.0 MIME-Version: 1.0 Subject: [PATCH] libsdl2: avoid basehash changes X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Sep 2018 13:35:53 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When adding meta-freescale, the sstate basehash of libsdl2 changes because EXTRA_OECONF_IMX is appended to EXTRA_OECONF unconditionally, causing EXTRA_OECONF to now depend on EXTRA_OECONF_IMX, invalidating the sstate. This is particularly annoying for the native flavour of this recipe, because qemu-native depends on libsdl2-native, causing a massive rebuild of a lot of packages for no good reason, preventing efficient sstate re-use across different machines. Just drop EXTRA_OECONF_IMX and append to EXTRA_OECONF using variable overrides directly. Signed-off-by: André Draszik --- recipes-graphics/libsdl2/libsdl2_%.bbappend | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/recipes-graphics/libsdl2/libsdl2_%.bbappend b/recipes-graphics/libsdl2/libsdl2_%.bbappend index e41f19ca..5eecfea8 100644 --- a/recipes-graphics/libsdl2/libsdl2_%.bbappend +++ b/recipes-graphics/libsdl2/libsdl2_%.bbappend @@ -1,7 +1,3 @@ -EXTRA_OECONF_IMX = "" - # what vivante driver does libsdl2 mean? Anyway it fails with missing functions as # VIVANTE_Create VIVANTE_GLES_GetProcAddress VIVANTE_GLES_UnloadLibrary ... -EXTRA_OECONF_IMX_imxgpu2d = "--disable-video-vivante" - -EXTRA_OECONF_append = " ${EXTRA_OECONF_IMX}" +EXTRA_OECONF_append_imxgpu2d = " --disable-video-vivante" -- 2.19.0