diff options
Diffstat (limited to 'libre/linux-libre-pck')
-rw-r--r-- | libre/linux-libre-pck/PKGBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libre/linux-libre-pck/PKGBUILD b/libre/linux-libre-pck/PKGBUILD index 35d29db71..bf2c55aaa 100644 --- a/libre/linux-libre-pck/PKGBUILD +++ b/libre/linux-libre-pck/PKGBUILD @@ -66,7 +66,7 @@ sha512sums=('0c221c6e84eb5bc270ef79454bf407079daed84534afb1d449d40fa46e42868a471 'SKIP' '4185dde406aafd020a0c7ab5cadff02a6f92812b5e7616c39b85051af23adc6bb0927f75bcc5213f9df8d34d0e7deb7c930844565318dd771b6695763deef174' 'SKIP' - 'b69308f108c0f3f9f59f6976e225b39a5e8c5adf2834d82a863a93ea146eac1b66fc0dac10b6f6e4ebfae75a4b64ce673807f9795334dde8c592adb0e9ac1c88' + 'b57ca749c77aeebadf6da80e7cc27cb60c2c48e6f7aed25b7ce464043b7f4b6ecbed8103fd6804f09ffa785a28991673c5fcb61db3dcb4072a59e51bc4dd8a07' 'SKIP' '13cb5bc42542e7b8bb104d5f68253f6609e463b6799800418af33eb0272cc269aaa36163c3e6f0aacbdaaa1d05e2827a4a7c4a08a029238439ed08b89c564bb3' 'SKIP' @@ -102,7 +102,7 @@ _replacesarchkernel=("${_replacesarchkernel[@]/\%/${_kernelname}}") _replacesoldkernels=("${_replacesoldkernels[@]/\%/${_kernelname}}") _replacesoldmodules=("${_replacesoldmodules[@]/\%/${_kernelname}}") -case "${CARCH}" in +case "$CARCH" in i686|x86_64) KARCH=x86;; armv7h) KARCH=arm;; esac @@ -118,7 +118,7 @@ prepare() { # add PCK patch patch -p1 -i ../patch-$_srcver-$_pckver.patch - if [ "${CARCH}" = "armv7h" ]; then + if [ "$CARCH" = "armv7h" ]; then # RCN patch (CM3 firmware deblobbed and AUFS/WireGuard removed) # Note: For stability reasons, AUFS has been removed in the RCN patch. # We are supporting AUFS in linux-libre-pck through PCK patch. @@ -162,10 +162,10 @@ prepare() { build() { cd $_srcname - if [ "${CARCH}" = "armv7h" ]; then - make ${MAKEFLAGS} LOCALVERSION= zImage modules dtbs - elif [ "${CARCH}" = "x86_64" ] || [ "${CARCH}" = "i686" ]; then - make ${MAKEFLAGS} LOCALVERSION= bzImage modules + if [ "$CARCH" = "armv7h" ]; then + make $MAKEFLAGS zImage modules dtbs htmldocs + elif [ "$CARCH" = "x86_64" ] || [ "$CARCH" = "i686" ]; then + make bzImage modules htmldocs fi } @@ -255,7 +255,7 @@ _package-headers() { install -Dt "$builddir/kernel" -m644 kernel/Makefile install -Dt "$builddir/arch/$KARCH" -m644 arch/$KARCH/Makefile if [[ $CARCH = i686 ]]; then - install -t "$builddir/arch/$KARCH" -m644 arch/$KARCH/Makefile_32.cpu + install -Dt "$builddir/arch/$KARCH" -m644 arch/$KARCH/Makefile_32.cpu fi cp -t "$builddir" -a scripts |