mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
kernel26-olinuxino: install modules in /usr/lib
This commit is contained in:
parent
38670808b3
commit
b08babbecc
1 changed files with 5 additions and 3 deletions
|
@ -175,8 +175,10 @@ package_kernel26-olinuxino() {
|
|||
|
||||
# get kernel version
|
||||
_kernver="$(make kernelrelease)"
|
||||
mkdir -p ${pkgdir}/{lib/modules,lib/firmware,boot}
|
||||
make INSTALL_MOD_PATH=${pkgdir} modules_install
|
||||
|
||||
# Install zImage, System.map and the config for reference
|
||||
mkdir -p ${pkgdir}/{usr/lib/modules,usr/lib/firmware,boot}
|
||||
make INSTALL_MOD_PATH=${pkgdir}/usr modules_install
|
||||
#cp arch/$KARCH/boot/uImage ${pkgdir}/boot/uImage
|
||||
cp arch/$KARCH/boot/zImage ${pkgdir}/boot/zImage
|
||||
cp .config ${pkgdir}/boot/config-${_kernver}
|
||||
|
@ -194,7 +196,7 @@ package_kernel26-olinuxino() {
|
|||
elftosb -z -c ./imx-bootlets-olinuxino/linux.bd -o ${pkgdir}/boot/oli-${_kernver}.sb
|
||||
|
||||
# remove build and source links
|
||||
rm -f ${pkgdir}/lib/modules/${_kernver}/{source,build}
|
||||
rm -f ${pkgdir}/usr/lib/modules/${_kernver}/{source,build}
|
||||
}
|
||||
|
||||
package_kernel26-headers-olinuxino() {
|
||||
|
|
Loading…
Reference in a new issue