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
## This file is part of the libpayload project.
##
## Copyright (C) 2008 Advanced Micro Devices, Inc.
## This file is part of the libpayload project.
##
## 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
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted provided that the following conditions
+menu "Standard Libraries"
+
+config LIBC
+ bool "Enable C library support"
+ default y
+
+config TINYCURSES
+ bool "Enable tinycurses support"
+ default y
+
+endmenu
+
+menu "Console Options"
config SERIAL_CONSOLE
bool "See output on the serial port console"
config SERIAL_CONSOLE
bool "See output on the serial port console"
bool "Allow input from a PC keyboard"
default y
bool "Allow input from a PC keyboard"
default y
+endmenu
+
+menu "Drivers"
+
+config PCI
+ bool "Support for PCI devices"
+ default y
+
config NVRAM
bool "Support for reading/writing NVRAM bytes"
default y
config NVRAM
bool "Support for reading/writing NVRAM bytes"
default y
If you want to read or write CMOS bytes on computers with one of
these chipsets, say 'y' here.
If you want to read or write CMOS bytes on computers with one of
these chipsets, say 'y' here.
-endmenu
-
-menu "Build Options"
-
-config TINYCURSES
- bool "Enable tinycurses support"
+config SPEAKER
+ bool "Support for PC speaker"
##
## Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.de>
## Copyright (C) 2008 Advanced Micro Devices, Inc.
##
## 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
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted provided that the following conditions
-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_SERIAL_CONSOLE) += drivers/serial.o
TARGETS-$(CONFIG_PC_KEYBOARD) += drivers/keyboard.o
TARGETS-$(CONFIG_PC_KEYBOARD) += drivers/keyboard.o
TARGETS-$(CONFIG_NVRAM) += drivers/nvram.o
TARGETS-$(CONFIG_NVRAM) += drivers/options.o
TARGETS-$(CONFIG_NVRAM) += drivers/nvram.o
TARGETS-$(CONFIG_NVRAM) += drivers/options.o
## This file is part of the libpayload project.
##
## Copyright (C) 2008 Advanced Micro Devices, Inc.
## This file is part of the libpayload project.
##
## 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
##
## Redistribution and use in source and binary forms, with or without
## modification, are permitted provided that the following conditions
-TARGETS-y += libc/malloc.o libc/printf.o libc/console.o libc/string.o
-TARGETS-y += libc/memory.o libc/ctype.o libc/ipchecksum.o libc/lib.o
-TARGETS-y += libc/rand.o libc/time.o libc/lar.o libc/exec.o
+TARGETS-$(CONFIG_LIBC) += libc/malloc.o libc/printf.o libc/console.o libc/string.o
+TARGETS-$(CONFIG_LIBC) += libc/memory.o libc/ctype.o libc/ipchecksum.o libc/lib.o
+TARGETS-$(CONFIG_LIBC) += libc/rand.o libc/time.o libc/lar.o libc/exec.o