Message ID | 20200227200815.26613-3-unixmania@gmail.com |
---|---|
State | Rejected |
Headers | show
Return-Path: <buildroot-bounces@busybox.net> X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=140.211.166.138; helo=whitealder.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=HshgzeKW; dkim-atps=neutral Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48T3dk4ST0z9sPK for <incoming-buildroot@patchwork.ozlabs.org>; Fri, 28 Feb 2020 07:08:42 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 71AD7866AB; Thu, 27 Feb 2020 20:08:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Lo+kVEj3AYD6; Thu, 27 Feb 2020 20:08:35 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 0286C879FD; Thu, 27 Feb 2020 20:08:35 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id 1FF9B1BF3AF for <buildroot@lists.busybox.net>; Thu, 27 Feb 2020 20:08:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 1AFB8230A1 for <buildroot@lists.busybox.net>; Thu, 27 Feb 2020 20:08:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UtzrrTj4XfkU for <buildroot@lists.busybox.net>; Thu, 27 Feb 2020 20:08:30 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qt1-f194.google.com (mail-qt1-f194.google.com [209.85.160.194]) by silver.osuosl.org (Postfix) with ESMTPS id 4713E230FB for <buildroot@buildroot.org>; Thu, 27 Feb 2020 20:08:30 +0000 (UTC) Received: by mail-qt1-f194.google.com with SMTP id p34so265793qtb.6 for <buildroot@buildroot.org>; Thu, 27 Feb 2020 12:08:30 -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; bh=n+aCV9hq6QSB3A/kSiY7sVUMhDv8mfwDru3mMWXGEnc=; b=HshgzeKW/b9ST2jhbpWjZTTYaZ2JvAFb1DYCH+9BKHrTjSoQgW67PjvGNaaUzDeoES WiD3qCiRz2uuMu+zAL5vmNHPHIF/VT/5kEE0Yq7Y5QehBOGUndWfZg6obQ/7uQ1dM8BS MZi5aIn/Zk3nMYTjpqq6Eob8En/WJ3iRoBvkn+1CTJhv8H0WGEyajcyncQae+eY7mKDM 8RiSCKn/KnmfieTQ3HEAkF0LOEG2G1i5suDOQB4nqdQSbl0IEdC2jLuAVlZt2WQPN/UV 2fj54WssoQDRRLROlC4FVM1uhRuMhUZVaWpQNyElWTiDbERoVOCjpxaoJ7Jc0JAKOJxz x0dg== 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; bh=n+aCV9hq6QSB3A/kSiY7sVUMhDv8mfwDru3mMWXGEnc=; b=MBiyGsyZjHIxkxRk8uPnlRRXCBnShz404w97Qrj6ti9+20yKbjaW5d6Djbcs6VHPZd L/shfT7cz5MTjwvmQ5n33mvKOAbQBx2+Kn+cCVbF9LQLX+t9TENkU1Ucy4GaG2C1f8D7 gNw4pK0lbOWZP6eqipwTEgQbUEXxBU9MJyGRODwhW/3sNoEnK6XqPNhWU958hJPOm6bw ZA/qH3ALPDU0ZehxcfaklBu8gdxrwzKM/H6KIp1BpejDMO+/Xc4itUXpTFakwTOffGHO cKrl0g9i02Qam2bOwdueQI/PHTyvTsnNDH2UOB/UPxf5U2EglSvJLVfKZB+yGejQoJZb RuEg== X-Gm-Message-State: APjAAAWvmJ073QD3tKzKHCWlue+S+Le+pQ4cjDu1/cnEcAuRNiMU8e16 m7SAXa6eSqjXrlKVDrAYBib6LqjFByk= X-Google-Smtp-Source: APXvYqykDGW70lUQUSc9ZAz6LDZN3GbNSDdxI4yKO0YNIphz4lUKGbLvtvvHCtvNevdN80ODAkqGPA== X-Received: by 2002:ac8:7cb0:: with SMTP id z16mr1045098qtv.276.1582834108991; Thu, 27 Feb 2020 12:08:28 -0800 (PST) Received: from casantos.com (179.178.22.126.dynamic.adsl.gvt.net.br. [179.178.22.126]) by smtp.gmail.com with ESMTPSA id z4sm594599qtm.69.2020.02.27.12.08.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Feb 2020 12:08:28 -0800 (PST) From: unixmania@gmail.com To: buildroot@buildroot.org Date: Thu, 27 Feb 2020 17:08:13 -0300 Message-Id: <20200227200815.26613-3-unixmania@gmail.com> X-Mailer: git-send-email 2.18.2 In-Reply-To: <20200227200815.26613-1-unixmania@gmail.com> References: <20200227200815.26613-1-unixmania@gmail.com> Subject: [Buildroot] [PATCH v2 2/4] package/pkg-utils.mk: add KCONFIG_GET_OPT macro X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot <buildroot.busybox.net> List-Unsubscribe: <http://lists.busybox.net/mailman/options/buildroot>, <mailto:buildroot-request@busybox.net?subject=unsubscribe> List-Archive: <http://lists.busybox.net/pipermail/buildroot/> List-Post: <mailto:buildroot@busybox.net> List-Help: <mailto:buildroot-request@busybox.net?subject=help> List-Subscribe: <http://lists.busybox.net/mailman/listinfo/buildroot>, <mailto:buildroot-request@busybox.net?subject=subscribe> Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr>, Bernd Kuhls <bernd.kuhls@t-online.de>, Carlos Santos <unixmania@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" <buildroot-bounces@busybox.net> |
Series |
adapt openrc "modules" script to busybox modprobe
|
expand
|
diff --git a/package/pkg-utils.mk b/package/pkg-utils.mk index d324934dba..6f9693e81a 100644 --- a/package/pkg-utils.mk +++ b/package/pkg-utils.mk @@ -16,6 +16,10 @@ define KCONFIG_ENABLE_OPT # (option, file) echo '$(1)=y' >> $(2) endef +define KCONFIG_GET_OPT # (option, files) +$(shell $(SED_QUIET) '/^\<$(1)\>=/h;$${x;s/$(1)=//p;}' $(2) 2> /dev/null) +endef + define KCONFIG_SET_OPT # (option, value, file) $(SED) "/\\<$(1)\\>/d" $(3) echo '$(1)=$(2)' >> $(3)