diff options
author | Joursoir <chat@joursoir.net> | 2021-10-07 20:37:48 +0000 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2021-10-07 20:37:48 +0000 |
commit | 1312235319486dbc00eafba2e4b4d18ddc9bfa24 (patch) | |
tree | 271c7c95d3e1a32a7f50527acfcf7f43dddcee57 /Makefile | |
parent | 2a6743666345e6a9d4452533efdc75ba143d0869 (diff) | |
download | mfsos-1312235319486dbc00eafba2e4b4d18ddc9bfa24.tar.gz mfsos-1312235319486dbc00eafba2e4b4d18ddc9bfa24.tar.bz2 mfsos-1312235319486dbc00eafba2e4b4d18ddc9bfa24.zip |
make: print a size of the compiled kernel
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 $@ |