diff options
| author | Masahiro Yamada <[email protected]> | 2013-11-11 14:35:51 +0900 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2013-11-17 14:11:30 -0500 |
| commit | 7b6af41ef342199e4967735ea17424b42ed742d2 (patch) | |
| tree | 39baaeee06c1e1c5457e5bebcf7a85ec58e4886b /drivers/Makefile | |
| parent | 1b2226e0ceebf01e192715b77b96dbe9e9f75a4b (diff) | |
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 <[email protected]>
Diffstat (limited to 'drivers/Makefile')
| -rw-r--r-- | drivers/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/Makefile b/drivers/Makefile index 9cec2ba6fe9..95a4b807242 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/ |
