summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-06-12 15:55:49 +0100
committerRichard Maw <richard.maw@codethink.co.uk>2012-06-12 15:58:56 +0100
commitfe57382d04b46c37f34cf8d3b3ad876554fd12bf (patch)
treebf402e0a17301d77cdfa6c5840890cb132c15c77
parent2ab5be7af009b4a40efe2fa5471497c97e70ed28 (diff)
downloadu-boot-fe57382d04b46c37f34cf8d3b3ad876554fd12bf.tar.gz
u-boot: build and install some of the toolsbaserock/morph
Having looked at the tools, all the others appear to be for development and maintanence, rather than redistribution. {jtag,net}console appear to be for communicating with u-boot running on a target device. mk{env,}image are for making images u-boot can load. img2brec.sh is for converting a u-boot.bin image into another format.
-rw-r--r--u-boot.morph16
1 files changed, 16 insertions, 0 deletions
diff --git a/u-boot.morph b/u-boot.morph
new file mode 100644
index 0000000000..a9f7f50130
--- /dev/null
+++ b/u-boot.morph
@@ -0,0 +1,16 @@
+{
+ "name": "u-boot",
+ "kind": "chunk",
+ "build-system": "manual",
+ "build-commands": [
+ "make tools"
+ ],
+ "install-commands": [
+ "mkdir -p \"$DESTDIR$PREFIX/bin\"",
+ "install -m 755 tools/img2brec.sh \"$DESTDIR$PREFIX/bin/.\"",
+ "install -m 755 tools/jtagconsole \"$DESTDIR$PREFIX/bin/.\"",
+ "install -m 755 tools/netconsole \"$DESTDIR$PREFIX/bin/.\"",
+ "install -m 755 tools/mkenvimage \"$DESTDIR$PREFIX/bin/.\"",
+ "install -m 755 tools/mkimage \"$DESTDIR$PREFIX/bin/.\""
+ ]
+}