2015-04-17 14:22:38 +00:00
|
|
|
####################################################################################
|
|
|
|
####################################################################################
|
2021-09-15 15:03:11 +00:00
|
|
|
## Copyright (c) 2018 - 2021 Analog Devices, Inc.
|
|
|
|
### SPDX short identifier: BSD-1-Clause
|
2015-04-17 14:22:38 +00:00
|
|
|
## Auto-generated, do not modify!
|
|
|
|
####################################################################################
|
|
|
|
####################################################################################
|
2018-03-25 07:21:37 +00:00
|
|
|
|
|
|
|
include quiet.mk
|
|
|
|
|
2015-04-17 14:22:38 +00:00
|
|
|
help:
|
|
|
|
@echo ""
|
|
|
|
@echo "Please specify a target."
|
|
|
|
@echo ""
|
|
|
|
@echo "To make all projects:"
|
|
|
|
@echo " make all"
|
|
|
|
@echo ""
|
|
|
|
@echo "To build a specific project:"
|
|
|
|
@echo " make proj.board"
|
|
|
|
@echo "e.g.,"
|
2018-03-23 13:58:13 +00:00
|
|
|
@echo " make adv7511.zed"
|
2015-04-17 14:22:38 +00:00
|
|
|
|
|
|
|
|
2018-03-23 13:55:42 +00:00
|
|
|
PROJECTS := $(filter-out $(NO_PROJ), $(notdir $(wildcard projects/*)))
|
|
|
|
SUBPROJECTS := $(foreach projname,$(PROJECTS), \
|
2018-03-23 15:03:16 +00:00
|
|
|
$(foreach archname,$(notdir $(subst /Makefile,,$(wildcard projects/$(projname)/*/Makefile))), \
|
2018-03-23 13:55:42 +00:00
|
|
|
$(projname).$(archname)))
|
|
|
|
|
2019-04-12 12:09:06 +00:00
|
|
|
.PHONY: lib all clean clean-ipcache clean-all $(SUBPROJECTS)
|
2018-03-23 13:55:42 +00:00
|
|
|
|
|
|
|
$(SUBPROJECTS):
|
|
|
|
$(MAKE) -C projects/$(subst .,/,$@)
|
2015-04-17 14:22:38 +00:00
|
|
|
|
|
|
|
lib:
|
2018-03-06 12:36:06 +00:00
|
|
|
$(MAKE) -C library/ all
|
2015-04-17 14:22:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
all:
|
2018-03-06 12:36:06 +00:00
|
|
|
$(MAKE) -C projects/ all
|
2015-04-17 14:22:38 +00:00
|
|
|
|
|
|
|
|
|
|
|
clean:
|
2018-03-06 12:36:06 +00:00
|
|
|
$(MAKE) -C projects/ clean
|
2015-04-17 14:22:38 +00:00
|
|
|
|
2019-04-12 12:09:06 +00:00
|
|
|
clean-ipcache:
|
|
|
|
$(call clean, \
|
|
|
|
ipcache, \
|
|
|
|
$(HL)IP Cache$(NC))
|
2015-04-17 14:22:38 +00:00
|
|
|
|
2019-04-12 12:09:06 +00:00
|
|
|
clean-all:clean clean-ipcache
|
2018-03-06 12:36:06 +00:00
|
|
|
$(MAKE) -C projects/ clean
|
|
|
|
$(MAKE) -C library/ clean
|
2015-04-17 14:22:38 +00:00
|
|
|
|
|
|
|
####################################################################################
|
|
|
|
####################################################################################
|