Add a target to update version.o
This commit is contained in:
parent
db7020cbce
commit
6eb0045419
7
Makefile
7
Makefile
@ -40,7 +40,7 @@ ENDRM = util/mk-end-rm
|
|||||||
EMUARGS = -kernel toaruos-kernel -m 256 -initrd toaruos-initrd -append "vid=qemu hdd" -serial stdio -vga std -hda toaruos-disk.img
|
EMUARGS = -kernel toaruos-kernel -m 256 -initrd toaruos-initrd -append "vid=qemu hdd" -serial stdio -vga std -hda toaruos-disk.img
|
||||||
EMUKVM = -enable-kvm
|
EMUKVM = -enable-kvm
|
||||||
|
|
||||||
.PHONY: all check-toolchain system clean clean-once clean-hard clean-soft clean-docs clean-bin clean-aux clean-core clean-boot install run docs utils
|
.PHONY: all check-toolchain system clean clean-once clean-hard clean-soft clean-docs clean-bin clean-aux clean-core update-version clean-boot install run docs utils
|
||||||
.SECONDARY:
|
.SECONDARY:
|
||||||
|
|
||||||
all: .passed system bootdisk.img docs utils tags
|
all: .passed system bootdisk.img docs utils tags
|
||||||
@ -270,6 +270,11 @@ clean-once:
|
|||||||
@-rm -f .passed
|
@-rm -f .passed
|
||||||
@${ENDRM} "RM" "Cleaned one-time files"
|
@${ENDRM} "RM" "Cleaned one-time files"
|
||||||
|
|
||||||
|
update-version:
|
||||||
|
@-rm -f kernel/sys/version.o
|
||||||
|
@touch kernel/sys/version.c
|
||||||
|
@${INFO} "info" "Kernel version information will be updated on next build."
|
||||||
|
|
||||||
|
|
||||||
# vim:noexpandtab
|
# vim:noexpandtab
|
||||||
# vim:tabstop=4
|
# vim:tabstop=4
|
||||||
|
Loading…
Reference in New Issue
Block a user