https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: fb11d29c5e341eb9e74c443e3e1f3f4b574d10c8 authored by alex@thinkpad on 06 August 2017, 20:26:25 UTC
Imported scnprintf/vscnprintf from Linux kernel - turns out, we were using snprintf wrong - https://lwn.net/Articles/69419/
Tip revision: fb11d29
Makefile
TOP_DIR=..

include Makefile.platform.map

include $(TOP_DIR)/Makefile.setup

MAKE_SUPPORTED_MODELS:=$(call make_platform_dirs, $(SUPPORTED_MODELS))

all:: all-supported-models all-model

all-supported-unified-models: $(SUPPORTED_UNIFIED_MODELS)

all-supported-models: $(SUPPORTED_MODELS)

clean-supported-models:

all-model: all-supported-models
	+$(MAKE) -C all x

install-all-model:
	+$(MAKE) -C all install

clean-all-model:
	+$(MAKE) -C all clean

clean: clean-all-model $(PLATFORM_CLEAN_ALL_TARGETS)

install:

$(PLATFORM_CLEAN_ALL_TARGETS):
	$(call call_make_platform)

# This rule is able to run make for specific model (defined in ALL_SUPPORTED_MODELS), for example for 60D
$(ALL_SUPPORTED_MODELS):
	$(call call_make_platform)

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