[oe-commits] Roger Monk : ti-codec-combos: Combo Build Cleanup and additional html docs in package
GIT User account
git at amethyst.openembedded.net
Mon Mar 16 13:38:32 UTC 2009
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 45362bc05d35f10b33c6adce05cfd5585f0cef31
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=45362bc05d35f10b33c6adce05cfd5585f0cef31
Author: Roger Monk <r-monk at ti.com>
Date: Fri Mar 13 21:59:53 2009 +0000
ti-codec-combos: Combo Build Cleanup and additional html docs in package
* Updated recipe to correct build warnings where combos weren't properly cleaned before building, and hence gave confusing warnings.
* Removed some unused paths from XDCPATH
* Added top level html doc to install target and qualiTI reports
---
packages/dsplink/ti-codec-combos_3.16.bb | 22 ++++++++++++++++++++--
1 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/packages/dsplink/ti-codec-combos_3.16.bb b/packages/dsplink/ti-codec-combos_3.16.bb
index 923e9ee..941856d 100644
--- a/packages/dsplink/ti-codec-combos_3.16.bb
+++ b/packages/dsplink/ti-codec-combos_3.16.bb
@@ -11,7 +11,7 @@ S = "${WORKDIR}/omap3530_dvsdk_combos_3_16"
# Yes, the xdc stuff still breaks with a '.' in PWD
PV = "316"
-PR = "r12"
+PR = "r13"
TARGET = "all"
@@ -40,6 +40,13 @@ do_compile() {
# For now, remove the reference to Rules.make and swap prod for eval, since this only has eval libs included
sed -i \
-e '/Rules.make/d' \
+ -e 's:$(FC_INSTALL_DIR)/packages;::g' \
+ -e 's:$(XDAIS_INSTALL_DIR)/packages;::g' \
+ -e 's:$(FC_INSTALL_DIR)/fctools/packages;::g' \
+ -e 's:$(BIOSUTILS_INSTALL_DIR)/packages;::g' \
+ -e 's:$(CMEM_INSTALL_DIR)/packages;::g' \
+ -e 's:$(LINK_INSTALL_DIR)/packages;::g' \
+ -e 's:$(LPM_INSTALL_DIR)/packages;::g' \
-e s:prod:eval:g \
${S}/Makefile
@@ -47,6 +54,12 @@ do_compile() {
sed -i -e s:/opt/dmsw/cg6x_6_0_16:${TITOOLSDIR}/${TICGTOOLSDIR}:g \
${S}/config.bld
+ # Add make target to allow package to be prepared for building (normally this package is a binary release)
+ echo "makebuildable:
+ \$(XDC) .make -PR .
+" >> ${S}/Makefile
+
+ oe_runmake makebuildable
oe_runmake clean
oe_runmake
}
@@ -64,9 +77,14 @@ do_install () {
done
# copy the generated data sheets as well for reference
- for i in $(find . -name "*.DataSheet.*") ; do
+ #for i in $(find . -name "*.DataSheet.*") ; do
+
+ # infact, just copy all the html files (including the server datasheets) from the distro
+ # - this includes top level html (with codec versions) + some qualiTI codec test reports
+ for i in $(find . -name "*.html") ; do
install ${i} ${D}/${datadir}/ti-codec-combos
done
+
}
do_stage () {
More information about the Openembedded-commits
mailing list