[Lldb-commits] [lldb] r356711 - Makefile.rules: Normalize use of trailing slashes in path variables.
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Thu Mar 21 13:36:24 PDT 2019
Author: adrian
Date: Thu Mar 21 13:36:23 2019
New Revision: 356711
URL: http://llvm.org/viewvc/llvm-project?rev=356711&view=rev
Log:
Makefile.rules: Normalize use of trailing slashes in path variables.
Modified:
lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules
Modified: lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules?rev=356711&r1=356710&r2=356711&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules Thu Mar 21 13:36:23 2019
@@ -28,10 +28,10 @@
# Uncomment line below for debugging shell commands
# SHELL = /bin/sh -x
-SRCDIR := $(shell dirname $(firstword $(MAKEFILE_LIST)))/
+SRCDIR := $(shell dirname $(firstword $(MAKEFILE_LIST)))
BUILDDIR := $(shell pwd)
-THIS_FILE_DIR := $(shell dirname $(lastword $(MAKEFILE_LIST)))/
-LLDB_BASE_DIR := $(THIS_FILE_DIR)../../../../../
+THIS_FILE_DIR := $(shell dirname $(lastword $(MAKEFILE_LIST)))
+LLDB_BASE_DIR := $(THIS_FILE_DIR)/../../../../../
#----------------------------------------------------------------------
# If OS is not defined, use 'uname -s' to determine the OS name.
@@ -275,7 +275,7 @@ endif
CFLAGS += -I$(SRCDIR) -I$(THIS_FILE_DIR)
ifndef NO_TEST_COMMON_H
- CFLAGS += -include $(THIS_FILE_DIR)test_common.h
+ CFLAGS += -include $(THIS_FILE_DIR)/test_common.h
endif
CFLAGS += $(NO_LIMIT_DEBUG_INFO_FLAGS) $(ARCH_CFLAGS) $(CFLAGS_EXTRAS)
More information about the lldb-commits
mailing list