aboutsummaryrefslogtreecommitdiff
path: root/Makefile.all
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2023-03-05 11:33:30 +0200
committeraqua <aqua@iserlohn-fortress.net>2023-03-05 11:33:30 +0200
commitc329c44db94a941974d6bfc8a8f661ebf5efa615 (patch)
tree9c990658103b2d0f16fe3f246f4d53e55395670d /Makefile.all
parentImport kconfig from the linux kernel (diff)
downloadkernel-c329c44db94a941974d6bfc8a8f661ebf5efa615.tar.xz
Add TARGETBIN and TARGETLIB rules
Diffstat (limited to 'Makefile.all')
-rw-r--r--Makefile.all5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.all b/Makefile.all
index 0909e0e..a92631f 100644
--- a/Makefile.all
+++ b/Makefile.all
@@ -7,7 +7,9 @@ include Makefile.config
${ARCH}_LDFLAGS += -T ${ARCH}/linker.ld
-TARGETS += glitch.elf
+TARGETBIN += glitch
+glitch.OBJS += ${ARCH}/arch.a src/kernel.a devices/devs.a lib/libk.a
+
include rules.mk
.PHONY: run info
@@ -34,7 +36,6 @@ info:
@echo " QEMU: ${QEMU}"
# build targets
-glitch.elf: ${ARCH}/arch.a src/kernel.a devices/devs.a lib/libk.a
glitch.iso: glitch.elf grub/grub.cfg
@grub-file --is-x86-multiboot2 glitch.elf