mirror of
https://github.com/openharmony/kernel_linux_build.git
synced 2026-07-18 15:54:30 -04:00
+8
-2
@@ -24,6 +24,12 @@ pushd ${1}
|
||||
./kernel_module_build.sh ${2} ${4} ${5} ${6} ${7} ${8}
|
||||
mkdir -p ${3}
|
||||
rm -rf ${3}/../../../kernel.timestamp
|
||||
cp ${2}/kernel/OBJ/${8}/arch/arm/boot/uImage ${3}/uImage
|
||||
cp ${2}/kernel/OBJ/${8}/arch/arm/boot/zImage-dtb ${3}/zImage-dtb
|
||||
|
||||
# it needs more adaptation
|
||||
if [ "$5" == "arm" ];then
|
||||
cp ${2}/kernel/OBJ/${8}/arch/arm/boot/uImage ${3}/uImage
|
||||
cp ${2}/kernel/OBJ/${8}/arch/arm/boot/zImage-dtb ${3}/zImage-dtb
|
||||
elif [ "$5" == "arm64" ];then
|
||||
cp ${2}/kernel/OBJ/${8}/arch/arm64/boot/Image ${3}/Image
|
||||
fi
|
||||
popd
|
||||
|
||||
Reference in New Issue
Block a user