diff options
Diffstat (limited to 'board/altera/socfpga/Makefile')
-rw-r--r-- | board/altera/socfpga/Makefile | 30 |
1 files changed, 2 insertions, 28 deletions
diff --git a/board/altera/socfpga/Makefile b/board/altera/socfpga/Makefile index 9dc45a9..de339ec 100644 --- a/board/altera/socfpga/Makefile +++ b/board/altera/socfpga/Makefile @@ -6,31 +6,5 @@ # SPDX-License-Identifier: GPL-2.0+ # -include $(TOPDIR)/config.mk - -LIB = $(obj)lib$(BOARD).o - -COBJS-y := socfpga_cyclone5.o -COBJS-$(CONFIG_SPL_BUILD) += pinmux_config.o - -COBJS := $(COBJS-y) -SRCS := $(COBJS:.o=.c) -OBJS := $(addprefix $(obj),$(COBJS)) - -$(LIB): $(obj).depend $(OBJS) - $(call cmd_link_o_target, $(OBJS)) - -clean: - rm -f $(OBJS) - -distclean: clean - rm -f $(LIB) core *.bak $(obj).depend - -######################################################################### - -# defines $(obj).depend target -include $(SRCTREE)/rules.mk - -sinclude $(obj).depend - -######################################################################### +obj-y := socfpga_cyclone5.o +obj-$(CONFIG_SPL_BUILD) += pinmux_config.o |