From: Paolo Bonzini Date: Sat, 2 Feb 2019 07:24:34 +0000 (+0800) Subject: build: actually use CONFIG_PAM X-Git-Tag: v4.0.0-rc0~114^2~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=91b82fec16b0a63b5748e25a13f4df5fc41a1e08;p=thirdparty%2Fqemu.git build: actually use CONFIG_PAM Do not link it unconditionally into all binaries. Signed-off-by: Paolo Bonzini Signed-off-by: Yang Zhong Reviewed-by: Thomas Huth Message-Id: <20190202072456.6468-6-yang.zhong@intel.com> Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Paolo Bonzini --- diff --git a/default-configs/i386-softmmu.mak b/default-configs/i386-softmmu.mak index 2f919df3468..48da9968ccf 100644 --- a/default-configs/i386-softmmu.mak +++ b/default-configs/i386-softmmu.mak @@ -67,3 +67,4 @@ CONFIG_I2C=y CONFIG_SEV=$(CONFIG_KVM) CONFIG_VTD=y CONFIG_AMD_IOMMU=y +CONFIG_PAM=y diff --git a/hw/pci-host/Makefile.objs b/hw/pci-host/Makefile.objs index 073d5124d12..a9cd3e022d5 100644 --- a/hw/pci-host/Makefile.objs +++ b/hw/pci-host/Makefile.objs @@ -1,4 +1,4 @@ -common-obj-y += pam.o +common-obj-$(CONFIG_PAM) += pam.o # PPC devices common-obj-$(CONFIG_PREP_PCI) += prep.o