https://bitbucket.org/daniel_fort/magic-lantern
Raw File
Tip revision: 2367b364d7e188649069e57e0861ec4b241e06e8 authored by alex@thinkpad on 08 July 2012, 13:46:13 UTC
Minor menu help fix
Tip revision: 2367b36
Makefile
#Makefile for 1100D firmware 105

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

#must be defined first because they are used in Makefile.inc, for $(VERSION) for example
FW_VERSION=105
MODEL=1100D
UPDATE_NAME=1100d_105_fake.fir

#used in CFLAGS
PLATFORM_INC=.

PLATFORM_DIR=$(PLATFORM_PATH)/$(MODEL).$(FW_VERSION)

# magiclantern.lds script MUST be first
# entry.o MUST be second
# menu.o and debug.o must come before the modules
ML_OBJS-y = \
	magiclantern.lds \
	$(SRC_DIR)/entry.o \
	boot-hack.o \
	stubs.o \
	version.o \
	bmp.o \
	font-dyn.o \
	config.o \
	menu.o \
	debug.o \
	stdio.o \
	audio.o \
	bitrate.o \
	tweaks.o \
	lens.o \
	property.o \
	propvalues.o \
	gui.o \
	gui-common.o \
	misc.o \
	picstyle.o \
	cfn.o \
	zebra.o \
	shoot.o \
	chdk-gui_draw.o \
	movtweaks.o \
	my_memset.o \
	menuhelp.o \
	menuindex.o \
	af_patterns.o \
	focus.o \
	notify_box.o \
	qtimer.o \
	dialog_test.o \
	bootflags.o \
	vram.o \
	morse.o \
	liveview.o \
	reloc.o \
	aj_port.o \
	fps-engio.o \
	cartridge.o \
	hdr.o \
	lv-img-engio.o \
	state-object.o \
	tasks.o \

#include generic rules and definitions

include  $(TOP_DIR)/Makefile.inc

# DryOSmemory map
# RESTARTSTART is selected to be just above the end of the bss
#
ROMBASEADDR		= 0xFF010000
#RESTARTSTART		= 0x0008B000
RESTARTSTART		= 0xC80100

#not used but...
FIRMWARE_ID_1100D	= 0x80000288

all: autoexec.bin
back to top