summaryrefslogtreecommitdiffstats
path: root/rules/host-u-boot-tools.make
diff options
context:
space:
mode:
authorAndreas Bießmann <andreas@biessmann.de>2012-01-31 23:49:05 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-03-12 11:33:26 +0100
commit56b3484d1c9437e3945ea86228c874309fbaeaae (patch)
tree7918c88cc841258150649af10cfb84a158b47c5a /rules/host-u-boot-tools.make
parenta144761821089dac6141611ad55320f016f64a5f (diff)
downloadptxdist-56b3484d1c9437e3945ea86228c874309fbaeaae.tar.gz
ptxdist-56b3484d1c9437e3945ea86228c874309fbaeaae.tar.xz
replace umkimage by u-boot sources
This patch removes the forked mkimage u-boot tool and uses the mainline u-boot code to build this tool. Signed-off-by: Andreas Bießmann <andreas@biessmann.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-u-boot-tools.make')
-rw-r--r--rules/host-u-boot-tools.make35
1 files changed, 35 insertions, 0 deletions
diff --git a/rules/host-u-boot-tools.make b/rules/host-u-boot-tools.make
new file mode 100644
index 000000000..27543f9b7
--- /dev/null
+++ b/rules/host-u-boot-tools.make
@@ -0,0 +1,35 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2012 by Andreas Bießmann <andreas@biessmann.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_U_BOOT_TOOLS) += host-u-boot-tools
+
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+HOST_U_BOOT_TOOLS_CONF_TOOL := NO
+HOST_U_BOOT_TOOLS_MAKE_OPT := tools
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/host-u-boot-tools.install:
+ @$(call targetinfo)
+ install -D $(HOST_U_BOOT_TOOLS_DIR)/tools/mkimage \
+ $(HOST_U_BOOT_TOOLS_PKGDIR)/bin/mkimage
+
+ @$(call touch)
+
+# vim: syntax=make