VirtualBox

Changeset 13548 in vbox for trunk/src/VBox/Installer/solaris


Ignore:
Timestamp:
Oct 24, 2008 11:31:17 AM (16 years ago)
Author:
vboxsync
Message:

Solaris/installer: Extract only debug symbols for amd64 in the debug package, disabled for 32-bit due to broken ld/gobjcopy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/solaris/Makefile.kmk

    r13498 r13548  
    3434SOLARIS_DBG_DIR  := $(PATH_TARGET)/Installer/solaris/installdbg
    3535SOLARIS_VBI_DIR  := $(PATH_TARGET)/Installer/solaris/installvbi
    36 SOL_DBG_OBJCOPY  := $(CP) -p    # Solaris ld/gobjcopy(2.15) don't get along on x86, works only on amd64. So just using cp for now.
     36ifeq ($(KBUILD_TARGET_ARCH),amd64)
     37 SOL_DBG_OBJCOPY  := /usr/sfw/bin/gobjcopy --only-keep-debug
     38else
     39 SOL_DBG_OBJCOPY  := $(CP) -p    # Solaris ld/gobjcopy(2.15) don't get along on x86, works only on amd64. So just using cp for now.
     40endif
    3741SOL_OBJCOPY      := /usr/sfw/bin/gobjcopy --strip-unneeded -R .comment
    3842
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette