]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - post/cpu/mpc8xx/Makefile
Merge branch 'master' of git://git.denx.de/u-boot-samsung
[karo-tx-uboot.git] / post / cpu / mpc8xx / Makefile
index f871cbab6496cc367d950cf99a94a13c3adcdd02..3e1792f8926cad009acced601c3cbcca966734d3 100644 (file)
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 # MA 02111-1307 USA
 #
+include $(OBJTREE)/include/autoconf.mk
 
-LIB    = libpostmpc8xx.a
+LIB    = libpostmpc8xx.o
 
-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