From 4024657bc4b6983e23540716be9ef3ce484aba2b Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Tue, 31 Aug 2021 15:00:21 -0700 Subject: Dump Debug File Symbols --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile') 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} -- cgit v1.2.1