summaryrefslogtreecommitdiff
path: root/packages/uboot/uboot_cvs.bb
blob: 67a05a9b25264d665cc5ab1bf25b3a9c7cfc7515 (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
DESCRIPTION = "U-boot bootloader"
SECTION = "bootloader"
MAINTAINER = "Cliff Brake <cliff.brake@gmail.com>"
PRIORITY = "optional"
LICENSE = "GPL"
PV = "0.0cvs${CVSDATE}"
PR = "r1"

PROVIDES = "virtual/bootloader"

S = "${WORKDIR}/u-boot"

SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/u-boot;module=u-boot \
	   file://arm_flags.patch;patch=1"

EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
TARGET_LDFLAGS = ""
UBOOT_MACHINE ?= "${MACHINE}"

inherit base

do_compile () {
	oe_runmake ${UBOOT_MACHINE}
	oe_runmake all
}

do_deploy () {
	install -d ${DEPLOY_DIR_IMAGE}
	install ${S}/u-boot.bin ${DEPLOY_DIR_IMAGE}/u-boot.bin
}
do_deploy[dirs] = "${S}"
addtask deploy before do_build after do_compile