summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Thomas <james.thomas@codethink.co.uk>2014-07-22 17:59:14 +0100
committerJames Thomas <james.thomas@codethink.co.uk>2014-08-03 12:51:55 +0100
commitb15ae44ab9f085140039b09a00232d5aed6596a9 (patch)
treeb69bba5e39a8bce6828dba042f9552ddb954073e
parenta4cb881d0e18300ebebbeaa15471fcb3f908109a (diff)
downloadu-boot-baserock/james/tegra-uboot-btrfs.tar.gz
-rw-r--r--u-boot.morph23
1 files changed, 23 insertions, 0 deletions
diff --git a/u-boot.morph b/u-boot.morph
new file mode 100644
index 0000000000..0503179a5c
--- /dev/null
+++ b/u-boot.morph
@@ -0,0 +1,23 @@
+{
+ "name": "u-boot",
+ "kind": "chunk",
+ "build-system": "manual",
+ "configure-commands": [
+ "make ARCH=arm jetson-tk1_config"
+ ],
+ "build-commands": [
+ "make ARCH=arm CROSS_COMPILE=/usr/bin/",
+ "make ARCH=arm CROSS_COMPILE=/usr/bin/ tools"
+ ],
+ "install-commands": [
+ "mkdir -p \"$DESTDIR$PREFIX/bin\"",
+ "mkdir -p \"$DESTDIR/boot\"",
+ "install -m 755 u-boot-dtb-tegra.bin \"$DESTDIR/boot/u-boot.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/.\""
+ ]
+}
+