16 lines
544 B
Diff
16 lines
544 B
Diff
|
--- a/scripts/package/builddeb
|
||
|
+++ b/scripts/package/builddeb
|
||
|
@@ -125,7 +125,11 @@
|
||
|
|
||
|
CC="${DEB_HOST_GNU_TYPE}-gcc" "${srctree}/scripts/package/install-extmod-build" "${pdir}/usr/src/linux-headers-${version}"
|
||
|
|
||
|
- mkdir -p $pdir/lib/modules/$version/
|
||
|
+ mkdir -p "${pdir}/usr/src/linux-headers-${version}/"
|
||
|
+ cp .config "${pdir}/usr/src/linux-headers-${version}/.config"
|
||
|
+ cp .config usr/src/linux-headers-$version/
|
||
|
+
|
||
|
+ mkdir -p $pdir/lib/modules/$version/
|
||
|
ln -s /usr/src/linux-headers-$version $pdir/lib/modules/$version/build
|
||
|
}
|
||
|
|