From patchwork Mon Feb 25 23:17:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 159185 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp2579611jad; Mon, 25 Feb 2019 15:17:59 -0800 (PST) X-Google-Smtp-Source: AHgI3IYF1lG3DjjvF1q6RLxSrBCGhU/JeqkPs2UaXBeyJ5GAqFR+NvWP4OOV6L00quqYOLvD+9ID X-Received: by 2002:a17:902:c81:: with SMTP id 1mr789521plt.155.1551136679821; Mon, 25 Feb 2019 15:17:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551136679; cv=none; d=google.com; s=arc-20160816; b=iI7jyEPueKsigMsj0UCIaeTQ+xK7ZL669aXotavF49GuINivZH/PWe8Y1o4YKB+a4R M4kX+KcncJiJGYbRTLfXsNKEXLOr5VboV17VD58itFkJHGvke/zhjKUTGy1vu/0NVK69 uPUsZJrFF2DQxqeG/ggrmTZZhwJbPQyUF6UK18GTYVStD+g8rdsjqY+jIVWpf790BH1p DLFtAHVq7EdBlcKO9qTI95wys9GZFLbnfPrgICb4dJUDhucObLyGqMyafzbWq8E/X1pu VQnvRGxDGbMa0vJy7JwTTd6GhdUyTlzV/TWTqijYV+OwIiBubsliSeSqTHL2h/u29Rqq 5pIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=jK2zS6TzSN6Y0h7fuTGnvHToZVMBa35wR46uK6V+0cE=; b=ah+A3zJdiB0LpvWaBACh6Ol9LH+065BtLY6qAjKR5ZNPDuq3OJF9yPCLELbFqG/Dua GxqnfsGiM/xBcpJ/U+c0h6KgZKm3s9Vwm+3Ky6sIGVixkKopM299CVYlGg0lRk6e6l4c g1cNPaksObNsYRc6tSN4Xp4JiRQH+arZjrpolD81gfzh/WJ8yty5hl4MGmItPlVy3Cay fT1fEKk5jWxU9l8h9ynOcn7w7HLME6cTcLSEauxD/SRr+jDn07QAj2wPYqS5PIWZw95U xjVx5oe8f2s0HhaFqD+X7/2051IAwIaUGE+yhDTnlq6idSUbiiLK5HtuqXKZi5a6MnvI y11A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=UIDY+Frq; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 72si10486726pgd.113.2019.02.25.15.17.59; Mon, 25 Feb 2019 15:17:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=UIDY+Frq; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id CDA2E7CC99; Mon, 25 Feb 2019 23:17:56 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) by mail.openembedded.org (Postfix) with ESMTP id DE956606D0 for ; Mon, 25 Feb 2019 23:17:55 +0000 (UTC) Received: by mail-pl1-f195.google.com with SMTP id y10so5239145plp.0 for ; Mon, 25 Feb 2019 15:17:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1Ex2SPINhIwxnmCPEJKX0ru9FWQq6LsJgAf6rfoV1xY=; b=UIDY+FrqooqAGpMd2EjKVTQYIPZKNASIs4+RBiRYlww7jWxWAt+jJS4Ki/MedHGwOW F8nK2L8WIl6HvpWxsBEIBRtT0m3HJijPH/Uc/rFLCPP2rGXy1Oh/UPwlVsk413xezvcf bRxKinNo3LqwsXsLnW2uLrIp54RfjthdquauRxaswUzoUBP04ubKSWriqVDjnFQXi7Pu TrZm6HzDi1jkjPhhy1Oed4IgK120PM5bF2l6L0MxPYCY4mq2GnFgx4hxm93/F9O+5Ftv UPOOJASb3FeBr7THFHpUZJjGxuJqgJ1Ru79cbYGg0OYVQVTcjryDIbXgRq5AnLs8LOJ6 4j6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1Ex2SPINhIwxnmCPEJKX0ru9FWQq6LsJgAf6rfoV1xY=; b=XjSFlMtbYQNdBX8rY+w9i1LAuBCdj/FpG8AyPayVtKXq+SsJAlGcjiwtNrJhiUuYhT AUR/hQA9/FLi5i1IjgffdA7bi36RKtgg5XBmr4RU/9hGBkbzbWGRxlsNRCTozhgIfKBj 7QbSqCoaKj2xc1r6IK6skXCZAzO6EL3k5PoYetmhwbiha5QXij0ed2WZlHSqZcnv9gyJ XPSCqfqvi5psqwZGJwSBqAQPIDtaQp6FSMyXZ4+YinWAkrGZOc74nLraQFCKpj1z3Ok1 LE+t3sqDYrOk99cktv7pMkriUT+91Ok0glg3YzZ+dlsL3AtTDZi3QjknGaG2xFpx8epv e+NA== X-Gm-Message-State: AHQUAuby2ozrdkzD3fxmaMlVcJJAjDDZ7cywZUGdeVegiDoiA/By05Su 7H/T9TXplD1vMbpOmTV+6VFJgKcv X-Received: by 2002:a17:902:9304:: with SMTP id bc4mr23308205plb.81.1551136676202; Mon, 25 Feb 2019 15:17:56 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::1cf2]) by smtp.gmail.com with ESMTPSA id 23sm14148599pfn.2.2019.02.25.15.17.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Feb 2019 15:17:55 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 25 Feb 2019 15:17:41 -0800 Message-Id: <20190225231742.13855-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH V2 1/2] default-distrovars: Drop DISTRO_FEATURES_LIBC X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org After eglibc was merged into glibc, Kconfig support was also dropped so these libc features therefore are not effective anymore and can be removed Signed-off-by: Khem Raj --- v2: - Add ipv4 and ipv6 to default distro features, they are not libc specific anyway - Remove DISTRO_FEATURES_DEFAULT as this is redundant now meta/conf/distro/include/default-distrovars.inc | 11 +---------- meta/conf/local.conf.sample.extended | 16 ++-------------- 2 files changed, 3 insertions(+), 24 deletions(-) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc index 76edff6480..d57329ec17 100644 --- a/meta/conf/distro/include/default-distrovars.inc +++ b/meta/conf/distro/include/default-distrovars.inc @@ -10,16 +10,7 @@ LOCALE_UTF8_ONLY ?= "0" LOCALE_UTF8_IS_DEFAULT ?= "1" LOCALE_UTF8_IS_DEFAULT_class-nativesdk = "0" -DISTRO_FEATURES_DEFAULT ?= "acl alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11" -DISTRO_FEATURES_LIBC_DEFAULT ?= "ipv4 ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \ - libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \ - libc-getlogin libc-idn libc-inet-anl libc-libm libc-locales libc-locale-code \ - libc-memusage libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams \ - libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc \ - libc-posix-wchar-io" -DISTRO_FEATURES_LIBC ?= "${DISTRO_FEATURES_LIBC_DEFAULT}" -DISTRO_FEATURES_LIBC_class-nativesdk = "${DISTRO_FEATURES_LIBC_DEFAULT}" -DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC}" +DISTRO_FEATURES ?= "acl alsa argp bluetooth ext2 ipv4 ipv6 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11" IMAGE_FEATURES ?= "" diff --git a/meta/conf/local.conf.sample.extended b/meta/conf/local.conf.sample.extended index 010bf6ca6f..0743fefece 100644 --- a/meta/conf/local.conf.sample.extended +++ b/meta/conf/local.conf.sample.extended @@ -24,22 +24,10 @@ # For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would # be appropriate for example. - -# glibc configurability is used to reduce minimal image's size. -# the all supported glibc options are listed in DISTRO_FEATURES_LIBC -# and disabled by default. Uncomment and copy the DISTRO_FEATURES_LIBC -# and DISTRO_FEATURES definitions to local.conf to enable the options. -#DISTRO_FEATURES_LIBC = "ipv6 libc-backtrace libc-big-macros libc-bsd libc-cxx-tests libc-catgets libc-charsets libc-crypt \ -# libc-crypt-ufc libc-db-aliases libc-envz libc-fcvt libc-fmtmsg libc-fstab libc-ftraverse \ -# libc-getlogin libc-idn libc-inet libc-inet-anl libc-libm libc-locales libc-locale-code \ -# libc-memusage libc-nsswitch libc-rcmd libc-rtld-debug libc-spawn libc-streams \ -# libc-utmp libc-utmpx libc-wordexp libc-posix-clang-wchar libc-posix-regexp libc-posix-regexp-glibc \ -# libc-posix-wchar-io" - -#DISTRO_FEATURES = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi nfs zeroconf pci ${DISTRO_FEATURES_LIBC}" +#DISTRO_FEATURES = "alsa bluetooth ext2 irda ipv4 ipv6 pcmcia usbgadget usbhost wifi nfs zeroconf pci" # If you want to get an image based on directfb without x11, Please copy this variable to build/conf/local.conf -#DISTRO_FEATURES = "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g directfb ${DISTRO_FEATURES_LIBC}" +#DISTRO_FEATURES = "alsa argp bluetooth ext2 irda ipv4 ipv6 largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g directfb" # ENABLE_BINARY_LOCALE_GENERATION controls the generation of binary locale # packages at build time using qemu-native. Disabling it (by setting it to 0) From patchwork Mon Feb 25 23:17:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 159186 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp2579721jad; Mon, 25 Feb 2019 15:18:08 -0800 (PST) X-Google-Smtp-Source: AHgI3IaiLNoBasqr/XMqfF35KTj32Mp1s93Gq51maX6V7FmfqIVXwDeplbx3gvA0bRJYjAaGLF9u X-Received: by 2002:a17:902:2aaa:: with SMTP id j39mr23381552plb.335.1551136688305; Mon, 25 Feb 2019 15:18:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551136688; cv=none; d=google.com; s=arc-20160816; b=TefSvAKOmQBzFPwUD20OXN/KHpcgZTYDQHjQExD0ZKFfMP5+V3MzF1Q8oRP8i+b2VV X0PkPfbPbd3fqH4M6AK7wEQ7EkX/HZFBfkFGL+HNqMOws+G+C9ioOHCP/snDXOYCwYZO 1Hibv8uZLBUcWcysuLw9hC+9FbyJ73locI24ScYDVxa+H0S0HjRyGy7sTzuHlFnRMZad ZCu/iUqUi4w3Kc5wdaFYdPZWBat1rTAwDz6sA3SRJ7fN8OQF2PMPDyfHYALgCDh97G+I ZqzYLYBPF4nA/yD0m79dT5ecKv7jkThMikQeNzniFRUcvhfc85zdsQrnNSWYjk0FCmIC 1Spw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=Bh0vZLveapUy+PJxJoLgE6x7XuWYo0lPnfxOe9rKZcU=; b=HEKiiu9doZs7XN3JdDxF8yes8Hkg94VU6GODg2YpHzSREzQeKoqKWwf3e+ODQHAi0o nTKYhwYrElJk7yPtMN0emGENJjfWeHitDVsaDlG0eqQFz27zfxMFn/0kzFJlToALNYVr gxN+KXtPzkqTsmFah1x3+JCH/KSgUW7IHUaR9Rtfbprsnz/aeVM5Kh5tyAB9H/+qQtzn ZZKjLcIxq+CxKvjhWLWU6mYmUV2AR1XZoQSxjMMb9sthrjt9X2oIOfs6IT2KHQ0F0fxg ecLY2LJHw9wD5cEvr7kuaRqc8hFqGhPwmkryg4wVtqHf7VtE3qjX0l6X1Swwsq3H3UYx VGGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=a0p7+MWo; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id cn7si11852085plb.194.2019.02.25.15.18.08; Mon, 25 Feb 2019 15:18:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=a0p7+MWo; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 175AB7CC9A; Mon, 25 Feb 2019 23:18:05 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by mail.openembedded.org (Postfix) with ESMTP id 4C504606D0 for ; Mon, 25 Feb 2019 23:17:56 +0000 (UTC) Received: by mail-pg1-f195.google.com with SMTP id u9so5205830pgo.7 for ; Mon, 25 Feb 2019 15:17:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6thNylEWeC0003nUc0TtRd1nMSfDtELr345ovdhe6JY=; b=a0p7+MWoH8kDdQ44t40Hv/Dn8ze0VHAi7yy7TNwsY0XIr977PoNlJ0C/7fNU6rtkh8 NTVwlihd/gdkJHlz8Okgh7nwubOtFi5UWMp+po0BGR1lvIyCx2kZQDd373/ywWbo7J+Z /bs+H6226ZFVl8oIEW2FwmFYNp/tYndEov/uQAg6Xz4NoV3uEMl9Uw/zkLlXzgFMgCy3 SBUpYl9CLE8mnK551vhGQCqiWwDlDYXXknprwHF5DhUljwyybjrHBuL7ImFEZ4FppR5Y IQvgG8AAi2lRmoyrSn5S3jZhksxMbigWSbQ/gBc6lejdYBA6NH/epJTdlW0VPQDqR0E+ 9mIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6thNylEWeC0003nUc0TtRd1nMSfDtELr345ovdhe6JY=; b=GAzk8J6KxQYHFSIMK3kNf9lyGD9ZGzrtsCLBGa7gIDz90WWu+0VGtD5iUS4TLJnsSj AkusgXQv/Rr5J08XPKVONy4z9TglxyyKJJKN79qJS6XxbYQ1Bwa3JEPMMLgrxKrxn/5n QIPoj/A8c9GZOfApBiBddlx6oj/sQwN5FsoD5M9Rja9rPFa0J0Cm9RAV1uFYs7WTFOSO nWczRNaJC3KBgXpjww910pA9oJEEYBtAIjcZStjTXFvxqnNmTGviqISjDjtbrXa9lsjh Pi+SvMMZYFdgPAfpg0HWy0sjU7h7qHG8cmuQ+hmNZJUc/ETSbcMXh7a9PaiXGxOvsj4C M9cg== X-Gm-Message-State: AHQUAub3QMNv8WwhavxBdA2bTW/j2R42GI3ravK0S9bLLAtNiZeEqCyn C3xRvUFsSlGpjPaxiEV4WSpC5xNd X-Received: by 2002:aa7:8d42:: with SMTP id s2mr4103853pfe.116.1551136676930; Mon, 25 Feb 2019 15:17:56 -0800 (PST) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:6bc6::1cf2]) by smtp.gmail.com with ESMTPSA id 23sm14148599pfn.2.2019.02.25.15.17.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Feb 2019 15:17:56 -0800 (PST) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Mon, 25 Feb 2019 15:17:42 -0800 Message-Id: <20190225231742.13855-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190225231742.13855-1-raj.khem@gmail.com> References: <20190225231742.13855-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 2/2] mesa-gl: Set PACKAGECONFIG for target X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org mesa.inc uses PACKAGECONFIG_class-target override to setup default packageconfigs, which means that when we build mesa-gl for target then it does no honor the ??= setting we have in mesa-gl recipe, and ends up compiling egl, gles2 as well, which is not intended. Signed-off-by: Khem Raj --- meta/recipes-graphics/mesa/mesa-gl_18.3.4.bb | 1 + 1 file changed, 1 insertion(+) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core Signed-off-by: Khem Raj <raj.khem@gmail.com>
diff --git a/meta/recipes-graphics/mesa/mesa-gl_18.3.4.bb b/meta/recipes-graphics/mesa/mesa-gl_18.3.4.bb index 73267eb4f0..d4b1c1c454 100644 --- a/meta/recipes-graphics/mesa/mesa-gl_18.3.4.bb +++ b/meta/recipes-graphics/mesa/mesa-gl_18.3.4.bb @@ -7,3 +7,4 @@ PROVIDES = "virtual/libgl virtual/mesa" S = "${WORKDIR}/mesa-${PV}" PACKAGECONFIG ??= "opengl dri ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" +PACKAGECONFIG_class-target = "opengl dri ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"