diff options
-rw-r--r-- | win32/resources/Kbuild.src | 2 | ||||
-rw-r--r-- | win32/resources/resources.rc | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/win32/resources/Kbuild.src b/win32/resources/Kbuild.src index 550eddaa0..9e5fe4e10 100644 --- a/win32/resources/Kbuild.src +++ b/win32/resources/Kbuild.src | |||
@@ -12,7 +12,7 @@ obj-$(CONFIG_FEATURE_RESOURCES) += dummy.o | |||
12 | # return commit level if available or 0 | 12 | # return commit level if available or 0 |
13 | bb_level = $(or $(word 2,$(subst -, ,$1)),0) | 13 | bb_level = $(or $(word 2,$(subst -, ,$1)),0) |
14 | 14 | ||
15 | WRFLAGS := -D"KBUILD_STR(s)=\#s" -D"BB_VER=KBUILD_STR($(BB_VER))" \ | 15 | WRFLAGS := -D"BB_VER=$(BB_VER)" \ |
16 | -D"BB_VERSION=$(VERSION)" -D"BB_PATCHLEVEL=$(PATCHLEVEL)" \ | 16 | -D"BB_VERSION=$(VERSION)" -D"BB_PATCHLEVEL=$(PATCHLEVEL)" \ |
17 | -D"BB_SUBLEVEL=$(SUBLEVEL)" \ | 17 | -D"BB_SUBLEVEL=$(SUBLEVEL)" \ |
18 | -D"BB_EXTRAVERSION=$(call bb_level,$(EXTRAVERSION))" \ | 18 | -D"BB_EXTRAVERSION=$(call bb_level,$(EXTRAVERSION))" \ |
diff --git a/win32/resources/resources.rc b/win32/resources/resources.rc index 2b9619cef..f459ebb73 100644 --- a/win32/resources/resources.rc +++ b/win32/resources/resources.rc | |||
@@ -1,4 +1,6 @@ | |||
1 | #include <autoconf.h> | 1 | #include <autoconf.h> |
2 | #define xstr(s) str(s) | ||
3 | #define str(s) #s | ||
2 | 4 | ||
3 | #if ENABLE_FEATURE_ICON_ATERM || ENABLE_FEATURE_ICON_ALL | 5 | #if ENABLE_FEATURE_ICON_ATERM || ENABLE_FEATURE_ICON_ALL |
4 | 1 ICON "aterm.ico" | 6 | 1 ICON "aterm.ico" |
@@ -18,12 +20,12 @@ BEGIN | |||
18 | BEGIN | 20 | BEGIN |
19 | VALUE "CompanyName", "frippery.org" | 21 | VALUE "CompanyName", "frippery.org" |
20 | VALUE "FileDescription", "BusyBox multi-call binary" | 22 | VALUE "FileDescription", "BusyBox multi-call binary" |
21 | VALUE "FileVersion", BB_VER | 23 | VALUE "FileVersion", xstr(BB_VER) |
22 | VALUE "InternalName", "busybox" | 24 | VALUE "InternalName", "busybox" |
23 | VALUE "LegalCopyright", "(C) 1998-2022 Many authors" | 25 | VALUE "LegalCopyright", "(C) 1998-2022 Many authors" |
24 | VALUE "OriginalFilename", "busybox.exe" | 26 | VALUE "OriginalFilename", "busybox.exe" |
25 | VALUE "ProductName", "busybox-w32" | 27 | VALUE "ProductName", "busybox-w32" |
26 | VALUE "ProductVersion", BB_VER | 28 | VALUE "ProductVersion", xstr(BB_VER) |
27 | END | 29 | END |
28 | END | 30 | END |
29 | BLOCK "VarFileInfo" | 31 | BLOCK "VarFileInfo" |