update
This commit is contained in:
+3
-1
@@ -41,7 +41,7 @@ kernel_modules() {
|
||||
gzip -9 $i;
|
||||
done
|
||||
check $? "Install Linux Kernel modules"
|
||||
rm -v $rootfspath/usr/lib/modules/$KERNEL_VERSION/{source,build}
|
||||
# rm -v $rootfspath/usr/lib/modules/$KERNEL_VERSION/{source,build}
|
||||
} # kernel_modules
|
||||
#-----------------------------------------------------------
|
||||
|
||||
@@ -74,4 +74,6 @@ kernel_headers() {
|
||||
cd linux-$KERNEL_VERSION
|
||||
make ARCH=$ARCH headers
|
||||
check $? "Build kernel headers"
|
||||
make INSTALL_HDR_PATH=$rootfspath/usr headers_install
|
||||
check $? "Install kernel headers to rootfs"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user