summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ae9877b..91cdb5a 100644
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,7 @@ OBJCOPY := $(CROSS)objcopy
CFLAGS := -nostdlib -ffreestanding -mgeneral-regs-only \
-fno-builtin -fno-stack-protector -fno-pie -no-pie \
- -Wall -Werror -O2 -DTB_ENABLE_MMU \
+ -Wall -Werror -O2 \
-Iinclude -Iarch/arm64/include
LDFLAGS := -T arch/arm64/kernel/tashaboot.lds
@@ -42,6 +42,7 @@ build/tashaboot.elf: $(OBJS) arch/arm64/kernel/tashaboot.lds
build/tashaboot.bin: build/tashaboot.elf
$(OBJCOPY) -O binary $< $@
+ python3 tools/fillsize.py $@
%.o: %.c
$(CC) $(CFLAGS) -c -o $@ $<