Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/2] lsbinitscripts: Don't compile
@ 2012-12-19  1:14 Saul Wold
  2012-12-19  1:14 ` [PATCH 2/2] icu: reduce what's needed for cross tools Saul Wold
  2012-12-19  5:15 ` [PATCH 1/2] lsbinitscripts: Don't compile Saul Wold
  0 siblings, 2 replies; 3+ messages in thread
From: Saul Wold @ 2012-12-19  1:14 UTC (permalink / raw)
  To: openembedded-core

Only functions macros is installed, so no need to configure or compile

[YOCTO #3584]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-extended/lsb/lsbinitscripts_9.03.bb |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb b/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb
index eac4ebb..e32a50c 100644
--- a/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb
+++ b/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb
@@ -19,7 +19,10 @@ ALTERNATIVE_PRIORITY = "100"
 ALTERNATIVE_${PN} = "functions"
 ALTERNATIVE_LINK_NAME[functions] = "${sysconfdir}/init.d/functions"
 
+# Since we are only taking the patched version of functions, no need to
+# configure or compile anything so do not execute these
 do_configure[noexec] = "1" 
+do_compile[noexec] = "1" 
 
 do_install(){
 	install -d ${D}${sysconfdir}/init.d/
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] icu: reduce what's needed for cross tools
  2012-12-19  1:14 [PATCH 1/2] lsbinitscripts: Don't compile Saul Wold
@ 2012-12-19  1:14 ` Saul Wold
  2012-12-19  5:15 ` [PATCH 1/2] lsbinitscripts: Don't compile Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2012-12-19  1:14 UTC (permalink / raw)
  To: openembedded-core

The ICU Update copied to complete source tree over, it only
needed a couple of binaries and libraries, so only copy those.

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-support/icu/icu.inc |   16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/meta/recipes-support/icu/icu.inc b/meta/recipes-support/icu/icu.inc
index f7257d1..1329635 100644
--- a/meta/recipes-support/icu/icu.inc
+++ b/meta/recipes-support/icu/icu.inc
@@ -7,7 +7,7 @@ DEPENDS = "icu-native"
 DEPENDS_class-native = ""
 
 S = "${WORKDIR}/icu/source"
-STAGING_ICU_SOURCE_DIR_NATIVE = "${STAGING_DATADIR_NATIVE}/icu"
+STAGING_ICU_DIR_NATIVE = "${STAGING_DATADIR_NATIVE}/${BPN}/${PV}"
 
 PARALLEL_MAKE = ""
 FULL_OPTIMIZATION_arm = "-Os"
@@ -17,7 +17,7 @@ inherit autotools pkgconfig binconfig
 # ICU needs the native build directory as an argument to its --with-cross-build option when
 # cross-compiling. Taken the situation that different builds may share a common sstate-cache
 # into consideration, the native build directory needs to be staged.
-EXTRA_OECONF = "--with-cross-build=${STAGING_DATADIR_NATIVE}/icu/source"
+EXTRA_OECONF = "--with-cross-build=${STAGING_ICU_DIR_NATIVE}"
 EXTRA_OECONF_class-native = ""
 
 # ICU puts custom m4 autoconf functions in aclocal.m4.
@@ -29,11 +29,13 @@ do_configure_prepend() {
     [ -f acinclude.m4 ] || cp aclocal.m4 acinclude.m4
 }
 
-do_install_append() {
-    if [ ${PN} == 'icu-native' ]; then
-	mkdir -p ${D}/${STAGING_ICU_SOURCE_DIR_NATIVE}
-	cp -r ${S} ${D}/${STAGING_ICU_SOURCE_DIR_NATIVE}
-    fi
+do_install_append_class-native() {
+	mkdir -p ${D}/${STAGING_ICU_DIR_NATIVE}/config
+	cp -r ${S}/config/icucross.mk ${D}/${STAGING_ICU_DIR_NATIVE}/config
+	cp -r ${S}/lib ${D}/${STAGING_ICU_DIR_NATIVE}
+	cp -r ${S}/bin ${D}/${STAGING_ICU_DIR_NATIVE}
+	cp -r ${S}/tools ${D}/${STAGING_ICU_DIR_NATIVE}
+
 }
 
 PACKAGES =+ "libicudata libicuuc libicui18n libicule libiculx libicutu libicuio"
-- 
1.7.9.5




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] lsbinitscripts: Don't compile
  2012-12-19  1:14 [PATCH 1/2] lsbinitscripts: Don't compile Saul Wold
  2012-12-19  1:14 ` [PATCH 2/2] icu: reduce what's needed for cross tools Saul Wold
@ 2012-12-19  5:15 ` Saul Wold
  1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2012-12-19  5:15 UTC (permalink / raw)
  To: Saul Wold; +Cc: openembedded-core


really 1/1 some randomness happened and 2/2 never made it to the list!

Sau!

On 12/18/2012 05:14 PM, Saul Wold wrote:
> Only functions macros is installed, so no need to configure or compile
>
> [YOCTO #3584]
>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>   meta/recipes-extended/lsb/lsbinitscripts_9.03.bb |    3 +++
>   1 file changed, 3 insertions(+)
>
> diff --git a/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb b/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb
> index eac4ebb..e32a50c 100644
> --- a/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb
> +++ b/meta/recipes-extended/lsb/lsbinitscripts_9.03.bb
> @@ -19,7 +19,10 @@ ALTERNATIVE_PRIORITY = "100"
>   ALTERNATIVE_${PN} = "functions"
>   ALTERNATIVE_LINK_NAME[functions] = "${sysconfdir}/init.d/functions"
>
> +# Since we are only taking the patched version of functions, no need to
> +# configure or compile anything so do not execute these
>   do_configure[noexec] = "1"
> +do_compile[noexec] = "1"
>
>   do_install(){
>   	install -d ${D}${sysconfdir}/init.d/
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-12-19  5:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-19  1:14 [PATCH 1/2] lsbinitscripts: Don't compile Saul Wold
2012-12-19  1:14 ` [PATCH 2/2] icu: reduce what's needed for cross tools Saul Wold
2012-12-19  5:15 ` [PATCH 1/2] lsbinitscripts: Don't compile Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox