There was an error while loading. Please reload this page.
This page describes the build setup for the Magic Lantern modules.
NOTE: mercurial must be installed
hg clone -u unified https://bitbucket.org/hudson/magic-lantern
Install Cross-Compiler for ARM architecture
a. Ubuntu
sudo apt-get install gcc-arm-none-eabi libnewlib-arm-none-eabi gcc-32bit lib32gcc-4.8-dev gcc-multilib g++-multilib
b. Arch
sudo pacman -S arm-none-eabi-gcc arm-none-eabi-newlib gcc-multilib
Edit Makefile.user in magic-lantern
Set Cross-Compiler Path
NOTE:
If the following error occurs:
../Makefile.modules:79: recipe for target 'io_crypt.dep' failed make: *** [io_crypt.dep] Error 1
Change this line (note the "$$8")
$(call build,DEPENDS,$(READELF) -sW $< | $(GREP) GLOBAL | $(GREP) 00000000 | $(GREP) UND | $(AWK) "{printt \$$8;}" | sort > $@ && cd $(MODULES_DIR) && $(PYTHON) checkdep.py $(MODULE_NAME))
to match this (note the "$8")
$(call build,DEPENDS,$(READELF) -sW $< | $(GREP) GLOBAL | $(GREP) 00000000 | $(GREP) UND | $(AWK) "{printt \$8;}" | sort > $@ && cd $(MODULES_DIR) && $(PYTHON) checkdep.py $(MODULE_NAME))