forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x11-drivers/xf86-video-virtualbox-5.0.20: build kernel module with he…
…lp of upstream Makefiles. This commit builds on the prior work of Polynomial-C to compile vboxvideo.ko using the upstream Makefile.module.kms. A small patch is necessary to add a missing include path to the build, and the rest of the changes are the addition of necessary symlinks to allow the build to proceed. Package-Manager: portage-2.2.26
- Loading branch information
1 parent
9ed0076
commit 9670bfc
Showing
2 changed files
with
37 additions
and
25 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
...rivers/xf86-video-virtualbox/files/xf86-video-virtualbox-5.0.20-Makefile.module.kms.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- a/src/VBox/Additions/linux/drm/Makefile.module.kms 2016-04-28 09:08:06.000000000 -0400 | ||
+++ b/src/VBox/Additions/linux/drm/Makefile.module.kms 2016-05-03 15:11:22.134971872 -0400 | ||
@@ -38,7 +38,7 @@ | ||
MANGLING := $(KBUILD_EXTMOD)/include/VBox/VBoxGuestMangling.h | ||
endif | ||
MOD_CFLAGS = -Wno-declaration-after-statement -fshort-wchar -include $(MANGLING) | ||
-MOD_INCL = $(addprefix -I$(KBUILD_EXTMOD),/ /include) | ||
+MOD_INCL = $(addprefix -I$(KBUILD_EXTMOD),/ /include /r0drv/linux) | ||
# What on earth is this? | ||
MOD_INCL += $(addprefix -I$(KBUILD_EXTMOD)/vboxvideo,/ /include) | ||
MOD_INCL += -Iinclude/drm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters