foxygit / doom Log in
commit b6810a29407df69f57cc3fb00922347fbaeb8550
Author:     Simon Howard <fraggle@gmail.com>
AuthorDate: Tue Jan 12 20:15:34 2010 +0000
Commit:     Simon Howard <fraggle@gmail.com>
CommitDate: Tue Jan 12 20:15:34 2010 +0000

    Strip executables when building Windows CE packages.

    Subversion-branch: /trunk/chocolate-doom
    Subversion-revision: 1810
---
 pkg/wince/GNUmakefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/pkg/wince/GNUmakefile b/pkg/wince/GNUmakefile
index c237922e..b6acc3b8 100644
--- a/pkg/wince/GNUmakefile
+++ b/pkg/wince/GNUmakefile
@@ -2,10 +2,12 @@
 include ../config.make

 DEPS=$(shell ./wince-cabgen -d $(CONFIG_FILE))
+EXECUTABLES=$(filter %.exe, $(DEPS))
 CONFIG_FILE=wince-cab.cfg
 OUTPUT_FILE=$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).cab

 $(OUTPUT_FILE) : $(CONFIG_FILE) $(DEPS)
+	$(STRIP) $(EXECUTABLES)
 	./wince-cabgen $< $@

 clean: