ALT Linux repositórios
S: | 7.0.10-alt2 |
5.0: | 3.0.4-alt0.M50.1 |
4.1: | 2.1.4-alt0.M41.5 |
4.0: | |
+backports: | 1.6.6-alt0.M40.2 |
Group :: Emuladores
RPM: virtualbox
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: vbox-buildfix.diff
Download
Download
---
Config.kmk | 9 ++++++++-
src/VBox/Runtime/Makefile.kmk | 1 +
2 files changed, 9 insertions(+), 1 deletion(-)
--- a/Config.kmk
+++ b/Config.kmk
@@ -1216,7 +1216,14 @@ ifneq ($(filter linux,$(BUILD_TARGET)),)
kernelpath := $(realpath $(VBOX_LINUX_SRC)/$(kernelsrc))
VBOX_LINUX_INCS += $(VBOX_LINUX_SRC)/include2 $(kernelpath)/include
else
- kernelpath := $(VBOX_LINUX_SRC)
+ # 2.6.25 format for splitted sources
+ kernelsrc := $(shell $(SED_EXT) -ne 's+^MAKEARGS := -C++p' $(VBOX_LINUX_SRC)/Makefile)
+ ifneq ($(kernelsrc),)
+ kernelpath := $(realpath $(VBOX_LINUX_SRC)/$(kernelsrc))
+ VBOX_LINUX_INCS += $(VBOX_LINUX_SRC)/include2 $(kernelpath)/include
+ else
+ kernelpath := $(VBOX_LINUX_SRC)
+ endif
endif
ifeq ($(BUILD_TARGET_ARCH),x86)
VBOX_LINUX_INCS += $(kernelpath)/include/asm-i386/mach-default \