summaryrefslogtreecommitdiff
path: root/RepositoryFixes.mk
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@gmail.com>2013-06-14 12:48:20 +0200
committerMatúš Kukan <matus.kukan@gmail.com>2013-06-15 21:32:36 +0200
commit944f3a6c6e48f1b5532fa16ab38918b9b3f9412e (patch)
tree83901ce06673b80d2174196d9189367eea75c0bd /RepositoryFixes.mk
parent7369a8cad62ba6151ba8c16c41d0005fdf87f0ec (diff)
gbuild: allow to use RepositoryFixes also for executables
Helps to kill package in cpputools. And autoinstall uno executable. Change-Id: Ib1d546371ec8d2b06381d88eff98dbc5b70da400
Diffstat (limited to 'RepositoryFixes.mk')
-rw-r--r--RepositoryFixes.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/RepositoryFixes.mk b/RepositoryFixes.mk
index 04cda5dc870c..030384a1f57c 100644
--- a/RepositoryFixes.mk
+++ b/RepositoryFixes.mk
@@ -17,6 +17,15 @@
# the License at http://www.apache.org/licenses/LICENSE-2.0 .
#
+# fixes for executables
+
+gb_Executable_FILENAMES := $(foreach group,$(gb_Executable_VALIDGROUPS),\
+ $(foreach exe,$(gb_Executable_$(group)),$(exe):$(exe)$(gb_Executable_EXT)))
+
+gb_Executable_FILENAMES := $(patsubst uno:uno,uno:uno.bin,$(gb_Executable_FILENAMES))
+
+gb_Executable_FILENAMES_FOR_BUILD := $(subst $(gb_Executable_EXT),$(gb_Executable_EXT_for_build),$(gb_Executable_FILENAMES))
+
# fixes for all the libraries that are named with too much creativity and do
# not follow any of the established nameschemes