Lines 110-131
Link Here
|
110 |
} |
110 |
} |
111 |
|
111 |
|
112 |
src_compile() { |
112 |
src_compile() { |
113 |
for each in /src/VBox/{Runtime,Additions/common} \ |
113 |
cd "${S}"/src |
114 |
/src/VBox/Additions/linux/sharedfolders ; do |
114 |
MAKE="kmk" emake TOOL_YASM_AS=yasm KBUILD_VERBOSE=2 VBOX_ONLY_ADDITIONS=1 |
115 |
cd "${S}"${each} || die |
|
|
116 |
MAKE="kmk" \ |
117 |
emake TOOL_YASM_AS=yasm \ |
118 |
KBUILD_VERBOSE=2 |
119 |
done |
120 |
|
115 |
|
121 |
if use X; then |
116 |
# Now creating the kernel modules. We must do this _after_ |
122 |
cd "${S}"/src/VBox/Additions/x11/VBoxClient || die |
|
|
123 |
MAKE="kmk" \ |
124 |
emake TOOL_YASM_AS=yasm \ |
125 |
KBUILD_PATH="${S}/kBuild" |
126 |
fi |
127 |
|
128 |
# Now creating the kernel modules. We must do this _after_ |
129 |
# we compiled the user-space tools as we need two of the |
117 |
# we compiled the user-space tools as we need two of the |
130 |
# automatically generated header files. (>=3.2.0) |
118 |
# automatically generated header files. (>=3.2.0) |
131 |
linux-mod_src_compile |
119 |
linux-mod_src_compile |