blob: 1659c3a8a339f315c9e419aab1a0e0b132b975d9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
TOOLSDIR := $(PWD)/tools
KERNELDIR := $(PWD)/kernel
SYSROOTDIR := $(PWD)/sysroot
APPSDIR := $(PWD)/apps
INITRDDIR := $(PWD)/initrd
LIBDIR := $(PWD)/lib
LIMINE_VERSION := 8.x
LIMINE_ORIGIN := https://github.com/limine-bootloader/limine.git
LIMINE_DIR := $(PWD)/limine
LIMINE_GETCMD := git clone $(LIMINE_ORIGIN) --branch=v$(LIMINE_VERSION)-binary --depth 1 $(LIMINE_DIR)
TARGET_MACHINE = x86_64
TARGET_OS = jove
TARGET_TRIPLET = $(TARGET_MACHINE)-$(TARGET_OS)
TARGET_BOOTLOADER = limine
APPS := $(INITRDDIR)/files/bin/init
STATICLIBS := $(SYSROOTDIR)/lib/libjove.a \
$(SYSROOTDIR)/lib/libc-headless.a
CC := $(TOOLSDIR)/bin/$(TARGET_TRIPLET)-gcc
LD := $(TOOLSDIR)/bin/$(TARGET_TRIPLET)-ld
AS := $(TOOLSDIR)/bin/$(TARGET_TRIPLET)-as
AR := $(TOOLSDIR)/bin/$(TARGET_TRIPLET)-ar
|