summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Rini <trini@ti.com>2012-02-13 11:40:26 -0700
committerDenys Dmytriyenko <denys@ti.com>2012-02-20 21:29:45 -0500
commit0022cd46d184d1d758fea6eceec7dc1719ad3d5d (patch)
tree1b17cb53ab81f173b1abb55164f7dbeeac43c110
parent108e0894e8dd0124327c81d23e8491bedfb8c219 (diff)
downloadmeta-ti-0022cd46d184d1d758fea6eceec7dc1719ad3d5d.tar.gz
u-boot.inc: Move fw_env.config to main package
Now that u-boot-fw-utils is a separate recipe (in oe-core) we do not want to try and build the tools here. We also want to package the fw_env.config file in the main package, if it exists. Acked-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Tom Rini <trini@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r--recipes-bsp/u-boot/u-boot.inc9
1 files changed, 1 insertions, 8 deletions
diff --git a/recipes-bsp/u-boot/u-boot.inc b/recipes-bsp/u-boot/u-boot.inc
index 9669ade7..93035682 100644
--- a/recipes-bsp/u-boot/u-boot.inc
+++ b/recipes-bsp/u-boot/u-boot.inc
@@ -28,7 +28,6 @@ do_compile () {
28 unset CFLAGS 28 unset CFLAGS
29 unset CPPFLAGS 29 unset CPPFLAGS
30 oe_runmake ${UBOOT_MAKE_TARGET} 30 oe_runmake ${UBOOT_MAKE_TARGET}
31 oe_runmake tools env
32} 31}
33 32
34do_install () { 33do_install () {
@@ -37,22 +36,16 @@ do_install () {
37 ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY} 36 ln -sf ${UBOOT_IMAGE} ${D}/boot/${UBOOT_BINARY}
38 37
39 if [ -e ${WORKDIR}/fw_env.config ] ; then 38 if [ -e ${WORKDIR}/fw_env.config ] ; then
40 install -d ${D}${base_sbindir}
41 install -d ${D}${sysconfdir} 39 install -d ${D}${sysconfdir}
42 install -m 644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config 40 install -m 644 ${WORKDIR}/fw_env.config ${D}${sysconfdir}/fw_env.config
43# install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_printenv
44# install -m 755 ${S}/tools/env/fw_printenv ${D}${base_sbindir}/fw_setenv
45 fi 41 fi
46 42
47} 43}
48 44
49FILES_${PN} = "/boot" 45FILES_${PN} = "/boot ${sysconfdir}"
50# no gnu_hash in uboot.bin, by design, so skip QA 46# no gnu_hash in uboot.bin, by design, so skip QA
51INSANE_SKIP_${PN} = True 47INSANE_SKIP_${PN} = True
52 48
53PACKAGES += "${PN}-fw-utils"
54FILES_${PN}-fw-utils = "${sysconfdir} ${base_sbindir}"
55
56inherit deploy 49inherit deploy
57 50
58addtask deploy before do_package after do_compile 51addtask deploy before do_package after do_compile