post: convert makefiles to Kbuild style
This commit also deletes post/rules.mk, which in not necessary any more. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
This commit is contained in:
committed by
Tom Rini
parent
377e1048d3
commit
a67cefc353
@@ -4,10 +4,7 @@
|
||||
#
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
include $(TOPDIR)/config.mk
|
||||
|
||||
LIB = libpostdrivers.o
|
||||
CPPFLAGS += -I$(TOPDIR)
|
||||
|
||||
COBJS-$(CONFIG_HAS_POST) += flash.o i2c.o memory.o rtc.o
|
||||
|
||||
include $(TOPDIR)/post/rules.mk
|
||||
obj-$(CONFIG_HAS_POST) += flash.o i2c.o memory.o rtc.o
|
||||
|
||||
Reference in New Issue
Block a user