summaryrefslogtreecommitdiff
path: root/recipes/angstrom
diff options
context:
space:
mode:
authorRoger Monk <r-monk@ti.com>2010-05-26 23:44:51 +0100
committerKoen Kooi <koen@openembedded.org>2010-05-27 09:47:20 +0200
commit2ccbd56b86c126db98e086efdf7fea9719eb2410 (patch)
tree35d0108b9ec83aa4f1936fa76a9b7bc7c62bbfd3 /recipes/angstrom
parent816630f2b2df3df259dba4d7bfdb2486bc9959e8 (diff)
angstrom-uboot-scripts: Change installdir to /boot and rename configs
* Install the scripts into /boot instead of datadir * Install the original .txt's files as well as .scr's so that users can use target mkimage to rebuild/modify/recreate * Rename configs for consistency Signed-off-by: Roger Monk <r-monk@ti.com> Signed-off-by: Koen Kooi <k-kooi@ti.com>
Diffstat (limited to 'recipes/angstrom')
-rw-r--r--recipes/angstrom/angstrom-uboot-scripts.bb12
1 files changed, 8 insertions, 4 deletions
diff --git a/recipes/angstrom/angstrom-uboot-scripts.bb b/recipes/angstrom/angstrom-uboot-scripts.bb
index d4c6347aeb..67245a0506 100644
--- a/recipes/angstrom/angstrom-uboot-scripts.bb
+++ b/recipes/angstrom/angstrom-uboot-scripts.bb
@@ -8,6 +8,10 @@ SRC_URI = "file://*.cmd"
do_configure() {
cp ${WORKDIR}/*.cmd ${S}
+
+ for i in *.cmd ; do
+ mv $i uboot-$i
+ done
}
do_compile() {
@@ -17,13 +21,13 @@ do_compile() {
}
do_install() {
- install -d ${D}${datadir}/u-boot-scripts
- for i in *.scr ; do
- install -m 0644 $i ${D}${datadir}/u-boot-scripts
+ install -d ${D}/boot/u-boot-scripts
+ for i in *.cmd *.scr ; do
+ install -m 0644 $i ${D}/boot/u-boot-scripts
done
}
-FILES_${PN} += "${datadir}"
+FILES_${PN} += "/boot"
addtask deploy before do_package after do_install