summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMikhail Kobuk <m.kobuk@ispras.ru>2024-04-19 16:49:06 +0300
committerMikhail Kobuk <m.kobuk@ispras.ru>2024-04-19 16:49:06 +0300
commitf4cefe4dc7c39d138c807de9f5fc86fa88034346 (patch)
treeb515cc0d2edd19c62f30a9ca96e08f94211dab2b /Makefile
parentabb12f81f2f1e3c1a96296041e280343cdefc6a7 (diff)
downloadlinux-f4cefe4dc7c39d138c807de9f5fc86fa88034346.tar.gz
fix clean on all target, adjusted PHONY
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ec1ba4f..65abeb9 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,7 @@ OUT_FMT = $(SED_SUBST) $(SILENCE)
default: all
-all: pre_install install post_install clean clean_misc
+all: pre_install install post_install
pre_install: interliner $(VERSION).tar
# rm -f linux-6.8.4.tar.xz
@@ -49,12 +49,21 @@ install: interliner $(VERSION) clear.ok patch patch.ok build build.ok
@printf "> MAKING::$@::DONE\n"
+reinstall: interliner $(VERSION) clear.ok patch patch.ok build build.ok
+ @printf "> MAKING::$@\n"
+ tar -xvf linux-6.8.4.tar.xz 2>tar.err.log | sed 's/^/\t=> /g' $(OUT_FMT)
+ 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"
+
+install: interliner $(VERSION) clear.ok patch patch.ok build build.ok
+ @printf "> MAKING::$@\n"
post_install: interliner
# @printf "> MAKING::$@\n"
@printf "> MAKING::$@::DONE\n"
-.PHONY: pre_install install post_install
+.PHONY: pre_install install post_install clean clean_misc
$(VERSION).tar: $(VERSION).tar.xz $(VERSION).tar.sign
@printf "\t> MAKING::$@\n"