https://bitbucket.org/hudson/magic-lantern
Revision f64a58c6a3c72e3f3a3a514a61dd62e554c813bd authored by Giovanni Condello on 05 September 2013, 09:01:13 UTC, committed by Giovanni Condello on 05 September 2013, 09:01:13 UTC
1 parent aaf7f5d
Raw File
Tip revision: f64a58c6a3c72e3f3a3a514a61dd62e554c813bd authored by Giovanni Condello on 05 September 2013, 09:01:13 UTC
cr2hdr: Makefile cleanup / split
Tip revision: f64a58c
Makefile.platform.map
PLATFORM_MAP = \
	40D.111 \
	50D.109 \
	5D2.212 \
	5DC.111 \
	60D.111 \
	7D.203 \
	1100D.105 \
	500D.111 \
	550D.109 \
	5D3.113 \
	600D.102 \
	650D.104 \
	6D.113 \
	7D_MASTER.203 \
	EOSM.106 \
	700D.111 \
	100D.100

platform_map = $(filter $(1).%, $(PLATFORM_MAP))

make_platform_dirs = $(foreach elem,$(1),$(call platform_map,$(elem)))

ALL_SUPPORTED_MODELS=$(basename $(PLATFORM_MAP))

platform_version = $(patsubst $(strip $(1)).%,%,$(call platform_map, $(1)))

PLATFORM_CLEAN_ALL_TARGETS = $(call targets_rules, $(ALL_SUPPORTED_MODELS), clean)

PLATFORM_INSTALL_ALL_TARGETS = $(call targets_rules, $(ALL_SUPPORTED_MODELS), install)

PLATFORM_INSTALL_SUPPORTED_TARGETS = $(call targets_rules, $(SUPPORTED_MODELS), install)

call_make_platform = $(call call_make_rule_ex, platform_map, $(PLATFORM_PATH))
back to top