]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - post/lib_ppc/fpu/Makefile
POST: move CONFIG_POST to Makefiles
[people/ms/u-boot.git] / post / lib_ppc / fpu / Makefile
index 82646c80d65676772710a60eb8ab5173f9e88a75..db435931d8d1e5206a966992e151d6b270ad6b1a 100644 (file)
 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
 # MA 02111-1307 USA
 #
-
+include $(TOPDIR)/config.mk
 
 LIB    = libpostppcfpu.a
 
-COBJS  += fpu.o 20001122-1.o 20010114-2.o 20010226-1.o 980619-1.o
-COBJS  += acc1.o compare-fp-1.o mul-subnormal-single-1.o
+COBJS-$(CONFIG_HAS_POST)       += fpu.o 20001122-1.o 20010114-2.o 20010226-1.o 980619-1.o
+COBJS-$(CONFIG_HAS_POST)       += acc1.o compare-fp-1.o mul-subnormal-single-1.o
 
 include $(TOPDIR)/post/rules.mk