aboutsummaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2018-07-24 16:34:52 +0100
committerRon Yorston <rmy@pobox.com>2018-07-24 16:34:52 +0100
commit43dd125914c7cc4656cf06b23230031e3444c5ff (patch)
tree61369021266ecd974df55c84e55225fc0279824b /win32
parent2d0cdc18eca3d8a0d6732d239145c233bd93bf08 (diff)
downloadbusybox-w32-43dd125914c7cc4656cf06b23230031e3444c5ff.tar.gz
busybox-w32-43dd125914c7cc4656cf06b23230031e3444c5ff.tar.bz2
busybox-w32-43dd125914c7cc4656cf06b23230031e3444c5ff.zip
win32: make version info and manifest resources configurable
Diffstat (limited to 'win32')
-rw-r--r--win32/icon/Kbuild.src2
-rw-r--r--win32/icon/icon.rc8
2 files changed, 7 insertions, 3 deletions
diff --git a/win32/icon/Kbuild.src b/win32/icon/Kbuild.src
index b9c322529..15e59e474 100644
--- a/win32/icon/Kbuild.src
+++ b/win32/icon/Kbuild.src
@@ -6,7 +6,7 @@
6 6
7obj-y := 7obj-y :=
8 8
9obj-$(CONFIG_FEATURE_ICON) += icon.o 9obj-$(CONFIG_FEATURE_RESOURCES) += icon.o
10 10
11# return commit level if available or 0 11# return commit level if available or 0
12bb_level = $(or $(word 2,$(subst -, ,$1)),0) 12bb_level = $(or $(word 2,$(subst -, ,$1)),0)
diff --git a/win32/icon/icon.rc b/win32/icon/icon.rc
index 77332428b..891f8a485 100644
--- a/win32/icon/icon.rc
+++ b/win32/icon/icon.rc
@@ -1,12 +1,13 @@
1#include "../../include/autoconf.h" 1#include "../../include/autoconf.h"
2 2
3#if CONFIG_FEATURE_ICON_ATERM || CONFIG_FEATURE_ICON_ALL 3#if ENABLE_FEATURE_ICON_ATERM || ENABLE_FEATURE_ICON_ALL
41 ICON "aterm.ico" 41 ICON "aterm.ico"
5#endif 5#endif
6#if CONFIG_FEATURE_ICON_STERM || CONFIG_FEATURE_ICON_ALL 6#if ENABLE_FEATURE_ICON_STERM || ENABLE_FEATURE_ICON_ALL
72 ICON "sterm.ico" 72 ICON "sterm.ico"
8#endif 8#endif
9 9
10#if ENABLE_FEATURE_VERSIONINFO
101 VERSIONINFO 111 VERSIONINFO
11FILEVERSION BB_VERSION,BB_PATCHLEVEL,BB_SUBLEVEL,BB_EXTRAVERSION 12FILEVERSION BB_VERSION,BB_PATCHLEVEL,BB_SUBLEVEL,BB_EXTRAVERSION
12PRODUCTVERSION BB_VERSION,BB_PATCHLEVEL,BB_SUBLEVEL,BB_EXTRAVERSION 13PRODUCTVERSION BB_VERSION,BB_PATCHLEVEL,BB_SUBLEVEL,BB_EXTRAVERSION
@@ -30,5 +31,8 @@ BEGIN
30 VALUE "Translation", 0x809, 1252 31 VALUE "Translation", 0x809, 1252
31 END 32 END
32END 33END
34#endif
33 35
36#if ENABLE_FEATURE_MANIFEST
341 RT_MANIFEST "busybox-w32.manifest" 371 RT_MANIFEST "busybox-w32.manifest"
38#endif