Using $(and ...) is dangerous here: It only works as long as the first argument is set to 'y' or completely unset. It does not work if the first argument is set to 'n' for example. Let's use the "land" make function instead which has been written explicitely for this purpose. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <1505759538-15365-1-git-send-email-thuth@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
56 lines
999 B
Makefile
56 lines
999 B
Makefile
# Default configuration for ppc-softmmu
|
|
|
|
include pci.mak
|
|
include sound.mak
|
|
include usb.mak
|
|
CONFIG_PPC4XX=y
|
|
CONFIG_ESCC=y
|
|
CONFIG_M48T59=y
|
|
CONFIG_SERIAL=y
|
|
CONFIG_PARALLEL=y
|
|
CONFIG_I8254=y
|
|
CONFIG_PCKBD=y
|
|
CONFIG_FDC=y
|
|
CONFIG_I8257=y
|
|
CONFIG_I82374=y
|
|
CONFIG_OPENPIC=y
|
|
CONFIG_PREP_PCI=y
|
|
CONFIG_I82378=y
|
|
CONFIG_PC87312=y
|
|
CONFIG_MACIO=y
|
|
CONFIG_SUNGEM=y
|
|
CONFIG_PCSPK=y
|
|
CONFIG_CS4231A=y
|
|
CONFIG_CUDA=y
|
|
CONFIG_ADB=y
|
|
CONFIG_MAC_NVRAM=y
|
|
CONFIG_MAC_DBDMA=y
|
|
CONFIG_HEATHROW_PIC=y
|
|
CONFIG_GRACKLE_PCI=y
|
|
CONFIG_UNIN_PCI=y
|
|
CONFIG_DEC_PCI=y
|
|
CONFIG_PPCE500_PCI=y
|
|
CONFIG_IDE_ISA=y
|
|
CONFIG_IDE_CMD646=y
|
|
CONFIG_IDE_MACIO=y
|
|
CONFIG_NE2000_ISA=y
|
|
CONFIG_PFLASH_CFI01=y
|
|
CONFIG_PFLASH_CFI02=y
|
|
CONFIG_PTIMER=y
|
|
CONFIG_I8259=y
|
|
CONFIG_XILINX=y
|
|
CONFIG_XILINX_ETHLITE=y
|
|
CONFIG_PREP=y
|
|
CONFIG_MAC=y
|
|
CONFIG_E500=y
|
|
CONFIG_OPENPIC_KVM=$(call land,$(CONFIG_E500),$(CONFIG_KVM))
|
|
CONFIG_PLATFORM_BUS=y
|
|
CONFIG_ETSEC=y
|
|
CONFIG_LIBDECNUMBER=y
|
|
CONFIG_SM501=y
|
|
# For PReP
|
|
CONFIG_SERIAL_ISA=y
|
|
CONFIG_MC146818RTC=y
|
|
CONFIG_ISA_TESTDEV=y
|
|
CONFIG_RS6000_MC=y
|