Message ID | 20250520052153.307194-22-ilias.apalodimas@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:e88a:0:b0:3a3:61c9:c5d4 with SMTP id d10csp1428819wrm; Mon, 19 May 2025 22:25:25 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXucNVgVjUj9a+uYegNFw0RAKc9MIZbTnUG1xpdVfTBIvgH/G5wEl+2UrQ75OXqEqziuEPckQ==@linaro.org X-Google-Smtp-Source: AGHT+IEo1aCJh2T9i+85NjCSUgzemy3veeNlC8f/1Wc/ZIeu4ulLezIzm1rDoszVGq2FBLjSna+k X-Received: by 2002:a05:600c:1994:b0:442:f44f:655 with SMTP id 5b1f17b1804b1-442ff03c60dmr114661145e9.32.1747718723213; Mon, 19 May 2025 22:25:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1747718723; cv=none; d=google.com; s=arc-20240605; b=P0bi/9lZlz1F5V1b+9ijK9VfTZgaAmmSYP52rblZ6rayqJRfFjbpX7+kgX+Tu28LXN lY21yxbUkbBPpvNoK6jwRHaKHDItiiVNUZdsPxi1/HuKkzVgYAl+lm6Zi1Y2IYxF4pJY pLj5JRGcFnna1iTRxiSBRsl05hc/kYF3vrz8EgCtmWAecamF8gyJC5Lu1Aas+riltfmU 3ihC0pWez93AruXIHHybVwKoG0yRYd4fcs5CJcivRYw8OgFdpmzVxMV9Ul+SNdGqAqr6 TdAVWRSLizok+r5mDWD4uhEopyJAv9Pn/fdV37HBbu+IirBU2iioO9GgE3+KO62vijUa IMAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=FlOVWnAUSlRC1SLA4QTAi4TtXpL5I212AUPdVxcHY8o=; fh=vKOC7hMbiDudiVxzz7o4RgqYeBQLHTHy/g/xKbkaCj8=; b=SvC7f9vWd7Ue8wf7WpyzEj56//HOA2SbdQI4jgfUw6Ah4uoA9hLhzuUKLj7RFNrv+G I4HnZXIRTNIuodja85+5oAQ+wJTfiud1Fw6VioOI9XmaI7AjSpEVliY/lAk78WdmgE9q AdpSkckQh4iU/QEWr0khqZjGAoI4zjA7VZOhDXdAyp5vXamWpBXvUHSCWanMGc8zpT1b sJNGOlvIbl+pzNLhpZOTyEaZcS3RggUsxvh488OnIhUJkNbF1Xn7LNNW3aty26LhD3rm w9cPDL2TffXwhQRJLZbQslVaQWhv58fJ7DVaG26vB8OCqz6xhxUuK0CV5KOMRyvtfYwC CkZA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OGPuAZvn; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id 5b1f17b1804b1-447f3bebd31si6881755e9.126.2025.05.19.22.25.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 May 2025 22:25:23 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OGPuAZvn; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1683582CF4; Tue, 20 May 2025 07:22:53 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="OGPuAZvn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B35E482D18; Tue, 20 May 2025 07:22:52 +0200 (CEST) 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,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) (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 CB85582BF2 for <u-boot@lists.denx.de>; Tue, 20 May 2025 07:22:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ilias.apalodimas@linaro.org Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-3a371097fe1so1306243f8f.1 for <u-boot@lists.denx.de>; Mon, 19 May 2025 22:22:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1747718570; x=1748323370; darn=lists.denx.de; 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=FlOVWnAUSlRC1SLA4QTAi4TtXpL5I212AUPdVxcHY8o=; b=OGPuAZvnmjdLWX8Qd1H2n2jYjdlTY0Mhgk6Yp+6xiCYWfr8ONzQ1J/xj0mmwlkDxoQ 6ZKWaXI4PRVGesxw5Y6NvxavG2YFkr+diPkWDQgjFOcv/NjC+ZFZyvyQ4rjrramtF8TO uiR6gU4tZ+Pk3KISX01RZRSsaNEmpFKuttUS3gEbNxQNXGcZ5vk7ojFSaobkExtZI56A uGYz0Dkg+OLaI/tbJHT4sZPH7Br76oUSGe82OM4FXHg1w6fbQ6DOVUe1Ks/nUSRlysz0 APmeZYTjxcSEJfBPmja7YZPSGUIZcvtXIbrg8w2oyTv3+8s/xQTZdp8TCkdJE33gUV7o 5mTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1747718570; x=1748323370; 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=FlOVWnAUSlRC1SLA4QTAi4TtXpL5I212AUPdVxcHY8o=; b=iwwjAoPWVCP50UQwiPdUak3GSndTaZC40eGbwhpfQ5HNyWkrqO+JnSTHuII6nbKqSP IGDhpQRffpQUIwsb1WMvMiq6P3sXMwMVPnapwgcnn8sOBUfkM7mAq/EyvbgB+eBOxXSn mJtRcxTXvBcZffhIPgqYQd1fUscsGCNi3+NsbPLGhj92enhAHsV8GeYax9WzFDHvhwTI A9PCQvQ7XhsFNzZ83QoO0da412IjkfpQhtu0ktaEZulVJgBl9WhYKRx5CBwQx8WE4hnx gIt/jV2OYe1YvzmN3MFsm7FWp4jISvcknZRto523EZaech6Fd0zMKwfpDrAnDsrnDHFq kf6A== X-Forwarded-Encrypted: i=1; AJvYcCVHdXpKz5DyjpySJ4J2VLaQH4HIx3cszw2SQmlmpPV0PD6jkU5mvPRWz2DG7N4P3VJDHWDXnek=@lists.denx.de X-Gm-Message-State: AOJu0Yz8dk7iIa2F9DWLwBa0VEX2i+cAuqJZUhFS3uvdwVSvOzVKJYUB WrpDvNsVMqaz2pxGe+c+uOauQ662yhokDZpzqHVCIMJyZKKz2XUTsmKB0SjjIppPLw8= X-Gm-Gg: ASbGnctYR8lew8hfG7edQVUZyt1Q8Q7BpZwWzCGbx75LosDfAfZIaTgBBJZtXfdyVo4 /Tll5yeLRnduZ0BaycZNKoGlN8jY0WIvOWwvgTl99T9YWsr9P3JY04z0BPWpzx8sUXWXjKg8mH1 g3CzUsdXmp6quUedwsoi70Ug4BUEP9sGvzQbUYVg+Wit451U6sONkjIYbCWSzJ1cQLEkdqu7tdF XHJILwQ+VxDCNAEALdLf1h/eTeoambmexcrvwHLBSzUNMtbR49EQ5qltSepwdpBRTlDYiLvRJ3D cWr0gK5kJN4IwmeYEODplcDzeS74B4xCOdRirOk/mWlMVdbUX/o53QteFxQj2UpOwFNdt4qiz3I = X-Received: by 2002:a05:6000:2304:b0:39c:1429:fa57 with SMTP id ffacd0b85a97d-3a35fe5c560mr10827207f8f.3.1747718570342; Mon, 19 May 2025 22:22:50 -0700 (PDT) Received: from localhost.localdomain ([46.198.180.244]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3a35ca889e6sm15100762f8f.71.2025.05.19.22.22.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 May 2025 22:22:49 -0700 (PDT) From: Ilias Apalodimas <ilias.apalodimas@linaro.org> To: trini@konsulko.com Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>, Simon Glass <sjg@chromium.org>, Marek Vasut <marek.vasut+renesas@mailbox.org>, Peter Robinson <pbrobinson@gmail.com>, Prasad Kummari <prasad.kummari@amd.com>, Michal Simek <michal.simek@amd.com>, Jiaxun Yang <jiaxun.yang@flygoat.com>, Rasmus Villemoes <rasmus.villemoes@prevas.dk>, Jonathan Humphreys <j-humphreys@ti.com>, Sam Edwards <cfsworks@gmail.com>, Quentin Schulz <quentin.schulz@cherry.de>, u-boot@lists.denx.de Subject: [PATCH 21/24] kbuild: strip whitespace in cmd_record_mcount findstring Date: Tue, 20 May 2025 08:21:32 +0300 Message-ID: <20250520052153.307194-22-ilias.apalodimas@linaro.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250520052153.307194-1-ilias.apalodimas@linaro.org> References: <20250520052153.307194-1-ilias.apalodimas@linaro.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.8 at phobos.denx.de X-Virus-Status: Clean |
Series |
Update kbuild
|
expand
|
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index b7611c030088..aa48d2494332 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -221,11 +221,8 @@ sub_cmd_record_mcount = perl $(srctree)/scripts/recordmcount.pl "$(ARCH)" \ "$(if $(part-of-module),1,0)" "$(@)"; recordmcount_source := $(srctree)/scripts/recordmcount.pl endif -cmd_record_mcount = \ - if [ "$(findstring $(CC_FLAGS_FTRACE),$(_c_flags))" = \ - "$(CC_FLAGS_FTRACE)" ]; then \ - $(sub_cmd_record_mcount) \ - fi +cmd_record_mcount = $(if $(findstring $(strip $(CC_FLAGS_FTRACE)),$(_c_flags)), \ + $(sub_cmd_record_mcount)) endif # -record-mcount endif
Backport from kernel commit 1a49b2fd8f58 ("kbuild: strip whitespace in cmd_record_mcount findstring") Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> --- scripts/Makefile.build | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)