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)