diff options
author | Juan Quintela <quintela@redhat.com> | 2009-10-07 02:41:08 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-08 21:17:11 -0500 |
commit | 7807feeff99082df86692704d85e05cd942214cd (patch) | |
tree | f913ffd8bad84cbc214173f886650b31c73706e0 /Makefile.hw | |
parent | 86e1d113da0a20481a63febd51c7a613985a113f (diff) |
Only compile nand when one target uses it
Patchworks-ID: 35202
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'Makefile.hw')
-rw-r--r-- | Makefile.hw | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.hw b/Makefile.hw index ba2d390515..88b59b2a20 100644 --- a/Makefile.hw +++ b/Makefile.hw @@ -16,7 +16,8 @@ obj-y += loader.o obj-y += virtio.o obj-y += fw_cfg.o obj-y += watchdog.o -obj-y += nand.o ecc.o +obj-y += ecc.o +obj-$(CONFIG_NAND) += nand.o obj-y += m48t59.o escc.o |