]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - post/cpu/mpc8xx/Makefile
post: convert makefiles to Kbuild style
[karo-tx-uboot.git] / post / cpu / mpc8xx / Makefile
index efde1fb3dcae2d6e4135b861a0f35ea12d0478aa..7a2930a797f0770fbd9bc0566e58b2c0385852c5 100644 (file)
@@ -4,11 +4,8 @@
 #
 # SPDX-License-Identifier:     GPL-2.0+
 #
-include $(OBJTREE)/include/autoconf.mk
 
-LIB    = libpostmpc8xx.o
+CPPFLAGS += -I$(TOPDIR)
 
-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
+obj-$(CONFIG_HAS_POST) += cache_8xx.o
+obj-$(CONFIG_HAS_POST) += cache.o ether.o spr.o uart.o usb.o watchdog.o