diff options
author | Christian Cunningham <cc@localhost> | 2021-08-31 15:00:21 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2021-08-31 15:00:21 -0700 |
commit | 4024657bc4b6983e23540716be9ef3ce484aba2b (patch) | |
tree | b0dd659c00674f950a3421529e480a3de1c2f7d7 /Makefile | |
parent | 04fbe1fd96d47c142b56c35d94d92815d7498942 (diff) |
Dump Debug File Symbols
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -10,6 +10,7 @@ CROSS = arm-none-eabi CC = ${CROSS}-gcc AS = ${CROSS}-as OBJCOPY = ${CROSS}-objcopy +OBJDUMP = ${CROSS}-objdump QEMU = qemu-system-arm GDB = gdb-multiarch CFLAGS = -mcpu=cortex-a7 -fpic -ffreestanding -std=gnu99 -O2 -Wall -Wextra -nostdlib -g @@ -23,7 +24,7 @@ default: clean build/kernel7.img build/kernel7.img: build/kernel.elf ${OBJCOPY} $< -O binary $@ -build/kernel.list: build/kernel.elf +build/kernel.list: build/kernel-g.elf ${OBJDUMP} -D $< > $@ build/kernel-g.elf: ${A_OBJECTD} ${C_OBJECTD} |