- Timestamp:
- Aug 11, 2008 5:15:50 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 34482
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r11315 r11340 1168 1168 # This is kind of bad, the returned string needs to be re-evaluated before use. 1169 1169 # The reason for this hack is that the windows kmk_ash cannot deal with $((1+1)). 1170 # Some versions of gcc (e.g. openSUSE11) return only major.minor on `gcc -dumpversion`. 1170 1171 VBOX_GCC_VERSION = $(shell \ 1171 1172 $(1) -dumpversion | $(SED_EXT) 's|\([0-9]\)\.\([0-9]\)\.\([0-9]\)|$$(int-add $$(int-mul 10000, \1), $$(int-mul 100, \2), \3)|' ) … … 1530 1531 export VBOX_LINUX_INCS := $(VBOX_LINUX_SRC)/include 1531 1532 # support splitted Linux kernels (make O=<build directory>) 1533 # XXX hack alert! 1532 1534 kernelsrc := $(shell $(SED_EXT) -ne 's+^KERNELSRC.*= *\(.*\)+\1+p' $(VBOX_LINUX_SRC)/Makefile) 1533 1535 ifneq ($(kernelsrc),) 1534 1536 kernelpath := $(realpath $(VBOX_LINUX_SRC)/$(kernelsrc)) 1537 else 1538 # Linux >= 2.6.25 1539 kernelpath := $(shell $(SED_EXT) -ne 's+^MAKEARGS *:= *-C *\(.*\)+\1+p' $(VBOX_LINUX_SRC)/Makefile) 1540 endif 1541 ifneq ($(kernelpath),) 1535 1542 VBOX_LINUX_INCS += $(VBOX_LINUX_SRC)/include2 $(kernelpath)/include 1536 1543 else
Note:
See TracChangeset
for help on using the changeset viewer.