diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -1,6 +1,7 @@ VERSION=linux-6.8.4 VERSION_DISTR = $(VERSION)-vmkos -VERSION_BUILD = $(VERSION_DISTR)=-night +VERSION_BUILD = $(VERSION_DISTR)-night +CLEAN_BUILD = $(subst linux-,,$(VERSION_BUILD)) TRUSTED_KEYS = ABAF11C65A2970B130ABE3C479BE3E4300411886 # Linus Torvalds TRUSTED_KEYS += 647F28654894E3BD457199BE38DBBDC86092693E # Greg Kroah-Hartman @@ -9,6 +10,7 @@ SRC_URL = https://cdn.kernel.org/pub/linux/kernel/v6.x/$(VERSION).tar.xz # PGP_SGN_URL = https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-6.8.4.tar.sign CFLAGS = -std=gnu2x -Wall -Werror -Wno-pointer-sign -Werror=vla +C_ARCH = $$(uname -m) ifdef ONELINE_OUTPUT # SED_SUBST = | stdbuf --output=L sed 's/^/\\e[0A\\e[K3<>/gi' @@ -39,7 +41,12 @@ pre_install: interliner $(VERSION).tar @printf "> MAKING::$@::DONE\n" install: interliner $(VERSION) clear.ok patch patch.ok build build.ok - # @printf "> MAKING::$@\n" + @printf "> MAKING::$@\n" + + sudo install -C -m755 $(VERSION)/arch/$(C_ARCH)/boot/bzImage /boot/vmlinuz-linux-VMKOS + + ./mkcp.sh $(VERSION) | sed 's/^/\t==> /g' $(SED_SUBST) $(OUT_FMT) + @printf "> MAKING::$@::DONE\n" @@ -84,7 +91,12 @@ patch: ./patch.sh build: ./build.sh @printf "\t> MAKING::$@\n" - ./build.sh $(VERSION) $(VERSION_BUILD) | sed 's/^/\t==> /g' $(SED_SUBST) $(OUT_FMT) + ./build.sh $(VERSION) $(CLEAN_BUILD) | sed 's/^/\t==> /g' $(SED_SUBST) $(OUT_FMT) + @printf "\t> MAKING::$@::DONE\n" + +mkcp: ./mkcp.sh + @printf "\t> MAKING::$@\n" + ./mkcp.sh $(VERSION) $(CLEAN_BUILD) | sed 's/^/\t==> /g' $(SED_SUBST) $(OUT_FMT) @printf "\t> MAKING::$@::DONE\n" interliner: interliner.c |