From a67cefc353f1f3ecb869bd04d4a951356fbe55da Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Mon, 21 Oct 2013 11:53:39 +0900 Subject: post: convert makefiles to Kbuild style This commit also deletes post/rules.mk, which in not necessary any more. Signed-off-by: Masahiro Yamada --- post/cpu/ppc4xx/Makefile | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) (limited to 'post/cpu/ppc4xx/Makefile') diff --git a/post/cpu/ppc4xx/Makefile b/post/cpu/ppc4xx/Makefile index 614cef03fc..b7435c8252 100644 --- a/post/cpu/ppc4xx/Makefile +++ b/post/cpu/ppc4xx/Makefile @@ -4,18 +4,15 @@ # # SPDX-License-Identifier: GPL-2.0+ # -include $(OBJTREE)/include/autoconf.mk -LIB = libpostppc4xx.o +CPPFLAGS += -I$(TOPDIR) -AOBJS-$(CONFIG_HAS_POST) += cache_4xx.o -COBJS-$(CONFIG_HAS_POST) += cache.o -COBJS-$(CONFIG_HAS_POST) += denali_ecc.o -COBJS-$(CONFIG_HAS_POST) += ether.o -COBJS-$(CONFIG_HAS_POST) += fpu.o -COBJS-$(CONFIG_HAS_POST) += ocm.o -COBJS-$(CONFIG_HAS_POST) += spr.o -COBJS-$(CONFIG_HAS_POST) += uart.o -COBJS-$(CONFIG_HAS_POST) += watchdog.o - -include $(TOPDIR)/post/rules.mk +obj-$(CONFIG_HAS_POST) += cache_4xx.o +obj-$(CONFIG_HAS_POST) += cache.o +obj-$(CONFIG_HAS_POST) += denali_ecc.o +obj-$(CONFIG_HAS_POST) += ether.o +obj-$(CONFIG_HAS_POST) += fpu.o +obj-$(CONFIG_HAS_POST) += ocm.o +obj-$(CONFIG_HAS_POST) += spr.o +obj-$(CONFIG_HAS_POST) += uart.o +obj-$(CONFIG_HAS_POST) += watchdog.o -- cgit v1.2.1