]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - post/cpu/ppc4xx/Makefile
POST: move CONFIG_POST to Makefiles
[people/ms/u-boot.git] / post / cpu / ppc4xx / Makefile
index e3f44b7774be4f66a58a2deee954ab7a0cc9c372..7b13413b9d7e817bfa0edcdfa46b7d570bde249c 100644 (file)
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 # MA 02111-1307 USA
 #
+include $(TOPDIR)/include/autoconf.mk
 
 LIB    = libpostppc4xx.a
 
-AOBJS   = cache_4xx.o
-COBJS  = cache.o denali_ecc.o ether.o fpu.o spr.o uart.o watchdog.o
+AOBJS-$(CONFIG_HAS_POST)       += cache_4xx.o
+COBJS-$(CONFIG_HAS_POST)       += cache.o denali_ecc.o ether.o fpu.o spr.o uart.o watchdog.o
 
 include $(TOPDIR)/post/rules.mk