]>
git.ipfire.org Git - people/ms/u-boot.git/blob - board/sandburst/karef/Makefile
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
6 # Sandburst Corporation
9 # SPDX-License-Identifier: GPL-2.0+
12 include $(TOPDIR
)/config.mk
13 ifneq ($(OBJTREE
),$(SRCTREE
))
14 $(shell mkdir
-p
$(obj
)..
/common
)
17 # TBS: add for debugging purposes
18 BUILDUSER
:= $(shell whoami
)
19 FORCEBUILD
:= $(shell rm -f
$(LIB
) $(BOARD
).o
)
21 CFLAGS
+= -DBUILDUSER
='"$(BUILDUSER)"'
25 LIB
= $(obj
)lib
$(BOARD
).o
27 COBJS
= $(BOARD
).o ..
/common
/flash.o ..
/common
/sb_common.o
31 SRCS
:= $(SOBJS
:.o
=.S
) $(COBJS
:.o
=.c
)
32 OBJS
:= $(addprefix $(obj
),$(COBJS
))
33 SOBJS
:= $(addprefix $(obj
),$(SOBJS
))
35 $(LIB
): $(OBJS
) $(SOBJS
)
36 $(call cmd_link_o_target
, $(OBJS
))
38 #########################################################################
40 # defines $(obj).depend target
41 include $(SRCTREE
)/rules.mk
43 sinclude
$(obj
).depend
45 #########################################################################