VirtualBox

Ignore:
Timestamp:
Apr 14, 2007 12:44:26 PM (18 years ago)
Author:
vboxsync
Message:

fixed broken nasm support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/testcase/Makefile

    r2086 r2087  
    155155# Some handcrafted support for tstAsmStructs.
    156156#
     157
     158ifeq ($(BUILD_PLATFORM),win)
     159 include $(PATH_KBUILD)/tools/MINGW32.kmk
     160 VBOX_NM ?= $(PATH_TOOL_MINGW32)/bin/nm.exe -p
     161else
     162 VBOX_NM ?= nm -p
     163endif
    157164
    158165# 1a. make a header file which makes all the structures+members globals.
     
    193200                -f $(if $(eq $(BUILD_TARGET),darwin),macho,elf) \
    194201                $(foreach inc,$(INCS),-I$(inc)/) -o [email protected] -l [email protected] $<
    195                 nm [email protected] | $(SED) \
     202                $(VBOX_NM) [email protected] | $(SED) \
    196203                        -e '/[0-9a-fA-F][0-9a-fA-F]* [^a] /d' \
    197204                        -e 's/[0-9a-fA-F][0-9a-fA-F]* a \([^ ]*\)/global \1/' \
     
    235242
    236243# 2. use nm and sed to transform this into the header we want.
    237 ifeq ($(BUILD_PLATFORM),win)
    238  include $(PATH_KBUILD)/tools/MINGW32.kmk
    239  VBOX_NM ?= $(PATH_TOOL_MINGW32)/bin/nm.exe -p
    240 else
    241  VBOX_NM ?= nm -p
    242 endif
    243244$(PATH_TARGET)/tstAsmStructsHC.h: $(PATH_TARGET)/tstAsmStructsAsm.o
    244245        $(call MSG_L1,Generating $@)
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