public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH 0/2] MPC8xx: Fix libfdt support introduced in commit 77ff7b74
@ 2008-04-02  6:03 Jean-Christophe PLAGNIOL-VILLARD
  2008-04-02  6:03 ` [U-Boot-Users] [PATCH 1/2] cmd_log.c: Fix assignment differ in signedness Jean-Christophe PLAGNIOL-VILLARD
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2008-04-02  6:03 UTC (permalink / raw)
  To: u-boot

fdt.c: In function 'ft_cpu_setup':
fdt.c:33: warning: implicit declaration of function 'do_fixup_by_prop_u32'
fdt.c:39: warning: implicit declaration of function 'do_fixup_by_compat_u32'
fdt.c:43: warning: implicit declaration of function 'fdt_fixup_ethernet'
fdt.c:45: warning: implicit declaration of function 'fdt_fixup_memory'

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>

diff --git a/cpu/mpc8xx/Makefile b/cpu/mpc8xx/Makefile
index dbdc2e0..5f70459 100644
--- a/cpu/mpc8xx/Makefile
+++ b/cpu/mpc8xx/Makefile
@@ -27,16 +27,29 @@ include $(TOPDIR)/config.mk
 
 LIB	= $(obj)lib$(CPU).a
 
-START	= start.o kgdb.o
-COBJS	= bedbug_860.o commproc.o cpu.o cpu_init.o	\
-	  fec.o fdt.o i2c.o interrupts.o lcd.o scc.o	\
-	  serial.o speed.o spi.o \
-	  traps.o upatch.o video.o
-SOBJS	= plprcr_write.o
-
-SRCS	:= $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
-OBJS	:= $(addprefix $(obj),$(SOBJS) $(COBJS))
-START	:= $(addprefix $(obj),$(START))
+START-y	+= start.o
+START-y	+= kgdb.o
+COBJS-y	+= bedbug_860.o
+COBJS-y	+= commproc.o
+COBJS-y	+= cpu.o
+COBJS-y	+= cpu_init.o
+COBJS-y	+= fec.o
+COBJS-$(CONFIG_OF_LIBFDT) += fdt.o
+COBJS-y	+= i2c.o
+COBJS-y	+= interrupts.o
+COBJS-y	+= lcd.o
+COBJS-y	+= scc.o
+COBJS-y	+= serial.o
+COBJS-y	+= speed.o
+COBJS-y	+= spi.o
+COBJS-y	+= traps.o
+COBJS-y	+= upatch.o
+COBJS-y	+= video.o
+SOBJS-y	+= plprcr_write.o
+
+SRCS	:= $(START-y:.o=.S) $(SOBJS-y:.o=.S) $(COBJS-y:.o=.c)
+OBJS	:= $(addprefix $(obj),$(SOBJS-y) $(COBJS-y))
+START	:= $(addprefix $(obj),$(START-y))
 
 all:	$(obj).depend $(START) $(LIB)
 
-- 
1.5.4.5

^ permalink raw reply related	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2008-04-18  4:14 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-02  6:03 [U-Boot-Users] [PATCH 0/2] MPC8xx: Fix libfdt support introduced in commit 77ff7b74 Jean-Christophe PLAGNIOL-VILLARD
2008-04-02  6:03 ` [U-Boot-Users] [PATCH 1/2] cmd_log.c: Fix assignment differ in signedness Jean-Christophe PLAGNIOL-VILLARD
2008-04-02  6:03   ` [U-Boot-Users] [PATCH 2/2] ds174x: Fix warning on return in rtc_get and rtc_set function Jean-Christophe PLAGNIOL-VILLARD
2008-04-02 11:37     ` [U-Boot-Users] [PATCH] cmd_nand: Fix warning: dereferencing type-punned pointer will break strict-aliasing rules Jean-Christophe PLAGNIOL-VILLARD
2008-04-02 11:41       ` [U-Boot-Users] [PATCH] mpc837xerdb: Fix warning: implicit declaration of function 'fdt_fixup_dr_usb' Jean-Christophe PLAGNIOL-VILLARD
2008-04-02 17:50         ` Kim Phillips
2008-04-08 14:40         ` [U-Boot-Users] unassigned-patches/13: " u-boot at bugs.denx.de
2008-04-02 14:34       ` [U-Boot-Users] [PATCH] cmd_nand: Fix warning: dereferencing type-punned pointer will break strict-aliasing rules Stefan Roese
2008-04-02 14:39       ` Wolfgang Denk
2008-04-02 14:50         ` Jean-Christophe PLAGNIOL-VILLARD
2008-04-08 14:40       ` [U-Boot-Users] unassigned-patches/11: " u-boot at bugs.denx.de
2008-04-08 20:49       ` [U-Boot-Users] [U-boot] " Wolfgang Denk
2008-04-08 14:40     ` [U-Boot-Users] unassigned-patches/12: [PATCH 2/2] ds174x: Fix warning on return in rtc_get and rtc_set function u-boot at bugs.denx.de
2008-04-08 21:01     ` [U-Boot-Users] [U-boot] " Wolfgang Denk
2008-04-09  8:46       ` Jean-Christophe PLAGNIOL-VILLARD
2008-04-09 10:42         ` Wolfgang Denk
2008-04-18  4:14     ` [U-Boot-Users] " Wolfgang Denk
2008-04-08 14:40   ` [U-Boot-Users] unassigned-patches/10: [PATCH 1/2] cmd_log.c: Fix assignment differ in signedness u-boot at bugs.denx.de
2008-04-18  4:14   ` [U-Boot-Users] " Wolfgang Denk
2008-04-02 12:11 ` [U-Boot-Users] [PATCH 0/2] MPC8xx: Fix libfdt support introduced in commit 77ff7b74 Jerry Van Baren
2008-04-08 14:40 ` [U-Boot-Users] unassigned-patches/9: " u-boot at bugs.denx.de
2008-04-08 20:47 ` [U-Boot-Users] [U-boot] " Wolfgang Denk
2008-04-09  0:04   ` Jerry Van Baren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox