A jam invocation without given target (or the "all" target) in the output
directory, the build system root directory, or the "src" directory is now using the "haiku-image" target instead. The variable HAIKU_ORIGINAL_JAM_TARGETS is set to the original JAM_TARGETS value, so that a UserBuildConfig can base its decisions on it. The feature is only available with Haiku's jam version. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20194 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
df6c6990ed
commit
9756b9b4f0
@ -11,6 +11,17 @@
|
||||
# directory paths and the like.
|
||||
|
||||
|
||||
# If the target to be built is "all" (i.e. the default) and we're in the output
|
||||
# directory, the root directory of the build system, or in "src/", we change the
|
||||
# target to be built to "haiku-image".
|
||||
HAIKU_ORIGINAL_JAM_TARGETS = $(JAM_TARGETS) ;
|
||||
if $(JAM_TARGETS) = all {
|
||||
if ! $(INVOCATION_SUBDIR) || $(INVOCATION_SUBDIR) = src {
|
||||
JAM_TARGETS = haiku-image ;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
# Include BuildConfig/Timezones/libgccObjects
|
||||
{
|
||||
local buildConfig = [ GLOB $(HAIKU_BUILD_OUTPUT_DIR) : BuildConfig ] ;
|
||||
|
Loading…
x
Reference in New Issue
Block a user