Changeset 47045 in vbox
- Timestamp:
- Jul 8, 2013 4:30:54 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r47044 r47045 1290 1290 VBOX_LDR_FMT_2_YASM_DBGINFO.macho = 1291 1291 VBOX_LDR_FMT_2_YASM_DBGINFO.pe = -g cv8 1292 VBOX_ASFLAGS = $(VBOX_ASFLAGS_FMT) -D__YASM__ -Worphan-labels $(VBOX_ LDR_FMT_2_YASM_DBGINFO.$(VBOX_LDR_FMT))1293 VBOX_ASFLAGS32 = $(VBOX_ASFLAGS_FMT32) -D__YASM__ -Worphan-labels $(VBOX_ LDR_FMT_2_YASM_DBGINFO.$(VBOX_LDR_FMT32))1294 VBOX_ASFLAGS64 = $(VBOX_ASFLAGS_FMT64) -D__YASM__ -Worphan-labels $(VBOX_ LDR_FMT_2_YASM_DBGINFO.$(VBOX_LDR_FMT64))1292 VBOX_ASFLAGS = $(VBOX_ASFLAGS_FMT) -D__YASM__ -Worphan-labels $(VBOX_YASM_Wno-segreg-in-64bit) $(VBOX_LDR_FMT_2_YASM_DBGINFO.$(VBOX_LDR_FMT)) 1293 VBOX_ASFLAGS32 = $(VBOX_ASFLAGS_FMT32) -D__YASM__ -Worphan-labels $(VBOX_YASM_Wno-segreg-in-64bit) $(VBOX_LDR_FMT_2_YASM_DBGINFO.$(VBOX_LDR_FMT32)) 1294 VBOX_ASFLAGS64 = $(VBOX_ASFLAGS_FMT64) -D__YASM__ -Worphan-labels $(VBOX_YASM_Wno-segreg-in-64bit) $(VBOX_LDR_FMT_2_YASM_DBGINFO.$(VBOX_LDR_FMT64)) 1295 1295 else 1296 1296 VBOX_ASTOOL = NASM … … 2178 2178 2179 2179 2180 ifndef VBOX_NOINC_ GCC_CONFIG_KMK2181 # 2182 # GCC stuffproperties.2180 ifndef VBOX_NOINC_DYNAMIC_CONFIG_KMK 2181 # 2182 # GCC and YASM dynamic properties. 2183 2183 # Most of this is resolved on first kmk invocation and cached in PATH_OUT. 2184 2184 # … … 2232 2232 endif 2233 2233 2234 # YASM macros 2235 ifndef DONT_USE_YASM 2236 include $(KBUILD_PATH)/tools/YASM.kmk 2237 VBOX_YASM_CHECK = $(shell $(TOOL_YASM_AS) -e -o vbox-yasm-check.o $1 - < /dev/null 2>&1) 2238 VBOX_YASM_CHECK = $(if-expr "$(shell $(TOOL_YASM_AS) -e -o vbox-yasm-check.o $1 - < /dev/null 2>&1)" == "",$(1),) 2239 else 2240 VBOX_YASM_CHECK = $(error what??) 2241 endif 2242 2234 2243 # No $(QUIET) here as it's interesting to see what goes into the file. 2235 $(PATH_OUT)/ GCCConfig.kmk: \2244 $(PATH_OUT)/DynamicConfig.kmk: \ 2236 2245 $(PATH_ROOT)/Config.kmk \ 2237 2246 $(LOCALCFG) \ … … 2329 2338 $(QUIET)$(APPEND) '$@' 'VBOX_LD_no_compact_linkedit ?= $(call VBOX_GCC_CHECK_LD,-no_compact_linkedit,)' 2330 2339 endif 2340 # YASM 2341 $(QUIET)$(APPEND) '$@' 'VBOX_YASM_Wno-segreg-in-64bit ?= $(call VBOX_YASM_CHECK,-Wno-segreg-in-64bit,)' 2342 2331 2343 $(QUIET)$(ECHO) '========= START OF $@ =========' 2332 2344 $(QUIET)$(CAT) $@ 2333 2345 $(QUIET)$(ECHO) '=========== END OF $@ =========' 2334 2346 2335 include $(PATH_OUT)/ GCCConfig.kmk2336 endif # !VBOX_NOINC_ GCC_CONFIG_KMK2347 include $(PATH_OUT)/DynamicConfig.kmk 2348 endif # !VBOX_NOINC_DYNAMIC_CONFIG_KMK 2337 2349 2338 2350 #
Note:
See TracChangeset
for help on using the changeset viewer.