Browse Source

update to current kernel to build with current gcc

pull/1/head
Izaya 8 months ago
parent
commit
7544fdc578
  1. 6
      Makefile

6
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)/

Loading…
Cancel
Save