--- /usr/portage/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.0.0.ebuild 2015-08-09 21:34:49.000000000 +0100 +++ /usr/portage/app-emulation/virtualbox-guest-additions/virtualbox-guest-additions-5.0.0.ebuild 2015-08-16 12:20:12.345170657 +0100 @@ -110,22 +110,10 @@ } src_compile() { - for each in /src/VBox/{Runtime,Additions/common} \ - /src/VBox/Additions/linux/sharedfolders ; do - cd "${S}"${each} || die - MAKE="kmk" \ - emake TOOL_YASM_AS=yasm \ - KBUILD_VERBOSE=2 - done + cd "${S}"/src + MAKE="kmk" emake TOOL_YASM_AS=yasm KBUILD_VERBOSE=2 VBOX_ONLY_ADDITIONS=1 - if use X; then - cd "${S}"/src/VBox/Additions/x11/VBoxClient || die - MAKE="kmk" \ - emake TOOL_YASM_AS=yasm \ - KBUILD_PATH="${S}/kBuild" - fi - - # Now creating the kernel modules. We must do this _after_ + # Now creating the kernel modules. We must do this _after_ # we compiled the user-space tools as we need two of the # automatically generated header files. (>=3.2.0) linux-mod_src_compile