From: Yuri Tikhonov Date: Mon, 28 Apr 2008 16:19:34 +0000 (+0200) Subject: POST: fix Makefiles for mpc8xx, lwmon, and netta POSTs. X-Git-Tag: v1.3.3-rc2~12^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=18ec19e4aa1a045dfbf2c7c2e33963488e92d757;p=u-boot POST: fix Makefiles for mpc8xx, lwmon, and netta POSTs. Signed-off-by: Yuri Tikhonov --- diff --git a/post/board/lwmon/Makefile b/post/board/lwmon/Makefile index 899b0dc1f3..d2932bed13 100644 --- a/post/board/lwmon/Makefile +++ b/post/board/lwmon/Makefile @@ -20,10 +20,10 @@ # 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 diff --git a/post/board/netta/Makefile b/post/board/netta/Makefile index 60c7790ace..8a8578f439 100644 --- a/post/board/netta/Makefile +++ b/post/board/netta/Makefile @@ -20,10 +20,10 @@ # 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 diff --git a/post/cpu/mpc8xx/Makefile b/post/cpu/mpc8xx/Makefile index f871cbab64..162924f6b2 100644 --- a/post/cpu/mpc8xx/Makefile +++ b/post/cpu/mpc8xx/Makefile @@ -20,10 +20,11 @@ # 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