diff options
Diffstat (limited to 'board/armadeus')
-rw-r--r-- | board/armadeus/apf27/Makefile | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/board/armadeus/apf27/Makefile b/board/armadeus/apf27/Makefile index 5fcda6e9cc..57129718d5 100644 --- a/board/armadeus/apf27/Makefile +++ b/board/armadeus/apf27/Makefile @@ -7,27 +7,6 @@ # SPDX-License-Identifier: GPL-2.0+ # -include $(TOPDIR)/config.mk - -LIB = $(obj)lib$(BOARD).o - -COBJS := apf27.o -SOBJS := lowlevel_init.o -ifdef CONFIG_FPGA -COBJS += fpga.o -endif - -SRCS := $(COBJS:.o=.c) $(SOBJS:.o=.S) -OBJS := $(addprefix $(obj),$(COBJS)) -SOBJS := $(addprefix $(obj),$(SOBJS)) - -$(LIB): $(obj).depend $(OBJS) $(SOBJS) - $(call cmd_link_o_target, $(OBJS) $(SOBJS)) - -######################################################################### - -include $(SRCTREE)/rules.mk - -sinclude $(obj).depend - -######################################################################### +obj-y := apf27.o +obj-y += lowlevel_init.o +obj-$(CONFIG_FPGA) += fpga.o |