aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-02-02 15:24:34 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2019-02-05 16:50:19 +0100
commit91b82fec16b0a63b5748e25a13f4df5fc41a1e08 (patch)
tree0891b1bcd55d4bc8ca29071ab882277ebb3124c8 /hw
parent5afdd57ca00f1271094f9a6fb0e29d415a732fc7 (diff)
downloadqemu-91b82fec16b0a63b5748e25a13f4df5fc41a1e08.zip
qemu-91b82fec16b0a63b5748e25a13f4df5fc41a1e08.tar.gz
qemu-91b82fec16b0a63b5748e25a13f4df5fc41a1e08.tar.bz2
build: actually use CONFIG_PAM
Do not link it unconditionally into all binaries. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Yang Zhong <yang.zhong@intel.com> Reviewed-by: Thomas Huth <thuth@redhat.com> Message-Id: <20190202072456.6468-6-yang.zhong@intel.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/pci-host/Makefile.objs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-host/Makefile.objs b/hw/pci-host/Makefile.objs
index 073d512..a9cd3e0 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