| Revision 866,
990 bytes
checked in by fe50, 3 years ago
(diff) |
Notes:
video may be buggy
fast shutter speed overrides (< 1/1500s) doesn't work
colormap probably needs adaptation
- added ixus960_sd950-100c to the makefile (copy of the 100d version, 100c and 100d are identical)
|
| Line | |
|---|
| 1 | curdir=./ |
|---|
| 2 | topdir=../../ |
|---|
| 3 | |
|---|
| 4 | include $(topdir)makefile.inc |
|---|
| 5 | SUBDIRS=resetcode |
|---|
| 6 | |
|---|
| 7 | LDLIBS= |
|---|
| 8 | LDOPTS=-nostdlib -Wl,--allow-shlib-undefined -Wl,--no-define-common,-EL,-T,$(topdir)tools/link-boot.ld |
|---|
| 9 | LDOPTS+=-Wl,-N,-Ttext,$(MEMBASEADDR) |
|---|
| 10 | |
|---|
| 11 | CPPFLAGS+=-I. |
|---|
| 12 | |
|---|
| 13 | CORE_FILE=$(topdir)core/main.bin |
|---|
| 14 | RESET_FILE=$(curdir)resetcode/main.bin |
|---|
| 15 | |
|---|
| 16 | CPPFLAGS+=-DCORE_FILE=\"$(CORE_FILE)\" |
|---|
| 17 | CPPFLAGS+=-DRESET_FILE=\"$(RESET_FILE)\" |
|---|
| 18 | |
|---|
| 19 | all: all-recursive main.bin |
|---|
| 20 | |
|---|
| 21 | OBJS=entry.o main.o blobs.o |
|---|
| 22 | |
|---|
| 23 | main.bin: main.elf |
|---|
| 24 | @echo $< \-\> $@ |
|---|
| 25 | $(OBJDUMP) -z -d main.elf > main.dump |
|---|
| 26 | $(OBJCOPY) -O binary main.elf main.bin |
|---|
| 27 | |
|---|
| 28 | main.elf: $(OBJS) |
|---|
| 29 | @echo \-\> $@ |
|---|
| 30 | $(CC) $(CFLAGS) -o $@ $^ $(LDLIBS) $(LDFLAGS) $(LDOPTS) |
|---|
| 31 | ( $(NM) $@ | grep ' U ' > $@.syms ) && exit 1 || exit 0 |
|---|
| 32 | |
|---|
| 33 | clean: clean-recursive |
|---|
| 34 | rm -f $(OBJS) main.bin main.elf main.dump main.elf.syms |
|---|
| 35 | |
|---|
| 36 | distclean: distclean-recursive |
|---|
| 37 | rm -f $(OBJS) main.bin main.elf main.dump main.elf.syms |
|---|
| 38 | rm -f reboot_core.h copy_and_reset.h |
|---|
| 39 | |
|---|
| 40 | blobs.o: $(RESET_FILE) $(CORE_FILE) |
|---|
| 41 | |
|---|
| 42 | include $(topdir)bottom.inc |
|---|
Note: See
TracBrowser
for help on using the repository browser.