Kaydet (Commit) c7231176 authored tarafından Michael Stahl's avatar Michael Stahl

gbuild: let's read our elves through a variable for consistency

Change-Id: I264a94dc9cdecf1a21ee37b37b5464e05a8e205a
üst 573506c7
...@@ -144,7 +144,7 @@ $(call gb_Helper_abbreviate_dirs,\ ...@@ -144,7 +144,7 @@ $(call gb_Helper_abbreviate_dirs,\
-o $(1) \ -o $(1) \
$(if $(SOVERSIONSCRIPT),&& ln -sf ../../ure-link/lib/$(notdir $(1)) $(ILIBTARGET))) $(if $(SOVERSIONSCRIPT),&& ln -sf ../../ure-link/lib/$(notdir $(1)) $(ILIBTARGET)))
$(if $(filter Library,$(TARGETTYPE)), $(call gb_Helper_abbreviate_dirs,\ $(if $(filter Library,$(TARGETTYPE)), $(call gb_Helper_abbreviate_dirs,\
readelf -d $(1) | grep SONAME > $(WORKDIR)/LinkTarget/$(2).exports.tmp; \ $(READELF) -d $(1) | grep SONAME > $(WORKDIR)/LinkTarget/$(2).exports.tmp; \
$(NM) --dynamic --extern-only --defined-only --format=posix $(1) \ $(NM) --dynamic --extern-only --defined-only --format=posix $(1) \
| cut -d' ' -f1-2 \ | cut -d' ' -f1-2 \
>> $(WORKDIR)/LinkTarget/$(2).exports.tmp && \ >> $(WORKDIR)/LinkTarget/$(2).exports.tmp && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment