summaryrefslogtreecommitdiff
path: root/scripts/kconfig
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-10-24 15:38:40 +0300
committerMasahiro Yamada <masahiroy@kernel.org>2020-12-08 17:31:29 +0300
commit7cd0158703a4828252f10a4c4519778fa069ffdf (patch)
treebab3cfe24ebc40c3cfa2e70911db8ac1d639ecdf /scripts/kconfig
parent7b675649be2217786847dee13597a0ab8502cc40 (diff)
downloadlinux-7cd0158703a4828252f10a4c4519778fa069ffdf.tar.xz
kconfig: qconf: use a variable to pass packages to pkg-config
The variable, PKG, is defined at the beginning of this script. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig')
-rwxr-xr-xscripts/kconfig/qconf-cfg.sh2
1 files changed, 1 insertions, 1 deletions
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