Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp1361028pxu; Sat, 24 Oct 2020 08:18:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwo00xGLbw2EkyoCoqmI02U1Sf+H+b8pEuoFBn3T/Wl03F6agTXkiIc8RYHuEuT4T/cUyXu X-Received: by 2002:aa7:cf0f:: with SMTP id a15mr6220857edy.3.1603552689974; Sat, 24 Oct 2020 08:18:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603552689; cv=none; d=google.com; s=arc-20160816; b=jkb/EfF6IA9LnJEWLdeL3CFWp9yzyd4C/1ImdY44VfTuggs0Euv3R7K78jN5Ze9vCp Xqyo/TFshXCZ7YfvZuzws9w6AJORRX0RQJT3tdAc1ILi5pwVcu0VXzXUlOslpe8qre/b c8rksKpRZqXsofDGUNHEutNAHk2tkNqJutVvbSgH5ojK/+7kYwm4NfnCmcYQdm2vMA1Q O7P5//25N0WhFdedPKCN69dNlJVisP5DtnubFK8ueyKXAKvZ/CTvB/+Y5+oczSkBgNFu ppIsNUl6g80cvc5zE0CYMdkSgULIwLgqbcR0FixvTWOghRTCqNW+qpkRbsjFyVZcUJYV O/wg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=nD3oRwXw1JO8HbibF/MrHZ3hDIdocUT6tgaF058Kczs=; b=ii6WE1TlVriwklwjGfmQ1MPVmITIL4oBYPWquHt1qHaIW+o/gZIJjOVV9vmbhuvGxJ 1c7l8v2HOYrJ0HM3I0bH4w5/n+pnqMqeDBOb3aWQDFs/iErwdMb8wM9JnIQcPp47bQKj NtUkLEYMgXrWKGGreBXL2m8aFjbr9E/g6d07kkShSBGifTWJlNJPaXHJlUl+B4Ks6H+c 0M8ANMXU6WXZ28BvTqCzwX9Ynk2blPN0Cj76Odsv06AojvJYBcW6qwbKNTYr3J+19OIs pgBDpZSEU16N/Wim8G7sHr0Pj33ae3stRVuJTIHPALgvxjQH3p33zNzOLtc9fh0eotM2 69lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=GQljCXRQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i26si1354520edq.25.2020.10.24.08.17.47; Sat, 24 Oct 2020 08:18:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=GQljCXRQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761420AbgJXMkJ (ORCPT + 99 others); Sat, 24 Oct 2020 08:40:09 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:60873 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761414AbgJXMkI (ORCPT ); Sat, 24 Oct 2020 08:40:08 -0400 Received: from oscar.flets-west.jp (softbank126090211135.bbtec.net [126.90.211.135]) (authenticated) by conuserg-09.nifty.com with ESMTP id 09OCdV8A029147; Sat, 24 Oct 2020 21:39:33 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com 09OCdV8A029147 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1603543173; bh=nD3oRwXw1JO8HbibF/MrHZ3hDIdocUT6tgaF058Kczs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GQljCXRQ2Ks2vcz84cS93yDK+voMSaAZ9QQbcEqnvVpbX4zm7tnet2UhUasEYIQrN FJeNlJiORHN2Qqv6lRYm0lggg8YOsDAhElIKHBCgSO+lAP3OKkbIA5fhIZwn3k42ZH pzF3ip2x/bGjjbQb6ppmCELCXBRbnTIqax54b8F3Ytcz+faz7t2xGsa2+fsmDYQhEK plV1AhRQmZRopN4xbn2q7DpD091FuGDxXcR1O6iP9DFFg9BCtmqlUShQaW1tWsqUf1 6pOuHviW9Y1W2LYcRyZPfNLRVAsZpnedKiLi71evUNpIS7NB/gZHDypqENhBHsRgN1 wg+6H0RLtmmoQ== X-Nifty-SrcIP: [126.90.211.135] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 2/3] kconfig: qconf: use a variable to pass packages to pkg-config Date: Sat, 24 Oct 2020 21:38:40 +0900 Message-Id: <20201024123841.1201922-2-masahiroy@kernel.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201024123841.1201922-1-masahiroy@kernel.org> References: <20201024123841.1201922-1-masahiroy@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The variable, PKG, is defined at the beginning of this script. Signed-off-by: Masahiro Yamada --- scripts/kconfig/qconf-cfg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kconfig/qconf-cfg.sh b/scripts/kconfig/qconf-cfg.sh index d1eb2407c35d..fa564cd795b7 100755 --- a/scripts/kconfig/qconf-cfg.sh +++ b/scripts/kconfig/qconf-cfg.sh @@ -11,7 +11,7 @@ if [ -z "$(command -v pkg-config)" ]; then fi if pkg-config --exists $PKG; then - echo cflags=\"-std=c++11 -fPIC $(pkg-config --cflags Qt5Core Qt5Gui Qt5Widgets)\" + echo cflags=\"-std=c++11 -fPIC $(pkg-config --cflags $PKG)\" echo libs=\"$(pkg-config --libs $PKG)\" echo moc=\"$(pkg-config --variable=host_bins Qt5Core)/moc\" exit 0 -- 2.25.1