From ec9e498814ec2b58e9f38a33cea918b7f04d925c Mon Sep 17 00:00:00 2001 From: Matheus Date: Sat, 8 Apr 2023 02:09:16 -0300 Subject: [PATCH] kernel: fetch limine.h from github --- .gitignore | 1 + Makefile | 2 +- source-recipes/astral | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 0f920321..854240b5 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ jinx pkgs sources astral.iso +kernel-src/include/limine.h diff --git a/Makefile b/Makefile index f9f6b903..bb4e871b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ ISODIR=$(shell pwd)/iso ISO=astral.iso LIMINEDIR=$(shell pwd)/host-pkgs/limine/usr/local/share/limine/ -KERNEL=pkgs/astral/boot/astral +KERNEL=$(shell pwd)/pkgs/astral/boot/astral QEMUFLAGS=-cdrom $(ISO) -m 2G -smp cpus=2 -monitor stdio -debugcon file:/dev/stdout -serial file:/dev/stdout # hacky but works :') .PHONY: all kernel clean clean-kernel iso diff --git a/source-recipes/astral b/source-recipes/astral index a06ab615..1abf6092 100644 --- a/source-recipes/astral +++ b/source-recipes/astral @@ -1,7 +1,8 @@ name=astral version=0 source_dir="kernel-src" +allow_network="yes" regenerate() { - true + curl https://raw.githubusercontent.com/limine-bootloader/limine/trunk/limine.h > include/limine.h }