]> git.sur5r.net Git - u-boot/commitdiff
POST: fix Makefiles for mpc8xx, lwmon, and netta POSTs.
authorYuri Tikhonov <yur@emcraft.com>
Mon, 28 Apr 2008 16:19:34 +0000 (18:19 +0200)
committerWolfgang Denk <wd@denx.de>
Tue, 29 Apr 2008 11:13:22 +0000 (13:13 +0200)
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
post/board/lwmon/Makefile
post/board/netta/Makefile
post/cpu/mpc8xx/Makefile

index 899b0dc1f303eec11086ac79620c9f73e7f65987..d2932bed1333499a0b358e7fd2f850a07e9d5e4a 100644 (file)
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 # MA 02111-1307 USA
 #
-
+include $(OBJTREE)/include/autoconf.mk
 
 LIB    = libpostlwmon.a
 
-COBJS  = sysmon.o
+COBJS-$(CONFIG_HAS_POST)       += sysmon.o
 
 include $(TOPDIR)/post/rules.mk
index 60c7790ace9d1f9cdb0aac8153d1917e99b52868..8a8578f43949e4ebac4c7f33d7d2c41aca662d8d 100644 (file)
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 # MA 02111-1307 USA
 #
-
+include $(OBJTREE)/include/autoconf.mk
 
 LIB    = libpostnetta.a
 
-COBJS  = codec.o dsp.o
+COBJS-$(CONFIG_HAS_POST)       += codec.o dsp.o
 
 include $(TOPDIR)/post/rules.mk
index f871cbab6496cc367d950cf99a94a13c3adcdd02..162924f6b2f11eb04075dcb1499a2cf02ec683dc 100644 (file)
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 # MA 02111-1307 USA
 #
+include $(OBJTREE)/include/autoconf.mk
 
 LIB    = libpostmpc8xx.a
 
-AOBJS  = cache_8xx.o
-COBJS  = cache.o ether.o spr.o uart.o usb.o watchdog.o
+AOBJS-$(CONFIG_HAS_POST)       += cache_8xx.o
+COBJS-$(CONFIG_HAS_POST)       += cache.o ether.o spr.o uart.o usb.o watchdog.o
 
 include $(TOPDIR)/post/rules.mk