blob: 25a622c29c45ddf140ae486dd5002b38af870880 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright (C) 2011 Freescale Semiconductor
# Released under the MIT license (see COPYING.MIT for the terms)
DESCRIPTION = "bootloader for imx platforms"
require recipes-bsp/u-boot/u-boot.inc
PROVIDES += "u-boot"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=4c6cde5df68eff615d36789dc18edd3b"
DEPENDS_mxs += "elftosb-native"
PR = "r7"
# Revision of imx_2.6.35_10.12.01 branch
SRCREV_mxs = "e4437f1c192a1a68028e6fcff3f50ff50352041d"
# Revision of imx_2.6.35_11.09.01 branch
SRCREV_mx5 = "897922d01c812be802e4a928b937535ea1b8e076"
SRC_URI_append_imx5 = " \
file://mx53_loco_bootenv.patch \
"
# Revision of imx_2.6.35_11.11.01 branch
SRCREV_mx6 = "daa30bb22e006d9f39298fb28ea8391ae4ccbc52"
SRC_URI = "git://git.freescale.com/imx/uboot-imx.git"
UBOOT_MACHINE_imx53qsb = "mx53_loco_config"
UBOOT_MACHINE_imx53ard = "mx53_ard_ddr3_config"
UBOOT_MACHINE_imx51evk = "mx51_bbg_config"
UBOOT_MACHINE_imx6qsabrelite = "mx6q_sabrelite_config"
UBOOT_MACHINE_imx28evk = "mx28_evk_config"
UBOOT_MAKE_TARGET = "u-boot.bin"
UBOOT_SUFFIX = "bin"
S = "${WORKDIR}/git"
EXTRA_OEMAKE += 'HOSTSTRIP=true'
PACKAGE_ARCH = "${MACHINE_ARCH}"
do_compile_prepend() {
if [ "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', 'ld-is-gold', '', d)}" = "ld-is-gold" ] ; then
sed -i 's/$(CROSS_COMPILE)ld/$(CROSS_COMPILE)ld.bfd/g' config.mk
fi
}
COMPATIBLE_MACHINE = "(imx28evk|mx5|mx6)"
|