Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp783721pxb; Tue, 5 Apr 2022 23:10:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVn6dNt8wbscRpOskO/UQ2K+iQLFmR7h8HkEGouokzWJi4zwVP6AtzhCVb9wdwqsqN3cLW X-Received: by 2002:a17:902:d0d2:b0:156:caaa:6c16 with SMTP id n18-20020a170902d0d200b00156caaa6c16mr7108622pln.81.1649225403615; Tue, 05 Apr 2022 23:10:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649225403; cv=none; d=google.com; s=arc-20160816; b=cIR82VYEI+S0U30P3OWh/lORbOo4oTFO9c3jDN0AH2S+nGJGQxvKRNEEroqUH1Okak UzMw3Yd1zzml3uppARJrGyHqSGU0GCvQWDXgjBJEZG0QzmXvi84BjBwucrSHU3cY9fLa v/v4xTrVugBDUKzBRcxVWJWRDID3VFgh3DJXUEqrpmgi5zgHYCdYoHWEY+TuEfnX6m7y E7DJVQ6sn2HZq1bgxV2MAg3TC5cLqj9tNNBE4KRIkY14TxxvkJGP7RNWzoolveEEjIRY /fwZtJ2LJxvazznUCfLgHkyaJj+ekV4pTWTjlbQpqDEecWaXE1dtHzDOPvzDBvof2qMd CULw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=NkrYGVWoCUo+EDE0bxrL2DE/XlwFJm8A49DOp0oSemk=; b=qNQpdF7rGHU+pNuUSBhBTQuAGNw/3XTF0WN7UGG1HqahSPH95fB1Pp8csOCtCQZd9g 4Ayf4I+dWAYHlVOgCcn788DObobqTmoLXJFb/xQCbdOQTioqdemlhEWFzPyf5SW7asBw TDtmd9zyWeWTsUNxnYCmzOd65QtUh7fu7jrsLhhX3RgCL/qwOid2qychSpH+XEEV0sW9 sQdcqqa6ZMe+ftUhfLhrUNC91M4XdF1ZKywfSOt+f0/4vQKcGoawseRpCcDUxFFI6s2J k26jCHaALhQx0NKjW+mPKJNV+UQ9Ana3az9ezLwelrQTblJlS9QbXHVmSKKSX6AHlkdM 4nkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=uhKl8SfB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id k18-20020a63f012000000b003816043f073si15408500pgh.616.2022.04.05.23.10.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 23:10:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=uhKl8SfB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 06DF14B33A4; Tue, 5 Apr 2022 22:57:14 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1442028AbiDEWKi (ORCPT + 99 others); Tue, 5 Apr 2022 18:10:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348937AbiDEJst (ORCPT ); Tue, 5 Apr 2022 05:48:49 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F1AEA5E91; Tue, 5 Apr 2022 02:38:06 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 2D35F61577; Tue, 5 Apr 2022 09:38:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3A882C385A2; Tue, 5 Apr 2022 09:38:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649151485; bh=61JOj3rc2LxFRa0F8Npl5jgFEtUFrS1lDJOqF8od3/c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=uhKl8SfBhNf3rFGy1hxqU1wCCIqJ5f5g3mfoKorYajGaB8UpxcpEWcOURKzbuTRZr GFpnx3kJ/hR4RxssTHo26q+YSO3eb98FLiBvwNOt6QC+KsqUixmZgqIRkTAj2oYtQ6 lTQNEQiZRHa+lhxLHiyMUfKFJDiu/2njZIqCaEnA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Thomas Bracht Laumann Jespersen , Rob Herring , Sasha Levin Subject: [PATCH 5.15 432/913] scripts/dtc: Call pkg-config POSIXly correct Date: Tue, 5 Apr 2022 09:24:54 +0200 Message-Id: <20220405070352.794576865@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070339.801210740@linuxfoundation.org> References: <20220405070339.801210740@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Thomas Bracht Laumann Jespersen [ Upstream commit a8b309ce9760943486e0585285e0125588a31650 ] Running with POSIXLY_CORRECT=1 in the environment the scripts/dtc build fails, because pkg-config doesn't output anything when the flags come after the arguments. Fixes: 067c650c456e ("dtc: Use pkg-config to locate libyaml") Signed-off-by: Thomas Bracht Laumann Jespersen Signed-off-by: Rob Herring Link: https://lore.kernel.org/r/20220131112028.7907-1-t@laumann.xyz Signed-off-by: Sasha Levin --- scripts/dtc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dtc/Makefile b/scripts/dtc/Makefile index 95aaf7431bff..1cba78e1dce6 100644 --- a/scripts/dtc/Makefile +++ b/scripts/dtc/Makefile @@ -29,7 +29,7 @@ dtc-objs += yamltree.o # To include installed in a non-default path HOSTCFLAGS_yamltree.o := $(shell pkg-config --cflags yaml-0.1) # To link libyaml installed in a non-default path -HOSTLDLIBS_dtc := $(shell pkg-config yaml-0.1 --libs) +HOSTLDLIBS_dtc := $(shell pkg-config --libs yaml-0.1) endif # Generated files need one more search path to include headers in source tree -- 2.34.1