summaryrefslogtreecommitdiff
path: root/recipes/angstrom
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2010-02-12 22:55:09 +0000
committerGraeme Gregory <dp@xora.org.uk>2010-02-12 22:55:51 +0000
commit787d0238757baa11dc172afefe2bc5fd76b20cca (patch)
tree52da29bd0cd6100e5ea82132bd25f9219e3a2c7b /recipes/angstrom
parent6687b01b725288ae365b776c7545324bfc3abb8e (diff)
omap3-mkcard.bb : add a recipe for mkcard.sh so we can install on targets
Diffstat (limited to 'recipes/angstrom')
-rw-r--r--recipes/angstrom/omap3-mkcard.bb11
l---------recipes/angstrom/omap3-mkcard/omap3-mkcard.sh1
2 files changed, 12 insertions, 0 deletions
diff --git a/recipes/angstrom/omap3-mkcard.bb b/recipes/angstrom/omap3-mkcard.bb
new file mode 100644
index 0000000000..c7a1a3e04b
--- /dev/null
+++ b/recipes/angstrom/omap3-mkcard.bb
@@ -0,0 +1,11 @@
+DESCRIPTION="Format a card for omap3 booting"
+SRC_URI = "file://omap3-mkcard.sh"
+
+do_install() {
+ install -d ${D}${bindir}/
+ install -m 755 ${WORKDIR}/omap3-mkcard.sh ${D}${bindir}/
+}
+
+PACKAGE_ARCH_${PN} = "all"
+RDEPENDS_${PN} = "bc dosfstools e2fsprogs-mke2fs util-linux-ng util-linux-ng-sfdisk"
+
diff --git a/recipes/angstrom/omap3-mkcard/omap3-mkcard.sh b/recipes/angstrom/omap3-mkcard/omap3-mkcard.sh
new file mode 120000
index 0000000000..b8c8a708a1
--- /dev/null
+++ b/recipes/angstrom/omap3-mkcard/omap3-mkcard.sh
@@ -0,0 +1 @@
+../../../contrib/angstrom/omap3-mkcard.sh \ No newline at end of file