https://bitbucket.org/hudson/magic-lantern
Revision 23abd3bb7fa5a2391853c11af7524e3dfb771753 authored by g3gg0 on 02 June 2017, 22:17:17 UTC, committed by g3gg0 on 02 June 2017, 22:17:17 UTC
1 parent 0200756
Raw File
Tip revision: 23abd3bb7fa5a2391853c11af7524e3dfb771753 authored by g3gg0 on 02 June 2017, 22:17:17 UTC
dual_iso: temporary patch for module_get_string API change - probably needs a revert before merging crop_rec_4k into unified
Tip revision: 23abd3b
Makefile.platform.base

ifndef ML_SRC_PROFILE
$(error ML_SRC_PROFILE is not defined)
endif

ifndef MODEL
$(error Camera MODEL is not defined)
endif

include $(TOP_DIR)/Makefile.top

include $(PLATFORM_PATH)/Makefile.platform.map

ifndef FW_VERSION
FW_VERSION=$(call platform_version,$(MODEL))
endif

#not used?
ML_VERSION=unified1

ifndef ML_MODEL_DIR
ML_MODEL_DIR = $(MODEL).$(FW_VERSION)
endif

PLATFORM_DIR=$(PLATFORM_PATH)/$(ML_MODEL_DIR)
PLATFORM_INC=$(PLATFORM_DIR)

# must have 8.3 characters for 64GB EXFAT cards
UPDATE_NAME_FIR=ML-SETUP.FIR

ifndef ML_MAKEFILE_PLATFORM_SETUP
ML_MAKEFILE_PLATFORM_SETUP = $(PLATFORM_DIR)/Makefile.platform.default
endif

-include $(ML_MAKEFILE_PLATFORM_SETUP)

ifndef AUTOEXEC_BASE
AUTOEXEC_BASE	= 0x40800000
endif

ifndef FIR_BASE
FIR_BASE	= 0x40800120
endif

ifndef ROMBASEADDR
$(error ROMBASEADDR is not defined)
endif

ifndef RESTARTSTART
$(error RESTARTSTART is not defined)
endif

include $(TOP_DIR)/Makefile.setup

include $(SRC_DIR)/Makefile.src

include $(PLATFORM_PATH)/Makefile.platform.extras
back to top