summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 75a159a..bd50bdd 100644
--- a/Makefile
+++ b/Makefile
@@ -37,6 +37,7 @@ $(KERNBIN): $(ARCH_BOOT)/head.o $(OBJECTS)
$(CC) -Wl,--oformat binary -Ttext 0x1000 -o $@ \
-ffreestanding -nostdlib \
$^ -lgcc
+ printf "Kernel size: 0x%x\n" `stat -c "%s" $@`
%.o: %.s
$(AS) $< -o $@