NewMakefile.gmk
changeset 15072 71f6bf463347
parent 15053 64278cb83950
child 15584 83a66923c332
--- a/NewMakefile.gmk	Mon Jan 14 13:09:59 2013 +0100
+++ b/NewMakefile.gmk	Mon Jan 14 15:30:22 2013 +0100
@@ -50,8 +50,6 @@
 endif
 root_dir:=$(dir $(makefile_path))
 
-include $(root_dir)/common/makefiles/Jprt.gmk
-
 # ... and then we can include our helper functions
 include $(root_dir)/common/makefiles/MakeHelpers.gmk
 
@@ -80,6 +78,10 @@
     endif
 endif
 
+# Include this after a potential spec file has been included so that the bundles target
+# has access to the spec variables.
+include $(root_dir)/common/makefiles/Jprt.gmk
+
 # Here are "global" targets, i.e. targets that can be executed without specifying a single configuration.
 # If you addd more global targets, please update the variable global_targets in MakeHelpers.