https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: a62e5871069f958e6f54e20349c253f3d8a63b0f authored by alex@thinkpad on 26 September 2018, 06:22:01 UTC
50D: experimental CONFIG_EDMAC_RAW_PATCH support from aprofiti
Tip revision: a62e587
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