Message ID | 20230212231638.1134219-93-sjg@chromium.org |
---|---|
State | RFC |
Delegated to: | Tom Rini |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=actD6ZLN; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PFNzb2bJGz23r9 for <incoming@patchwork.ozlabs.org>; Mon, 13 Feb 2023 10:32:11 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 78859857E4; Mon, 13 Feb 2023 00:25:35 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="actD6ZLN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6A04C85877; Mon, 13 Feb 2023 00:18:47 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id ACFD68589A for <u-boot@lists.denx.de>; Mon, 13 Feb 2023 00:18:27 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-io1-xd2c.google.com with SMTP id w24so3937363iow.13 for <u-boot@lists.denx.de>; Sun, 12 Feb 2023 15:18:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tLhWRqSEPxLITrvWCEyig71hJgqR99KRfqVRT3vFudE=; b=actD6ZLN6Tf1RKqokSP5fomoU2v42nMh85aOeHrwsIV4W4G4EBzqNf8ujLWA6+Nkq7 FWgohXdySEey9fLwJE1lPzWnJ5kDpnXKQAzKVafGjFfOvoSKkhFlnXpJImEeQm5owFwC wfhaN8BFP88/8iFKVImo5RJu4rWF+8j+NqP/Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tLhWRqSEPxLITrvWCEyig71hJgqR99KRfqVRT3vFudE=; b=srainOxfmDjUxmPu9YWtvdqcuRoGFnprBE1lHXqhhGnzxQ7O/7xDHljsuKZlmKJYZT p0z9H6svs4/kHAqkcWg8z2ukDBY0XztMC9GqDKKCLDjOgq80SnMJiVbNMQg1vu+ZNRdY onIRt3KcYHHi8AnVoK2u4fKmSYVK6YcT/hcRYsdc2xYizFNjM0nMk/uMAws/ELxmmTRQ Vz4fraCEyQspYqz6mlwBSe1hOnjhOw7mPr8kY5BLiBqbLt+opByQfsFcXOFlWuJ7RIx9 4zBkSvVgZpLuCmEDW1gtGGQB4LWJSztaN1aPWEY3U6VwkgBmPjUFlaXtyQxmfUDoChj4 /ALQ== X-Gm-Message-State: AO0yUKWyLYXIUI8olN8+MD4zGyu78JFsgpzBGOLo+Yjw7aRLdn9xVjeg YBD4X8w5as3UL0CYE1hRBZvb9FzS3VfiPjNa X-Google-Smtp-Source: AK7set9z/2oZCwQqLVUWTX75VbxfOJg+MavHCBAMfhtHbYgkUQTZiS/tfgcbr0Qy/pT30jYdD8YQRw== X-Received: by 2002:a6b:8b83:0:b0:719:c5d5:7b58 with SMTP id n125-20020a6b8b83000000b00719c5d57b58mr19649377iod.21.1676243907200; Sun, 12 Feb 2023 15:18:27 -0800 (PST) Received: from sjg1.roam.corp.google.com (c-73-14-173-85.hsd1.co.comcast.net. [73.14.173.85]) by smtp.gmail.com with ESMTPSA id n16-20020a6b8b10000000b006dfbd35e995sm3627849iod.21.2023.02.12.15.18.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Feb 2023 15:18:27 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Tom Rini <trini@konsulko.com>, Simon Glass <sjg@chromium.org> Subject: [PATCH v3 92/95] fixdep: Drop support for CONFIG_IS_ENABLED and CONFIG_VAL Date: Sun, 12 Feb 2023 16:16:35 -0700 Message-Id: <20230212231638.1134219-93-sjg@chromium.org> X-Mailer: git-send-email 2.39.1.581.gbfd45094c4-goog In-Reply-To: <20230212231638.1134219-1-sjg@chromium.org> References: <20230212231638.1134219-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean |
Series |
RFC: Migrate to split config
|
expand
|
diff --git a/scripts/basic/fixdep.c b/scripts/basic/fixdep.c index 1cb76dc8b19..08556ef663f 100644 --- a/scripts/basic/fixdep.c +++ b/scripts/basic/fixdep.c @@ -257,25 +257,6 @@ static const char *parse_config_line(const char *p, const char **endp) r = q - 7; else r = q; - /* - * U-Boot also handles - * CONFIG_IS_ENABLED(...) - * CONFIG_VAL(...) - */ - if ((q - p == 10 && !memcmp(p, "IS_ENABLED(", 11)) || - (q - p == 3 && !memcmp(p, "VAL(", 4))) { - p = q + 1; - q = p; - while (isalnum(*q) || *q == '_') - q++; - r = q; - if (r > p && tmp_buf[0]) { - memcpy(tmp_buf + 4, p, r - p); - r = tmp_buf + 4 + (r - p); - p = tmp_buf; - } - } - /* end U-Boot hack */ *endp = r; if (r > p)
Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v1) scripts/basic/fixdep.c | 19 ------------------- 1 file changed, 19 deletions(-)