diff options
author | Mikhail Kobuk <m.kobuk@ispras.ru> | 2024-04-19 16:49:06 +0300 |
---|---|---|
committer | Mikhail Kobuk <m.kobuk@ispras.ru> | 2024-04-19 16:49:06 +0300 |
commit | f4cefe4dc7c39d138c807de9f5fc86fa88034346 (patch) | |
tree | b515cc0d2edd19c62f30a9ca96e08f94211dab2b | |
parent | abb12f81f2f1e3c1a96296041e280343cdefc6a7 (diff) | |
download | linux-f4cefe4dc7c39d138c807de9f5fc86fa88034346.tar.gz |
fix clean on all target, adjusted PHONY
-rw-r--r-- | Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
@@ -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" |