Skip to content

Commit a41ec49

Browse files
committed
Makefile: Add debug target
1 parent 8b4c872 commit a41ec49

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ OBJCOPY = $(CROSS)objcopy
3838

3939
OBJFILES = startup.o loader.o fb.o ipodhw.o console.o minilibc.o ata2.o vfs.o fat32.o ext2.o fwfs.o keypad.o menu.o config.o macpartitions.o interrupts.o interrupt-entry.o
4040

41+
debug: MYCFLAGS += -DDEBUG
42+
debug: all
43+
4144
all: loader.bin $(OBJFILES) Makefile
4245
# @echo "Building firmware image"
4346
# @./make_fw -g 4g -o my_sw.bin -i apple_os.bin $<

0 commit comments

Comments
 (0)