Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
silime authored May 26, 2024
1 parent c8473c3 commit fb6b78c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions linux-sdm845/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ build() {
# Build the kernel and the modules
unset LDFLAGS
unset CFLAGS
make all modules dtbs
make ${MAKEFLAGS} Image modules
# Generate device tree blobs with symbols to support applying device tree overlays in U-Boot
make ${MAKEFLAGS} DTC_FLAGS="-@" dtbs


}

Expand All @@ -115,6 +118,7 @@ _package() {
mkdir -p "${pkgdir}"/{boot,usr/lib/modules}
make INSTALL_MOD_PATH="${pkgdir}/usr" modules_install
make INSTALL_DTBS_PATH="${pkgdir}/boot/dtbs" dtbs_install
make INSTALL_PATH="${pkgdir}/boot" install
cp arch/$KARCH/boot/Image "${pkgdir}/boot"

# make room for external modules
Expand Down Expand Up @@ -167,7 +171,7 @@ _package-headers() {

install -Dt "${_builddir}/arch/${KARCH}" -m644 arch/${KARCH}/Makefile
install -Dt "${_builddir}/arch/${KARCH}/kernel" -m644 arch/${KARCH}/kernel/asm-offsets.s
install -Dt "${_builddir}" -m644 vmlinuz
install -Dt "${_builddir}" -m644 vmlinux

cp -t "${_builddir}/arch/${KARCH}" -a arch/${KARCH}/include
mkdir -p "${_builddir}/arch/arm"
Expand Down

0 comments on commit fb6b78c

Please sign in to comment.