mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
core/kernel26-olinuxino: /usr/lib changes
This commit is contained in:
parent
aa8957ba87
commit
36ba76e6b7
2 changed files with 6 additions and 7 deletions
|
@ -52,7 +52,7 @@ source=(config
|
||||||
002_Return_ERESTARTSYS_from_IPU_GET_EVENT.patch
|
002_Return_ERESTARTSYS_from_IPU_GET_EVENT.patch
|
||||||
003_Sanitise_ipu_interrupt_return_value.patch
|
003_Sanitise_ipu_interrupt_return_value.patch
|
||||||
imx233-olinuxino.patch)
|
imx233-olinuxino.patch)
|
||||||
md5sums=('1caef2fa228ba049616735d308a3f674'
|
md5sums=('4ba0a5f581facd398bccc0066c9d4a25'
|
||||||
'bde087470cb0715ca709bd5bcd3803d0'
|
'bde087470cb0715ca709bd5bcd3803d0'
|
||||||
'ef8a1cf2d129de1a0a476a0b40e6f291'
|
'ef8a1cf2d129de1a0a476a0b40e6f291'
|
||||||
'e086ab0b162d292549f9bf453e07ad2e'
|
'e086ab0b162d292549f9bf453e07ad2e'
|
||||||
|
@ -139,6 +139,8 @@ build() {
|
||||||
|
|
||||||
# board-specific patch
|
# board-specific patch
|
||||||
patch -Np1 -i ../imx233-olinuxino.patch
|
patch -Np1 -i ../imx233-olinuxino.patch
|
||||||
|
|
||||||
|
sed -i 's|/sbin/depmod|/bin/true|' Makefile
|
||||||
|
|
||||||
msg "Patching done, building the kernel."
|
msg "Patching done, building the kernel."
|
||||||
|
|
||||||
|
@ -147,9 +149,6 @@ build() {
|
||||||
# set extraversion to pkgrel
|
# set extraversion to pkgrel
|
||||||
sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile
|
sed -ri "s|^(EXTRAVERSION =).*|\1 -${pkgrel}|" Makefile
|
||||||
|
|
||||||
# don't run depmod on 'make install'. We'll do this ourselves in packaging
|
|
||||||
sed -i '2iexit 0' scripts/depmod.sh
|
|
||||||
|
|
||||||
# Configure the kernel. Replace the line below with one of your choice.
|
# Configure the kernel. Replace the line below with one of your choice.
|
||||||
#make menuconfig # CLI menu for configuration
|
#make menuconfig # CLI menu for configuration
|
||||||
#make nconfig # new CLI menu for configuration
|
#make nconfig # new CLI menu for configuration
|
||||||
|
@ -179,8 +178,8 @@ package_kernel26-olinuxino() {
|
||||||
_kernver="$(make kernelrelease)"
|
_kernver="$(make kernelrelease)"
|
||||||
|
|
||||||
# Install zImage, System.map and the config for reference
|
# Install zImage, System.map and the config for reference
|
||||||
mkdir -p ${pkgdir}/{usr/lib/modules,usr/lib/firmware,boot}
|
mkdir -p ${pkgdir}/{lib/modules,lib/firmware,boot}
|
||||||
make INSTALL_MOD_PATH=${pkgdir}/usr modules_install
|
make INSTALL_MOD_PATH="${pkgdir}" modules_install
|
||||||
#cp arch/$KARCH/boot/uImage ${pkgdir}/boot/uImage
|
#cp arch/$KARCH/boot/uImage ${pkgdir}/boot/uImage
|
||||||
cp arch/$KARCH/boot/zImage ${pkgdir}/boot/zImage
|
cp arch/$KARCH/boot/zImage ${pkgdir}/boot/zImage
|
||||||
cp .config ${pkgdir}/boot/config-${_kernver}
|
cp .config ${pkgdir}/boot/config-${_kernver}
|
||||||
|
|
|
@ -36,7 +36,7 @@ CONFIG_BROKEN_ON_SMP=y
|
||||||
CONFIG_LOCK_KERNEL=y
|
CONFIG_LOCK_KERNEL=y
|
||||||
CONFIG_INIT_ENV_ARG_LIMIT=32
|
CONFIG_INIT_ENV_ARG_LIMIT=32
|
||||||
CONFIG_CROSS_COMPILE=""
|
CONFIG_CROSS_COMPILE=""
|
||||||
CONFIG_LOCALVERSION="-OLinuXino-ARCH"
|
CONFIG_LOCALVERSION="-ARCH"
|
||||||
# CONFIG_LOCALVERSION_AUTO is not set
|
# CONFIG_LOCALVERSION_AUTO is not set
|
||||||
CONFIG_HAVE_KERNEL_GZIP=y
|
CONFIG_HAVE_KERNEL_GZIP=y
|
||||||
CONFIG_HAVE_KERNEL_LZMA=y
|
CONFIG_HAVE_KERNEL_LZMA=y
|
||||||
|
|
Loading…
Reference in a new issue