summaryrefslogtreecommitdiff
path: root/common.mak
diff options
context:
space:
mode:
authorMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-06-27 17:51:57 +0200
committerMatthieu Bouron <matthieu.bouron@stupeflix.com>2016-06-27 17:56:47 +0200
commit0acc170aad995012da9610063b1f39e8f10eccf8 (patch)
treec8060235797f6cdbd8171d50c2746b4312695652 /common.mak
parentd9561718135a6eba8c781fa248679d9280030a0c (diff)
parent535a742c2695a9e0c586b50d7fa76e318232ff24 (diff)
Merge commit '535a742c2695a9e0c586b50d7fa76e318232ff24'
* commit '535a742c2695a9e0c586b50d7fa76e318232ff24': build: Change structure of the linker version script templates Merged-by: Matthieu Bouron <matthieu.bouron@stupeflix.com>
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak4
1 files changed, 1 insertions, 3 deletions
diff --git a/common.mak b/common.mak
index 5eec8cc99d..fbe57d5c4a 100644
--- a/common.mak
+++ b/common.mak
@@ -84,9 +84,7 @@ COMPILE_HOSTC = $(call COMPILE,HOSTCC)
$(Q)echo '#include "$*.h"' >$@
%.ver: %.v
- $(M)sed 's/$$MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ | sed -e 's/:/:\
-/' -e 's/; /;\
-/g' > $@
+ $(M)sed 's/MAJOR/$($(basename $(@F))_VERSION_MAJOR)/' $^ > $@
%.c %.h %.ver: TAG = GEN