From 61f2f69fdf356b038f24d421d078f8d899fa9a7f Mon Sep 17 00:00:00 2001 From: Jeff Lindsay Date: Wed, 24 Apr 2024 10:17:48 -0700 Subject: [PATCH] Makefile: add version to wanix build --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 37324e3..dc57aea 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ loader: all wanix: local/bin/wanix local/bin/wanix: kernel initfs - go build -o ./local/bin/ ./cmd/wanix + go build -ldflags="-X 'main.Version=${VERSION}' -o ./local/bin/ ./cmd/wanix kernel: boot/kernel.gz boot/kernel.gz: