https://bitbucket.org/hudson/magic-lantern
Raw File
Tip revision: 284c98443573705c42002c179320a0bd13753e43 authored by a1ex on 12 December 2011, 20:27:12 UTC
Optimize for size
Tip revision: 284c984
Makefile
#Makefile for an autoexec.bin able to run on all cameras

TOP_DIR=../..
include $(TOP_DIR)/Makefile.top

MODEL=550D.60D.600D.50D.500D

include  $(TOP_DIR)/Makefile.inc

autoexec-all: reboot-all.o
	$(call build,LD,$(LD) \
		-o autoexec-all \
		-nostdlib \
		-march=armv5te \
		-e _start \
		-Ttext 0x800000 \
		$^ \
	); \

ROMBASEADDR		= 0xFF010000

x: autoexec-all autoexec-all.bin
	cp autoexec-all.bin autoexec.bin
	stat -c "autoexec.bin: %s bytes" autoexec.bin; \

back to top