diff options
Diffstat (limited to 'board/sandburst/karef/Makefile')
-rw-r--r-- | board/sandburst/karef/Makefile | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/board/sandburst/karef/Makefile b/board/sandburst/karef/Makefile index af758f9..05c8187 100644 --- a/board/sandburst/karef/Makefile +++ b/board/sandburst/karef/Makefile @@ -9,37 +9,16 @@ # SPDX-License-Identifier: GPL-2.0+ # -include $(TOPDIR)/config.mk ifneq ($(OBJTREE),$(SRCTREE)) $(shell mkdir -p $(obj)../common) endif # TBS: add for debugging purposes BUILDUSER := $(shell whoami) -FORCEBUILD := $(shell rm -f $(LIB) $(BOARD).o) +FORCEBUILD := $(shell rm -f karef.o) CFLAGS += -DBUILDUSER='"$(BUILDUSER)"' # TBS: end debugging - -LIB = $(obj)lib$(BOARD).o - -COBJS = $(BOARD).o ../common/flash.o ../common/sb_common.o - -SOBJS = init.o - -SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) -OBJS := $(addprefix $(obj),$(COBJS)) -SOBJS := $(addprefix $(obj),$(SOBJS)) - -$(LIB): $(OBJS) $(SOBJS) - $(call cmd_link_o_target, $(OBJS)) - -######################################################################### - -# defines $(obj).depend target -include $(SRCTREE)/rules.mk - -sinclude $(obj).depend - -######################################################################### +obj-y = karef.o ../common/flash.o ../common/sb_common.o +extra-y += init.o |