summaryrefslogtreecommitdiff
path: root/payloads/libpayload/drivers/Makefile.inc
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-08-08 13:45:03 +0000
committerStefan Reinauer <stepan@openbios.org>2008-08-08 13:45:03 +0000
commit6986358341072299b5debb7fb29d183b1993b259 (patch)
treec18b05985af80a070af93d4c4c33886639298aaf /payloads/libpayload/drivers/Makefile.inc
parentfef915c7c4540ffb890c20d4db0e71ac69175652 (diff)
new menu structure for libpayload
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Peter Stuge <peter@stuge.se> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3488 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/drivers/Makefile.inc')
-rw-r--r--payloads/libpayload/drivers/Makefile.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/payloads/libpayload/drivers/Makefile.inc b/payloads/libpayload/drivers/Makefile.inc
index fbd3d7ee6b..854082c511 100644
--- a/payloads/libpayload/drivers/Makefile.inc
+++ b/payloads/libpayload/drivers/Makefile.inc
@@ -3,6 +3,7 @@
##
## Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.de>
## Copyright (C) 2008 Advanced Micro Devices, Inc.
+## Copyright (C) 2008 coresystems GmbH
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted provided that the following conditions
@@ -28,11 +29,14 @@
## SUCH DAMAGE.
##
-TARGETS-y += drivers/pci.o
-TARGETS-y += drivers/speaker.o
+TARGETS-$(CONFIG_PCI) += drivers/pci.o
+
+TARGETS-$(CONFIG_SPEAKER) += drivers/speaker.o
TARGETS-$(CONFIG_SERIAL_CONSOLE) += drivers/serial.o
+
TARGETS-$(CONFIG_PC_KEYBOARD) += drivers/keyboard.o
+
TARGETS-$(CONFIG_NVRAM) += drivers/nvram.o
TARGETS-$(CONFIG_NVRAM) += drivers/options.o