diff options
author | David Tardon <dtardon@redhat.com> | 2014-04-26 16:43:50 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2014-04-26 16:50:37 +0200 |
commit | c5dd6eb9789dce2c23087ba75cf39bf0f91297fb (patch) | |
tree | 03b881d5aad083af514c3d54734545666d8a3d6d /solenv | |
parent | 2a71e15589c9d4304b744aadad77f1b8e4925ca2 (diff) |
mixing build path and host exec. name doesn't work
Change-Id: I54785205e3884ddf7b94ef7f43617bd329c4e780
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gbuild/TargetLocations.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/solenv/gbuild/TargetLocations.mk b/solenv/gbuild/TargetLocations.mk index 4958d4d6584d..0157cd343dff 100644 --- a/solenv/gbuild/TargetLocations.mk +++ b/solenv/gbuild/TargetLocations.mk @@ -333,6 +333,10 @@ define gb_Executable_get_filename $(patsubst $(1):%,%,$(filter $(1):%,$(gb_Executable_FILENAMES))) endef +define gb_Executable_get_filename_for_build +$(patsubst $(1):%,%,$(filter $(1):%,$(gb_Executable_FILENAMES_FOR_BUILD))) +endef + # Get dependencies needed for running the executable # # This is not strictly necessary, but it makes the use more similar to @@ -361,7 +365,7 @@ endef ifneq ($(CROSS_COMPILING),) # Can we assume this is used only for executables registered for "NONE"? define gb_Executable_get_target_for_build -$(call gb_Executable__get_dir_for_exe_for_build,$(1))/$(call gb_Executable_get_filename,$(1)) +$(call gb_Executable__get_dir_for_exe_for_build,$(1))/$(call gb_Executable_get_filename_for_build,$(1)) endef else gb_Executable_get_target_for_build = $(gb_Executable_get_target) |