diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2007-07-05 18:01:17 +0200 |
---|---|---|
committer | Sascha Hauer <sha@octopus.labnet.pengutronix.de> | 2007-07-05 18:01:17 +0200 |
commit | c03bd6446cdaa66cc513a04e19fc986def5e0752 (patch) | |
tree | 593d4489eb4a7429dcdef4974d48cc2da5fee48e /drivers | |
parent | 5618da1521d8ef96a8b0c0f278fc509d6cd53ebb (diff) | |
download | barebox-c03bd6446cdaa66cc513a04e19fc986def5e0752.tar.gz barebox-c03bd6446cdaa66cc513a04e19fc986def5e0752.tar.xz |
svn_rev_049
Kconfig WIP
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/Kconfig | 31 | ||||
-rw-r--r-- | drivers/Makefile | 4 |
2 files changed, 33 insertions, 2 deletions
diff --git a/drivers/Kconfig b/drivers/Kconfig new file mode 100644 index 0000000000..f414e51136 --- /dev/null +++ b/drivers/Kconfig @@ -0,0 +1,31 @@ +menuconfig DRIVERS + bool "drivers" + +if DRIVERS + +config HAS_CS8900 + bool + +config HAS_AT91_ETHER + bool + +config HAS_CFI + bool + +comment "Network drivers" + +config DRIVER_NET_CS8900 + bool "cs8900 ethernet driver" + depends on HAS_CS8900 + +config DRIVER_NET_AT91_ETHER + bool "at91 ethernet driver" + depends on HAS_AT91_ETHER + +comment "Flash drivers" + +config DRIVER_CFI + bool "cfi flash driver" + depends on HAS_CFI + +endif diff --git a/drivers/Makefile b/drivers/Makefile index 0860612c98..84433dd667 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -6,8 +6,8 @@ #obj-y += bcm570x_autoneg.o #obj-y += bcm570x.o #obj-y += cfb_console.o -obj-y += cfi_flash.o -obj-y += cs8900.o +obj-$(CONFIG_DRIVER_CFI) += cfi_flash.o +obj-$(CONFIG_DRIVER_NET_CS8900) += cs8900.o #obj-y += ct69000.o #obj-y += dc2114x.o #obj-y += dm9000x.o |