u-boot: upgraded to version 2014.07.
This commit is contained in:
parent
7f735200d0
commit
5c2bc141df
@ -1,34 +0,0 @@
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$pkg_dir/patches-$version/"*.patch\
|
||||
"$cfg_dir_system/patches/u-boot/patches-${version}/"*.patch 2>/dev/null)
|
||||
if [ -n "$patches" ]; then
|
||||
cat $patches | patch -p1
|
||||
fi
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make \
|
||||
ARCH="$cfg_target_uboot_arch" \
|
||||
CROSS_COMPILE="$cfg_target_canonical"- \
|
||||
"$cfg_target_uboot_config"
|
||||
}
|
||||
|
||||
host_install()
|
||||
{
|
||||
$cmd_cp \
|
||||
tools/mkimage \
|
||||
"$cfg_dir_toolchain/bin"
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
if [ -f MLO ]; then
|
||||
$cmd_cp MLO "$cfg_dir_rootfs/boot"
|
||||
fi
|
||||
|
||||
if [ -f u-boot.img ]; then
|
||||
$cmd_cp u-boot.img "$cfg_dir_rootfs/boot"
|
||||
fi
|
||||
}
|
@ -1,8 +1,6 @@
|
||||
source "$pkg_common"
|
||||
|
||||
version=\
|
||||
(
|
||||
'2014.01'
|
||||
'2014.07'
|
||||
)
|
||||
|
||||
url=\
|
||||
@ -12,5 +10,44 @@ url=\
|
||||
|
||||
md5=\
|
||||
(
|
||||
'e531307578f6d32a7ccb1d04f1e08cbc'
|
||||
'36d4bad687edcafa396fee607e505d4e'
|
||||
)
|
||||
|
||||
post_unpack()
|
||||
{
|
||||
patches=$(ls "$pkg_dir/patches-$version/"*.patch\
|
||||
"$cfg_dir_system/patches/u-boot/patches-${version}/"*.patch 2>/dev/null)
|
||||
if [ -n "$patches" ]; then
|
||||
cat $patches | patch -p1
|
||||
fi
|
||||
}
|
||||
|
||||
configure()
|
||||
{
|
||||
$cmd_make \
|
||||
"${cfg_target_uboot_config}_config"
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make \
|
||||
CROSS_COMPILE="$cfg_target_canonical"-
|
||||
}
|
||||
|
||||
host_install()
|
||||
{
|
||||
$cmd_cp \
|
||||
tools/mkimage \
|
||||
"$cfg_dir_toolchain/bin"
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
if [ -f MLO ]; then
|
||||
$cmd_cp MLO "$cfg_dir_rootfs/boot"
|
||||
fi
|
||||
|
||||
if [ -f u-boot.img ]; then
|
||||
$cmd_cp u-boot.img "$cfg_dir_rootfs/boot"
|
||||
fi
|
||||
}
|
||||
|
@ -1,12 +0,0 @@
|
||||
source "$pkg_dir/default.bash"
|
||||
|
||||
host_install()
|
||||
{
|
||||
$cmd_mkdir ${cfg_dir_rootfs}/../boot/
|
||||
$cmd_cp u-boot.bin ${cfg_dir_rootfs}/../boot/
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
echo "using dummy 'target_install'."
|
||||
}
|
Reference in New Issue
Block a user