RFC: make all angstrom java related setting overridable from local.conf
Hi,
atm angstrom does not allow me to override versions for the Java recipes in local.conf. With the attached that is being made possible.
Ok, for .dev?
Regards,
Robert
conf/distro/include/angstrom-jalimo.conf +16 -16
@@ -1,32 +1,32 @@ # Put a 'require conf/distro/include/angstrom-jalimo.conf' in your local.conf if you want to build from the jalimo overlay # initial stuff -PREFERRED_VERSION_jamvm-initial = "1.4.5" -PREFERRED_VERSION_classpath-initial = "0.93" +PREFERRED_VERSION_jamvm-initial ?= "1.4.5" +PREFERRED_VERSION_classpath-initial ?= "0.93" # Native VM -PREFERRED_PROVIDER_virtual/java-native = "jamvm-native" -PREFERRED_VERSION_jamvm-native = "1.5.3" -#PREFERRED_VERSION_cacao-native = "0.99.3" -PREFERRED_VERSION_classpath-native = "0.98" +PREFERRED_PROVIDER_virtual/java-native ?= "jamvm-native" +PREFERRED_VERSION_jamvm-native ?= "1.5.3" +#PREFERRED_VERSION_cacao-native ?= "0.99.3" +PREFERRED_VERSION_classpath-native ?= "0.98" # Native compiler settings -PREFERRED_PROVIDER_virtual/javac-native = "ecj-bootstrap-native" -PREFERRED_VERSION_libecj-bootstrap = "3.6" +PREFERRED_PROVIDER_virtual/javac-native ?= "ecj-bootstrap-native" +PREFERRED_VERSION_libecj-bootstrap ?= "3.6" # Target VM -PREFERRED_VERSION_cacao = "0.99.3" -PREFERRED_VERSION_cacaoh-native = "0.99.3" +PREFERRED_VERSION_cacao ?= "0.99.3" +PREFERRED_VERSION_cacaoh-native ?= "0.99.3" -PREFERRED_VERSION_jamvm = "1.5.2" -PREFERRED_PROVIDER_swt3.4-gtk = "swt3.4-gtk" -PREFERRED_PROVIDER_classpath = "classpath" +PREFERRED_VERSION_jamvm ?= "1.5.2" +PREFERRED_PROVIDER_swt3.4-gtk ?= "swt3.4-gtk" +PREFERRED_PROVIDER_classpath ?= "classpath" -PREFERRED_VERSION_openjdk-6-jre = "6b18-1.8" -PREFERRED_VERSION_icedtea6-native = "1.7.3" +PREFERRED_VERSION_openjdk-6-jre ?= "6b18-1.8" +PREFERRED_VERSION_icedtea6-native ?= "1.7.3" # Stage JAR files not into ARCH related dirs -STAGING_DIR_JAVA = "${STAGING_DIR}/java" +STAGING_DIR_JAVA ?= "${STAGING_DIR}/java" STAGING_DATADIR_JAVA ?= "${STAGING_DIR_JAVA}"
Quoted 2 lines · Robert Schuster
atm angstrom does not allow me to override versions for the Java recipes in local.conf. With the attached that is being made possible.
Can you not override them as:
PREFERRED_VERSION_cacao_local = "0.99.4"
already? If that's not working then it sounds like there is a bug elsewhere. Adding these weak assignments ought not to be necessary.
p.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 3 lines · Robert Schuster
Hi,
atm angstrom does not allow me to override versions for the Java recipes in local.conf. With the attached that is being made possible.
The patch doesn't match your description. Could you please send a patch that changes the *version* assignments to weak so it matches your description *or* update the description to explain with providers and STAGING_DIR_JAVA needs tweaking as well?
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFMSCeaMkyGM64RGpERAnwRAJ0aPFq1TTp8V1/wmbH6sr8IHo+S8ACgrD6p aa5bM2lLOqvUisFUXGXn8Og=
=uG3m
-----END PGP SIGNATURE-----