Changeset 2087 in vbox for trunk/src/VBox/VMM/testcase/Makefile
- Timestamp:
- Apr 14, 2007 12:44:26 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/testcase/Makefile
r2086 r2087 155 155 # Some handcrafted support for tstAsmStructs. 156 156 # 157 158 ifeq ($(BUILD_PLATFORM),win) 159 include $(PATH_KBUILD)/tools/MINGW32.kmk 160 VBOX_NM ?= $(PATH_TOOL_MINGW32)/bin/nm.exe -p 161 else 162 VBOX_NM ?= nm -p 163 endif 157 164 158 165 # 1a. make a header file which makes all the structures+members globals. … … 193 200 -f $(if $(eq $(BUILD_TARGET),darwin),macho,elf) \ 194 201 $(foreach inc,$(INCS),-I$(inc)/) -o [email protected] -l [email protected] $< 195 nm[email protected] | $(SED) \202 $(VBOX_NM) [email protected] | $(SED) \ 196 203 -e '/[0-9a-fA-F][0-9a-fA-F]* [^a] /d' \ 197 204 -e 's/[0-9a-fA-F][0-9a-fA-F]* a \([^ ]*\)/global \1/' \ … … 235 242 236 243 # 2. use nm and sed to transform this into the header we want. 237 ifeq ($(BUILD_PLATFORM),win)238 include $(PATH_KBUILD)/tools/MINGW32.kmk239 VBOX_NM ?= $(PATH_TOOL_MINGW32)/bin/nm.exe -p240 else241 VBOX_NM ?= nm -p242 endif243 244 $(PATH_TARGET)/tstAsmStructsHC.h: $(PATH_TARGET)/tstAsmStructsAsm.o 244 245 $(call MSG_L1,Generating $@)
Note:
See TracChangeset
for help on using the changeset viewer.