- Timestamp:
- Aug 3, 2011 9:26:04 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/darwin/Makefile.kmk
r38248 r38291 354 354 $(foreach kext,$(VBOX_DI_KEXTS), \ 355 355 $(NLTAB)$(INSTALL) -m 0644 $(VBOX_PATH_DIST)/$(kext).kext/Contents/Info.plist $(VBOX_PATH_PACK_TMP)/VBoxKEXTs.pkg.root/Library/Extensions/$(kext).kext/Contents/) 356 @# Copy the binaries , invoking lipo and strip.356 @# Copy the binaries and invoking lipo. 357 357 ifdef VBOX_WITH_COMBINED_PACKAGE 358 358 $(foreach kext,$(VBOX_DI_KEXTS_UNIVERSAL), \ … … 364 364 $(foreach kext,$(VBOX_DI_KEXTS), \ 365 365 $(NLTAB)$(INSTALL) -m 0755 $(VBOX_PATH_DIST)/$(kext).kext/Contents/MacOS/$(kext) $(VBOX_PATH_PACK_TMP)/VBoxKEXTs.pkg.root/Library/Extensions/$(kext).kext/Contents/MacOS/) 366 endif367 if1of ($(KBUILD_TYPE), release)368 $(foreach kext,$(VBOX_DI_KEXTS), \369 $(NLTAB)strip -uX $(VBOX_PATH_PACK_TMP)/VBoxKEXTs.pkg.root/Library/Extensions/$(kext).kext/Contents/MacOS/$(kext))370 366 endif 371 367 @# Set the correct owners. … … 901 897 ,$(LN) -s $(bin)-$(KBUILD_TARGET_ARCH) $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(bin)$(NLTAB)) 902 898 endif 903 @# Strip programs and dylibs.904 if1of ($(KBUILD_TYPE), release)905 ifdef VBOX_WITH_COMBINED_PACKAGE906 strip -SXru \907 $(foreach dylib, $(VBOX_DI_VBAPP_DYLIBS) $(VBOX_DI_VBAPP_DYLIBS.x86) $(VBOX_DI_VBAPP_DYLIBS.amd64) \908 ,$(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(dylib)) \909 $(foreach bin, $(addsuffix -x86, $(VBOX_DI_VBAPP_PROGS)) $(addsuffix -amd64, $(VBOX_DI_VBAPP_PROGS)) \910 ,$(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(bin))911 else912 strip -SXru \913 $(foreach dylib, $(VBOX_DI_VBAPP_DYLIBS) $(VBOX_DI_VBAPP_DYLIBS.$(KBUILD_TARGET_ARCH)) \914 ,$(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(dylib)) \915 $(foreach bin, $(addsuffix -$(KBUILD_TARGET_ARCH), $(VBOX_DI_VBAPP_PROGS)) \916 ,$(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(bin))917 endif918 endif919 @## @todo Strip the .r0 and .gc modules as well?920 899 #ifdef VBOX_WITH_HARDENING - disabled temporarily 921 900 if 1
Note:
See TracChangeset
for help on using the changeset viewer.