Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp689535pxb; Tue, 5 Apr 2022 18:54:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyT4VZrpCH/Yv9/hLHaz602UlQ2HRqyvmSyWsqdoArO5SwXKC5RgRNLpPFo94byLVzQCY5 X-Received: by 2002:a63:d257:0:b0:399:2df1:2fc with SMTP id t23-20020a63d257000000b003992df102fcmr5079132pgi.268.1649210071763; Tue, 05 Apr 2022 18:54:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649210071; cv=none; d=google.com; s=arc-20160816; b=dwDG1AaBV29W8Ne/W5nLPRZP4qDtbcdqz5ABTP6KLGvplUJFTbVCOCQ8+0DlorPriQ HeKJA8X6A+d/Zr7Xhxq1X+FCEZUGXlk4uH0oBIkuAhdR6pwm9lTaSVtYdWMDPyQnkIkF VjYPMcA3BGiexw8THGZmYRxXSS3QIfyD1tT28KD8OdzqQUxHOv3oEn5gKouqM4F7cIwP 7HHlE/XMyH23E7KsBBNp5+dB0lEK7a9geDw9t6VvDODeAQBGnmvswUApzwQNILgFQBVp zNfZ45h3ftKFUuUiA9GOWr8BN8+X3NTEffHdDX0+pvTzIW0g6/eNnlRaK7w1Gi50HBVW IKVg== 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=cFMF3gCv8MQ0DeZsl2hxJO4+wH/goBMVIZipqQnkBksE3NLQ8mp8Gxmt+ec3Dc7Lin NpLDgJhhdVQaadIQjC+u7a+hweGu9yMLM5F/527wwmA1FOSgaqqd1NcQkXtms2E7nnu/ Vplg/FaoGhwxGbKcKcmIAL2MzfmeIQfSofMMhBYEudYVapVqEuks0f5FeuDcoalLfmIB /8iGCWj6k8nAeV4UAsKzQc2KfyVF1FWjnkIa4buIujp9w/eWxdtdS+nBxtJh6PCrwnNx pNfWqmwTof8GAIzSK4JZ6hYMHmr8Erfi+SjJY3Zye1hclNqLx9U6XbnHwFpMeQpiZ0se EInw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=QtQjK4v7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id be3-20020a170902aa0300b00153b2d1650esi14266868plb.278.2022.04.05.18.54.12; Tue, 05 Apr 2022 18:54:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=QtQjK4v7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350547AbiDEMiW (ORCPT + 99 others); Tue, 5 Apr 2022 08:38:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236407AbiDEJCy (ORCPT ); Tue, 5 Apr 2022 05:02:54 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC4CCFD03; Tue, 5 Apr 2022 01:54:31 -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 78401614E4; Tue, 5 Apr 2022 08:54:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 87063C385A1; Tue, 5 Apr 2022 08:54:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649148870; bh=61JOj3rc2LxFRa0F8Npl5jgFEtUFrS1lDJOqF8od3/c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QtQjK4v7hi3gb1T2FcyVtPHk/5xGpQe+NnPRhnB+Tf4U+DW1EYwWEoTT0flWIDlc6 JKBtdEA9KWUjOlyC7GLemJDBKCmQfXSkkvtvvRarI4+11bWdyamotPksnehGMuBeYI Etb53/VK3UwFKzuM0vqsNbmaSVuwbBOYnRbs3pBs= 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.16 0473/1017] scripts/dtc: Call pkg-config POSIXly correct Date: Tue, 5 Apr 2022 09:23:06 +0200 Message-Id: <20220405070408.339016025@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070354.155796697@linuxfoundation.org> References: <20220405070354.155796697@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=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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