java missign classes during compile
PATCH 1/1 java missign classes during compile
From 2182b6f32502ce3e614dafa0d1292ab728613211 Mon Sep 17 00:00:00 2001
From: Amy Fong <[email protected]>
Date: Tue, 24 Sep 2013 16:59:38 -0400
Subject: [PATCH] java missing classes during compile
oe_makeclasspath uses an invalid test to see the package is native. (testing if the build arch and package arch are the same, if so, native)
Rather, we test to see if PN is *-native or *-nativesdk.
Signed-off-by Amy Fong <[email protected]>
--- classes/java.bbclass | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-)
classes/java.bbclass +6 -3
@@ -98,11 +98,14 @@ oe_makeclasspath() { case "$1" in -s) # take jar files from native staging if this is a -native recipe - if [ ${PACKAGE_ARCH} = ${BUILD_ARCH} ]; then + case "$PN" in + *-native|*-nativesdk) dir=${STAGING_DATADIR_JAVA_NATIVE} - else + ;; + *) dir=${STAGING_DATADIR_JAVA} - fi + ;; + esac ;; -*) bbfatal "oe_makeclasspath: unknown option: $1"
Signature · 1 line
1.7.10.4