summaryrefslogtreecommitdiff
path: root/multitech/recipes/u-boot/u-boot_1.3.4.bb
blob: d616af8d5659c75b0bfd5518bd25b2a0aa6f15c6 (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
require recipes/u-boot/u-boot.inc

PR = "r9"
ALLOW_EMPTY = 1

SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 \
		   file://fix_inline_weak_compile.patch"

SRC_URI[md5sum] = "ca12b805b4f2bdcf15733be3fe22e896"
SRC_URI[sha256sum] = "096aa286d923b7cc356bbe0dda0a29a701369deeb27ada1a2f053155aa403c31"

SRC_URI_append_mtcdp = "\
            file://u-boot-${PV}-mts.patch \
            file://fw_env.config \
"

SRC_URI_append_mt100ecdp = "\
            file://u-boot-${PV}-mts.patch \
            file://fw_env.config \
"

TARGET_LDFLAGS = ""

inherit base

FILES_${PN} = " \
    ${base_sbindir}/fw_setenv \
    ${base_sbindir}/fw_printenv \
"

FILES_${PN}_append_mtcdp = "${sysconfdir}/fw_env.config"
FILES_${PN}_append_mt100ecdp = "${sysconfdir}/fw_env.config"

do_configure_prepend() {
    mv -f tools/setlocalversion tools/setlocalversion.old
    echo "echo '-mts'" >> tools/setlocalversion
}

# Don't override install if you want to install any of the U-Boot tools
do_install () {
    echo "nothing to install"
}