summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2018-01-31 09:14:12 +0000
committerPavel Labath <labath@google.com>2018-01-31 09:14:12 +0000
commit73d87784375e6b8490d0fbb3eee2effae000103e (patch)
tree439d23998d3555b79a239f50e2bc54083867ba78 /lldb/packages/Python
parent75f1dd9b986c063af253b791e3edb33857d02dc5 (diff)
downloadbcm5719-llvm-73d87784375e6b8490d0fbb3eee2effae000103e.tar.gz
bcm5719-llvm-73d87784375e6b8490d0fbb3eee2effae000103e.zip
Fix TestTargetSymbolsAddCommand makefile
We started passing the "all" target to make, which rendered the "localall" trick in this Makefile inoperable. I implement the strip step differently, and also reformat the Makefile. llvm-svn: 323855
Diffstat (limited to 'lldb/packages/Python')
-rw-r--r--lldb/packages/Python/lldbsuite/test/linux/add-symbols/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/linux/add-symbols/Makefile b/lldb/packages/Python/lldbsuite/test/linux/add-symbols/Makefile
index c701797f0a7..71a5c11a83d 100644
--- a/lldb/packages/Python/lldbsuite/test/linux/add-symbols/Makefile
+++ b/lldb/packages/Python/lldbsuite/test/linux/add-symbols/Makefile
@@ -2,11 +2,12 @@ LEVEL = ../../make
CXX_SOURCES := main.cpp
LD_EXTRAS += -Wl,--build-id=none
-localall : stripped.out all
+all: stripped.out
+
stripped.out : a.out
- $(OBJCOPY) --remove-section=.note.gnu.build-id --remove-section=.gnu_debuglink --strip-debug a.out stripped.out
+ $(OBJCOPY) --remove-section=.note.gnu.build-id --remove-section=.gnu_debuglink --strip-debug $< $@
clean::
- $(RM) stripped.out
+ $(RM) stripped.out
-include $(LEVEL)/Makefile.rules \ No newline at end of file
+include $(LEVEL)/Makefile.rules
OpenPOWER on IntegriCloud