https://bitbucket.org/daniel_fort/magic-lantern
Raw File
Tip revision: ac942645e81f614cd1f505dcd29424bc5f3ade45 authored by daniel_fort on 10 March 2019, 05:04:42 UTC
Closed branch crop_rec_4k
Tip revision: ac94264
Makefile
TOP_DIR=..

############################################################################################################
# include platform data to build the rules for every model
# build the targets, by stripping the firmware version from the entries in PLATFORM_MAP above
#
# this allows e.g.
#   make 5D3
#   make 5D3.113
#   make 5D3.123
#   make 5D3_install
#   make 5D3.113_install
# on this platform Makefile
#
include Makefile.platform.map
$(foreach _,$(PLATFORM_MAP),$(eval $(call makerule,$(word 1, $(subst ., ,$_)),$_,./)))
#
# we want ML platforms to be built sequentially, to avoid conflicts
# => use .NOTPARALLEL in the upper-level Makefiles only
# parallel build is still used within each platform
.NOTPARALLEL:
#
############################################################################################################


include $(TOP_DIR)/Makefile.setup

beautify-stubs:
	for f in */stubs.S ; do python ../contrib/stub-format/stub-format.py $$f $$f; done

reorder-stubs:
	python ../contrib/stub-format/stub-reorder.py all

cleanup-stubs:
	python ../contrib/stub-format/stub-cleanup.py all

pretty-stubs: beautify-stubs reorder-stubs cleanup-stubs
back to top