summaryrefslogtreecommitdiff
path: root/firmware/payloads/objects.mk
blob: 039559953a12ab229ff629a0a9d9ab0f5ceda811 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# Copyright (c) 2018 Western Digital Corporation or its affiliates.
#
# Authors:
#   Anup Patel <anup.patel@wdc.com>
#
# SPDX-License-Identifier: BSD-2-Clause
#

firmware-bins-$(FW_PAYLOAD) += payloads/test.bin

test-y += test_head.o
test-y += test_main.o

%/test.o: $(foreach obj,$(test-y),%/$(obj))
	$(call merge_objs,$@,$^)

%/test.dep: $(foreach dep,$(test-y:.o=.dep),%/$(dep))
	$(call merge_deps,$@,$^)