java-library: make easy to override jar package name
PATCH 1/1 java-library: make easy to override jar package name
define JARFILENAME and ALTJARFILENAMES with ?= to make simple to override them
Signed-off-by Nicola Lunghi <[email protected]>
--- classes/java-library.bbclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
classes/java-library.bbclass +2 -2
@@ -42,10 +42,10 @@ PACKAGES += "${JPN}" FILES_${JPN} = "${datadir_java}" # File name of the libraries' main Jar file -JARFILENAME = "${BP}.jar" +JARFILENAME ?= "${BP}.jar" # Space-separated list of alternative file names. -ALTJARFILENAMES = "${BPN}.jar" +ALTJARFILENAMES ?= "${BPN}.jar" # Java "source" distributions often contain precompiled things # we want to delete first.
Signature · 1 line
2.19.1