From 7544fdc578fc665acd89139d535e282a64fb788b Mon Sep 17 00:00:00 2001 From: XeonSquared Date: Sun, 23 May 2021 12:10:21 +1000 Subject: [PATCH] update to current kernel to build with current gcc --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0689d1c..052fd35 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # LuPI2 Makefile # Default compiler settings. -PREFIX?=x86_64-linux-musl +PREFIX?=powerpc-linux-musl CC = $(PREFIX)-gcc CFLAGS?=-O2 -std=c99 -fdata-sections -ffunction-sections -pthread @@ -67,10 +67,10 @@ web: iso bin/web #### -ISOKERNEL=linux-4.5.2 +ISOKERNEL=linux-5.12.1 dependencies/$(ISOKERNEL).tar.xz: - cd dependencies && wget https://cdn.kernel.org/pub/linux/kernel/v4.x/$(ISOKERNEL).tar.xz + cd dependencies && wget https://cdn.kernel.org/pub/linux/kernel/v5.x/$(ISOKERNEL).tar.xz dependencies/$(ISOKERNEL)/arch/x86/boot/bzImage: $(BUILD)lupi.cpio dependencies/$(ISOKERNEL).tar.xz rm -rf dependencies/$(ISOKERNEL)/