Lines 80-86
Link Here
|
80 |
cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die |
80 |
cp "${FILESDIR}/${PN}-5-localconfig" LocalConfig.kmk || die |
81 |
|
81 |
|
82 |
# stupid new header references... |
82 |
# stupid new header references... |
83 |
for vboxheader in {product,revision}-generated.h ; do |
83 |
for vboxheader in {version,product,revision}-generated.h ; do |
84 |
for mdir in vbox{guest,sf} ; do |
84 |
for mdir in vbox{guest,sf} ; do |
85 |
ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \ |
85 |
ln -sf "${S}"/out/linux.${ARCH}/release/${vboxheader} \ |
86 |
"${WORKDIR}/${mdir}/${vboxheader}" |
86 |
"${WORKDIR}/${mdir}/${vboxheader}" |
Lines 110-129
Link Here
|
110 |
} |
110 |
} |
111 |
|
111 |
|
112 |
src_compile() { |
112 |
src_compile() { |
113 |
for each in /src/VBox/{Runtime,Additions/common} \ |
113 |
cd "${S}" || die |
114 |
/src/VBox/Additions/linux/sharedfolders ; do |
114 |
MAKE="kmk" \ |
115 |
cd "${S}"${each} || die |
115 |
emake TOOL_YASM_AS=yasm \ |
116 |
MAKE="kmk" \ |
116 |
KBUILD_VERBOSE=2 |
117 |
emake TOOL_YASM_AS=yasm \ |
|
|
118 |
KBUILD_VERBOSE=2 |
119 |
done |
120 |
|
121 |
if use X; then |
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 |
|
117 |
|
128 |
# Now creating the kernel modules. We must do this _after_ |
118 |
# Now creating the kernel modules. We must do this _after_ |
129 |
# we compiled the user-space tools as we need two of the |
119 |
# we compiled the user-space tools as we need two of the |