u-boot-mkimage-gta01: build uboot-mkimage needed for Neo1973 kernel
authorMarcin Juszkiewicz <hrw@openembedded.org>
Wed, 7 Mar 2007 09:38:37 +0000 (09:38 +0000)
committerMarcin Juszkiewicz <hrw@openembedded.org>
Wed, 7 Mar 2007 09:38:37 +0000 (09:38 +0000)
- same tool is built with uboot-gta01_svn.bb recipe but Neo1973 u-boot
  require OABI toolchain

packages/uboot/u-boot-mkimage-gta01_svn.bb [new file with mode: 0644]

diff --git a/packages/uboot/u-boot-mkimage-gta01_svn.bb b/packages/uboot/u-boot-mkimage-gta01_svn.bb
new file mode 100644 (file)
index 0000000..ad98bea
--- /dev/null
@@ -0,0 +1,18 @@
+require uboot-gta01_svn.bb
+
+PROVIDES = ""
+TARGET_LDFLAGS = ""
+
+do_compile () {
+       chmod +x board/neo1973/split_by_variant.sh
+       oe_runmake gta01bv3_config
+       oe_runmake clean
+       oe_runmake tools
+}
+
+do_deploy () {
+       install -m 0755 tools/mkimage ${STAGING_BINDIR_NATIVE}/uboot-mkimage
+}
+
+do_deploy[dirs] = "${S}"
+addtask deploy before do_build after do_compile