Changeset 63882 in vbox
- Timestamp:
- Sep 19, 2016 12:13:32 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r63881 r63882 2451 2451 else 2452 2452 VBOX_GCC_CHECK_EX_CC = $(shell \ 2453 if $(1) $(subst -Wno-,-W,$(2)) - S -o /dev/null -xc /dev/null> /dev/null 2>&1; then echo "$(2)"; else echo "$(3)"; fi; )2453 if $(1) $(subst -Wno-,-W,$(2)) -c -o /dev/null -xc $(PATH_OUT)/DynamicConfig.c > /dev/null 2>&1; then echo "$(2)"; else echo "$(3)"; fi; ) 2454 2454 VBOX_GCC_CHECK_EX_CXX = $(shell \ 2455 if $(1) $(subst -Wno-,-W,$(2)) - S -o /dev/null -xc++ /dev/null> /dev/null 2>&1; then echo "$(2)"; else echo "$(3)"; fi; )2455 if $(1) $(subst -Wno-,-W,$(2)) -c -o /dev/null -xc++ $(PATH_OUT)/DynamicConfig.cpp > /dev/null 2>&1; then echo "$(2)"; else echo "$(3)"; fi; ) 2456 2456 VBOX_GCC_CHECK_EX_LD = $(shell \ 2457 2457 if $(1) -Wl,$(2) $(if $(eq $(KBUILD_HOST),darwin),-Wl$(COMMA)-u$(COMMA)start -Wl$(COMMA)-undefined$(COMMA)dynamic_lookup,) \ … … 2542 2542 | $(SED_EXT) -n -e 's|^ *pylint *\([0-9][0-9]*\).\([0-9][0-9]*\)\.\([0-9][0-9]*\).*$(DOLLAR)|$$(expr \1 * 10000 + \2 * 100 + \3)|p' ) 2543 2543 2544 # Test C and C++ files. 2545 $(PATH_OUT)/DynamicConfig.c $(PATH_OUT)/DynamicConfig.cpp: 2546 $(QUIET)$(APPEND) -tn "$@" "int foobar(void)" "{" " return 42;" "}" "" 2547 2544 2548 # No $(QUIET) here as it's interesting to see what goes into the file. 2545 2549 $(PATH_OUT)/DynamicConfig.kmk: \ … … 2552 2556 $(VBOX_GCC32_PATH_CXX) \ 2553 2557 $(if-expr "$(KBUILD_HOST).$(KBUILD_HOST_ARCH)" == "solaris.amd64" && $(KBUILD_HOST_VERSION_MINOR) >= 11 \ 2554 , /platform/i86pc/kernel/$(KBUILD_HOST_ARCH)/unix,) 2558 , /platform/i86pc/kernel/$(KBUILD_HOST_ARCH)/unix,) \ 2559 | $(PATH_OUT)/DynamicConfig.c $(PATH_OUT)/DynamicConfig.cpp 2555 2560 $(call MSG_GENERATE,,$@,) 2556 2561 $(QUIET)$(RM) -f '$@'
Note:
See TracChangeset
for help on using the changeset viewer.