aboutsummaryrefslogtreecommitdiff
path: root/Makefile.target
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-07-27 16:12:52 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-27 14:09:19 -0500
commit3f0855b14b071655396c71f0d38970b9e21be92f (patch)
treec2947f4db1261f8d8ca62699c5994dac68c6c90c /Makefile.target
parent67c0f08d168a2933bf01160592cbe905075cd268 (diff)
Rename HAVE_FDT to CONFIG_FDT and define it also in Makefile
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'Makefile.target')
-rw-r--r--Makefile.target4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.target b/Makefile.target
index b2237dde9c..687648c0b8 100644
--- a/Makefile.target
+++ b/Makefile.target
@@ -513,8 +513,8 @@ ifeq ($(TARGET_BASE_ARCH), ppc)
CPPFLAGS += -DHAS_AUDIO -DHAS_AUDIO_CHOICE
endif
+obj-ppc-$(CONFIG_FDT) += device_tree.o
ifdef FDT_LIBS
-obj-ppc-y += device_tree.o
LIBS+= $(FDT_LIBS)
endif
@@ -541,8 +541,8 @@ obj-microblaze-y += xilinx_ethlite.o
obj-microblaze-y += pflash_cfi02.o
+obj-microblaze-$(CONFIG_FDT) += device_tree.o
ifdef FDT_LIBS
-obj-microblaze-y += device_tree.o
LIBS+= $(FDT_LIBS)
endif