aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2021-08-31 15:00:21 -0700
committerChristian Cunningham <cc@localhost>2021-08-31 15:00:21 -0700
commit4024657bc4b6983e23540716be9ef3ce484aba2b (patch)
treeb0dd659c00674f950a3421529e480a3de1c2f7d7 /Makefile
parent04fbe1fd96d47c142b56c35d94d92815d7498942 (diff)
Dump Debug File Symbols
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ac280b3..25f82e8 100644
--- a/Makefile
+++ b/Makefile
@@ -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}