All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-java][bug] java-library inherit allarch
@ 2018-11-15 13:18 nick83ola
  0 siblings, 0 replies; only message in thread
From: nick83ola @ 2018-11-15 13:18 UTC (permalink / raw)
  To: openembeded-devel

Hi all,

got some issue compiling the rxtx package in meta java.

In particular regarding this patch

https://patchwork.openembedded.org/patch/89023/

this approach is still valid (inherit allarch in java-library class)?

Regards
Nicola Lunghi

=======================================================

[meta-java,v2,4/6] java-library: inherit allarch

Use the allarch class to make every packages in the 'all' ARCH.
Recipes inheriting java-library which build additional packages which
don't belong in to all ARCH must manually setting PACKAGE_ARCH after
inheritting java-library.

diff --git a/classes/java-library.bbclass b/classes/java-library.bbclass
index a74c8d3..144cd2f 100644
--- a/classes/java-library.bbclass
+++ b/classes/java-library.bbclass
@@ -7,8 +7,12 @@
 # starts with "lib" and/or ends with "-java". In case the "lib"
prefix is part of
 # your package's normal name (e.g. liberator) the guessing is wrong
and you have
 # to set JPN manually!
+#
+# package archs are set to all, if the recipe builds also packages which
+# can not be used for all archs, then set the PACKAGE_ARCH of that package
+# manually, see rxtx_xx.bb for an example.

-inherit java
+inherit java allarch

.......

 inherit java-library
+PACKAGE_ARCH = "${TUNE_PKGARCH}"


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-11-15 13:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-15 13:18 [meta-java][bug] java-library inherit allarch nick83ola

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.