mirror of
https://github.com/adulau/aha.git
synced 2024-12-31 21:26:18 +00:00
x86: fix unconditional arch/x86/kernel/pcspeaker.o compiling
do not add the pcspkr platform device if pcspkr support is disabled. Signed-off-by: Michael Opdenacker <michael@free-electrons.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
parent
71617bf140
commit
67926892ef
1 changed files with 3 additions and 0 deletions
|
@ -67,7 +67,10 @@ obj-$(CONFIG_MGEODE_LX) += geode_32.o mfgpt_32.o
|
|||
|
||||
obj-$(CONFIG_VMI) += vmi_32.o vmiclock_32.o
|
||||
obj-$(CONFIG_PARAVIRT) += paravirt.o paravirt_patch_$(BITS).o
|
||||
|
||||
ifdef CONFIG_INPUT_PCSPKR
|
||||
obj-y += pcspeaker.o
|
||||
endif
|
||||
|
||||
obj-$(CONFIG_SCx200) += scx200_32.o
|
||||
|
||||
|
|
Loading…
Reference in a new issue