summaryrefslogtreecommitdiff
path: root/post/cpu
diff options
context:
space:
mode:
authorYuri Tikhonov <yur@emcraft.com>2008-04-28 18:19:34 +0200
committerWolfgang Denk <wd@denx.de>2008-04-29 13:13:22 +0200
commit18ec19e4aa1a045dfbf2c7c2e33963488e92d757 (patch)
tree4a13453f7c2fa44290f382fbcfb31988f311ccef /post/cpu
parent6aee00f5e6a1cf29d8fe8fdc9b7252fbd31115d9 (diff)
POST: fix Makefiles for mpc8xx, lwmon, and netta POSTs.
Signed-off-by: Yuri Tikhonov <yur@emcraft.com>
Diffstat (limited to 'post/cpu')
-rw-r--r--post/cpu/mpc8xx/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/post/cpu/mpc8xx/Makefile b/post/cpu/mpc8xx/Makefile
index f871cbab649..162924f6b2f 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