diff options
-rw-r--r-- | Config.in | 8 | ||||
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | configs/mingw32_defconfig | 1 | ||||
-rw-r--r-- | configs/mingw64_defconfig | 1 | ||||
-rw-r--r-- | win32/resources/Kbuild.src | 4 | ||||
-rw-r--r-- | win32/resources/busybox-w32.manifest.src | 25 | ||||
-rw-r--r-- | win32/resources/resources.rc | 4 |
7 files changed, 1 insertions, 44 deletions
@@ -421,14 +421,6 @@ config FEATURE_VERSIONINFO | |||
421 | help | 421 | help |
422 | Include version information in the application. | 422 | Include version information in the application. |
423 | 423 | ||
424 | config FEATURE_MANIFEST | ||
425 | bool "Include manifest in binary (1.5 kb)" | ||
426 | default y | ||
427 | depends on FEATURE_RESOURCES | ||
428 | help | ||
429 | Include a manifest which declares privileges required by the | ||
430 | application. | ||
431 | |||
432 | config FEATURE_ICON | 424 | config FEATURE_ICON |
433 | bool "Include application icon in binary" | 425 | bool "Include application icon in binary" |
434 | default y | 426 | default y |
@@ -4,7 +4,7 @@ Things may work for you, or may not. Things may never work because of huge diff | |||
4 | 4 | ||
5 | ### Building | 5 | ### Building |
6 | 6 | ||
7 | You need a MinGW compiler and a POSIX environment (so that `make menuconfig` works). I cross-compile on Linux. On Fedora or RHEL/CentOS+EPEL installing mingw32-gcc (32-bit build) or mingw64-gcc (64-bit build) will pull in everything needed. | 7 | You need a MinGW compiler and a POSIX environment (so that `make menuconfig` works). I cross-compile on Linux. On Fedora or RHEL/CentOS+EPEL installing mingw32-gcc and mingw32-windows-default-manifest (32-bit build) or mingw64-gcc and mingw64-windows-default-manifest (64-bit build) will pull in everything needed. |
8 | 8 | ||
9 | To start, run `make mingw32_defconfig` or `make mingw64_defconfig`. You can then customize your build with `make menuconfig`. | 9 | To start, run `make mingw32_defconfig` or `make mingw64_defconfig`. You can then customize your build with `make menuconfig`. |
10 | 10 | ||
diff --git a/configs/mingw32_defconfig b/configs/mingw32_defconfig index cb74f8c20..907a5fa91 100644 --- a/configs/mingw32_defconfig +++ b/configs/mingw32_defconfig | |||
@@ -43,7 +43,6 @@ CONFIG_FEATURE_PRNG_SHELL=y | |||
43 | # CONFIG_FEATURE_PRNG_ISAAC is not set | 43 | # CONFIG_FEATURE_PRNG_ISAAC is not set |
44 | CONFIG_FEATURE_RESOURCES=y | 44 | CONFIG_FEATURE_RESOURCES=y |
45 | CONFIG_FEATURE_VERSIONINFO=y | 45 | CONFIG_FEATURE_VERSIONINFO=y |
46 | CONFIG_FEATURE_MANIFEST=y | ||
47 | CONFIG_FEATURE_ICON=y | 46 | CONFIG_FEATURE_ICON=y |
48 | # CONFIG_FEATURE_ICON_ATERM is not set | 47 | # CONFIG_FEATURE_ICON_ATERM is not set |
49 | # CONFIG_FEATURE_ICON_STERM is not set | 48 | # CONFIG_FEATURE_ICON_STERM is not set |
diff --git a/configs/mingw64_defconfig b/configs/mingw64_defconfig index 2f85f2883..048c1da0f 100644 --- a/configs/mingw64_defconfig +++ b/configs/mingw64_defconfig | |||
@@ -43,7 +43,6 @@ CONFIG_FEATURE_PRNG_SHELL=y | |||
43 | # CONFIG_FEATURE_PRNG_ISAAC is not set | 43 | # CONFIG_FEATURE_PRNG_ISAAC is not set |
44 | CONFIG_FEATURE_RESOURCES=y | 44 | CONFIG_FEATURE_RESOURCES=y |
45 | CONFIG_FEATURE_VERSIONINFO=y | 45 | CONFIG_FEATURE_VERSIONINFO=y |
46 | CONFIG_FEATURE_MANIFEST=y | ||
47 | CONFIG_FEATURE_ICON=y | 46 | CONFIG_FEATURE_ICON=y |
48 | # CONFIG_FEATURE_ICON_ATERM is not set | 47 | # CONFIG_FEATURE_ICON_ATERM is not set |
49 | # CONFIG_FEATURE_ICON_STERM is not set | 48 | # CONFIG_FEATURE_ICON_STERM is not set |
diff --git a/win32/resources/Kbuild.src b/win32/resources/Kbuild.src index 7cc010613..1900d1872 100644 --- a/win32/resources/Kbuild.src +++ b/win32/resources/Kbuild.src | |||
@@ -25,7 +25,3 @@ quiet_cmd_windres = WINDRES $@ | |||
25 | 25 | ||
26 | win32/resources/resources.o: win32/resources/resources.rc .config | 26 | win32/resources/resources.o: win32/resources/resources.rc .config |
27 | win32/resources/resources.o: win32/resources/aterm.ico win32/resources/sterm.ico | 27 | win32/resources/resources.o: win32/resources/aterm.ico win32/resources/sterm.ico |
28 | win32/resources/resources.o: win32/resources/busybox-w32.manifest | ||
29 | |||
30 | win32/resources/busybox-w32.manifest: win32/resources/busybox-w32.manifest.src .config | ||
31 | @sed -b "s/VERSION/$(BB_VER)/" $< >$@ | ||
diff --git a/win32/resources/busybox-w32.manifest.src b/win32/resources/busybox-w32.manifest.src deleted file mode 100644 index c75dbdb96..000000000 --- a/win32/resources/busybox-w32.manifest.src +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
2 | <assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> | ||
3 | <assemblyIdentity type="win32" name="busybox-w32" version="VERSION" /> | ||
4 | <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> | ||
5 | <security> | ||
6 | <requestedPrivileges> | ||
7 | <requestedExecutionLevel level="asInvoker" uiAccess="false" /> | ||
8 | </requestedPrivileges> | ||
9 | </security> | ||
10 | </trustInfo> | ||
11 | <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> | ||
12 | <application> | ||
13 | <!-- Windows Vista --> | ||
14 | <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> | ||
15 | <!-- Windows 7 --> | ||
16 | <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/> | ||
17 | <!-- Windows 8 --> | ||
18 | <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}"/> | ||
19 | <!-- Windows 8.1 --> | ||
20 | <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}"/> | ||
21 | <!-- Windows 10 --> | ||
22 | <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}"/> | ||
23 | </application> | ||
24 | </compatibility> | ||
25 | </assembly> | ||
diff --git a/win32/resources/resources.rc b/win32/resources/resources.rc index f77a3bcc9..d8b9d6407 100644 --- a/win32/resources/resources.rc +++ b/win32/resources/resources.rc | |||
@@ -32,7 +32,3 @@ BEGIN | |||
32 | END | 32 | END |
33 | END | 33 | END |
34 | #endif | 34 | #endif |
35 | |||
36 | #if ENABLE_FEATURE_MANIFEST | ||
37 | 1 RT_MANIFEST "busybox-w32.manifest" | ||
38 | #endif | ||