Missing
This commit is contained in:
parent
ca9859445f
commit
f18d763dc7
1 changed files with 6 additions and 5 deletions
|
@ -25,7 +25,7 @@ source="
|
||||||
config-changes-rm2.armv7
|
config-changes-rm2.armv7
|
||||||
config-changes-rm2.armhf
|
config-changes-rm2.armhf
|
||||||
"
|
"
|
||||||
arch="armv7 armhf"
|
arch="armv7 armhf x86_64"
|
||||||
license="GPL-2.0"
|
license="GPL-2.0"
|
||||||
_flavors=
|
_flavors=
|
||||||
for _i in $source; do
|
for _i in $source; do
|
||||||
|
@ -138,10 +138,11 @@ build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
_package() {
|
_package() {
|
||||||
local _buildflavor="$1" _outdir="$2"
|
local _flavor="$1" _outdir="$2"
|
||||||
|
local _builddir="$srcdir"/build-$_flavor
|
||||||
local _abi_release="$(make -C "$_builddir" -s kernelrelease)"
|
local _abi_release="$(make -C "$_builddir" -s kernelrelease)"
|
||||||
|
|
||||||
cd "$srcdir"/build-$_buildflavor
|
cd "$srcdir"/build-$_flavor
|
||||||
|
|
||||||
mkdir -p "$_outdir"/boot "$_outdir"/lib/modules
|
mkdir -p "$_outdir"/boot "$_outdir"/lib/modules
|
||||||
|
|
||||||
|
@ -158,7 +159,7 @@ _package() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
cd "$srcdir"/build-$_buildflavor
|
cd "$srcdir"/build-$_flavor
|
||||||
# modules_install seems to regenerate a defect Modules.symvers. Work
|
# modules_install seems to regenerate a defect Modules.symvers. Work
|
||||||
# around it by backing it up and restore it after modules_install
|
# around it by backing it up and restore it after modules_install
|
||||||
cp Module.symvers Module.symvers.backup
|
cp Module.symvers Module.symvers.backup
|
||||||
|
@ -176,7 +177,7 @@ _package() {
|
||||||
rm -rf "$_outdir"/lib/firmware
|
rm -rf "$_outdir"/lib/firmware
|
||||||
|
|
||||||
install -D -m644 include/config/kernel.release \
|
install -D -m644 include/config/kernel.release \
|
||||||
"$_outdir"/usr/share/kernel/$_buildflavor/kernel.release
|
"$_outdir"/usr/share/kernel/$_flavor/kernel.release
|
||||||
|
|
||||||
if [ "$CARCH" = "aarch64" ]; then
|
if [ "$CARCH" = "aarch64" ]; then
|
||||||
mv -f "$INSTALL_DTBS_PATH"/broadcom/*.dtb \
|
mv -f "$INSTALL_DTBS_PATH"/broadcom/*.dtb \
|
||||||
|
|
Loading…
Reference in a new issue