objects.mk 410 B

12345678910111213141516171819
  1. #
  2. # SPDX-License-Identifier: BSD-2-Clause
  3. #
  4. # Copyright (c) 2019 Western Digital Corporation or its affiliates.
  5. #
  6. # Authors:
  7. # Anup Patel <anup.patel@wdc.com>
  8. #
  9. firmware-bins-$(FW_PAYLOAD) += payloads/test.bin
  10. test-y += test_head.o
  11. test-y += test_main.o
  12. %/test.o: $(foreach obj,$(test-y),%/$(obj))
  13. $(call merge_objs,$@,$^)
  14. %/test.dep: $(foreach dep,$(test-y:.o=.dep),%/$(dep))
  15. $(call merge_deps,$@,$^)