summaryrefslogtreecommitdiff
path: root/drivers/Makefile
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2013-11-11 14:35:51 +0900
committerTom Rini <trini@ti.com>2013-11-17 14:11:30 -0500
commit7b6af41ef342199e4967735ea17424b42ed742d2 (patch)
tree39baaeee06c1e1c5457e5bebcf7a85ec58e4886b /drivers/Makefile
parent1b2226e0ceebf01e192715b77b96dbe9e9f75a4b (diff)
downloadu-boot-imx-7b6af41ef342199e4967735ea17424b42ed742d2.zip
u-boot-imx-7b6af41ef342199e4967735ea17424b42ed742d2.tar.gz
u-boot-imx-7b6af41ef342199e4967735ea17424b42ed742d2.tar.bz2
drivers: descend into sub directories only when it is necessary
- Descend into drivers/fpga/ only when CONFIG_FPGA=y - Descend into drivers/bios_emulator only when CONFIG_BIOSEMU=y Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'drivers/Makefile')
-rw-r--r--drivers/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/Makefile b/drivers/Makefile
index 9cec2ba..95a4b80 100644
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -1,8 +1,8 @@
-obj-y += bios_emulator/
+obj-$(CONFIG_BIOSEMU) += bios_emulator/
obj-y += block/
obj-$(CONFIG_BOOTCOUNT_LIMIT) += bootcount/
obj-y += crypto/
-obj-y += fpga/
+obj-$(CONFIG_FPGA) += fpga/
obj-y += hwmon/
obj-y += misc/
obj-y += pcmcia/