diff options
Diffstat (limited to 'recipes/angstrom')
-rw-r--r-- | recipes/angstrom/angstrom-uboot-scripts.bb | 12 |
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 |