mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-19 11:18:28 +00:00
1a4596601f
Signed-off-by: Wolfgang Denk <wd@denx.de> [trini: Fixup common/cmd_io.c] Signed-off-by: Tom Rini <trini@ti.com>
29 lines
661 B
Makefile
29 lines
661 B
Makefile
#
|
|
# Copyright (C) 2012 Samsung Electronics
|
|
# Lukasz Majewski <l.majewski@samsung.com>
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
include $(TOPDIR)/config.mk
|
|
|
|
LIB = $(obj)libdfu.o
|
|
|
|
COBJS-$(CONFIG_DFU_FUNCTION) += dfu.o
|
|
COBJS-$(CONFIG_DFU_MMC) += dfu_mmc.o
|
|
COBJS-$(CONFIG_DFU_NAND) += dfu_nand.o
|
|
|
|
SRCS := $(COBJS-y:.o=.c)
|
|
OBJS := $(addprefix $(obj),$(COBJS-y))
|
|
|
|
$(LIB): $(obj).depend $(OBJS)
|
|
$(call cmd_link_o_target, $(OBJS))
|
|
|
|
#########################################################################
|
|
|
|
# defines $(obj).depend target
|
|
include $(SRCTREE)/rules.mk
|
|
|
|
sinclude $(obj).depend
|
|
|
|
#########################################################################
|