mirror of https://github.com/parazyd/arm-sdk.git
update libdevuansdk
This commit is contained in:
parent
8c4ac449a5
commit
8dddf5873d
|
|
@ -61,7 +61,7 @@ prebuild() {
|
||||||
clone-git $sunxi_uboot "$R/tmp/kernels/$device_name/u-boot" || zerr
|
clone-git $sunxi_uboot "$R/tmp/kernels/$device_name/u-boot" || zerr
|
||||||
pushd $R/tmp/kernels/$device_name/u-boot
|
pushd $R/tmp/kernels/$device_name/u-boot
|
||||||
#git checkout "$(git tag | tail -n1)" ## to a stable release
|
#git checkout "$(git tag | tail -n1)" ## to a stable release
|
||||||
cp -f $R/extra/m2plus/uboot_defconfig $R/tmp/kernels/$device_name/configs/Sinovoip_BPI_M2_plus_defconfig
|
cp -f $R/extra/m2plus/uboot_defconfig $R/tmp/kernels/$device_name/u-boot/configs/Sinovoip_BPI_M2_plus_defconfig
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -74,7 +74,7 @@ postbuild() {
|
||||||
pushd $R/tmp/kernels/$device_name/u-boot
|
pushd $R/tmp/kernels/$device_name/u-boot
|
||||||
make distclean
|
make distclean
|
||||||
make CROSS_COMPILE=$compiler Sinovoip_BPI_M2_plus_defconfig
|
make CROSS_COMPILE=$compiler Sinovoip_BPI_M2_plus_defconfig
|
||||||
make $MAKEOPTS CROSS_COMPILE=$compiler || zerr
|
make CROSS_COMPILE=$compiler || zerr
|
||||||
act "dd-ing to image..."
|
act "dd-ing to image..."
|
||||||
sudo dd if=u-boot-sunxi-with-spl.bin of=$loopdevice bs=1024 seek=8 || zerr
|
sudo dd if=u-boot-sunxi-with-spl.bin of=$loopdevice bs=1024 seek=8 || zerr
|
||||||
popd
|
popd
|
||||||
|
|
@ -115,6 +115,8 @@ build_kernel_armhf() {
|
||||||
uImage modules || zerr
|
uImage modules || zerr
|
||||||
sudo -E PATH="$PATH" \
|
sudo -E PATH="$PATH" \
|
||||||
make INSTALL_MOD_PATH=$strapdir modules_install || zerr
|
make INSTALL_MOD_PATH=$strapdir modules_install || zerr
|
||||||
|
|
||||||
|
sudo cp arch/arm/boot/uImage $strapdir/boot/
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#sudo rm -rf $strapdir/lib/firmware
|
#sudo rm -rf $strapdir/lib/firmware
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 162d058cf1611a16ef15c2b703292536720e7ac7
|
Subproject commit 9bc8bf9d2e335362222f1928eda0608b203f4f21
|
||||||
Loading…
Reference in New Issue