Skip to contentSkip to conversation

perf build: Get rid of LIB_INCLUDE variable

tip:perf/core tip-bot for Jiri Olsa 1 participant 1 message Mar 22, 2015 perf events

lore
Share & tools
lore

tip-bot for Jiri Olsa

author merge bot
#0 lore raw
Commit-ID:  9444e874e6d0b1db2ad31e3f755bab8a571240f5
Gitweb:     http://git.kernel.org/tip/9444e874e6d0b1db2ad31e3f755bab8a571240f5
Author:     Jiri Olsa <[email protected]>
AuthorDate: Sun, 1 Mar 2015 20:11:24 +0100
Committer:  Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Wed, 18 Mar 2015 15:04:51 -0300

perf build: Get rid of LIB_INCLUDE variable

It has no use, so we can directly use the value for CFLAGS.

---
 tools/perf/config/Makefile | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
tools/perf/config/Makefile +1 -2
index 45f6125..467106b 100644
@@ -15,7 +15,6 @@ $(shell echo -n > .config-detected)
 detected     = $(shell echo "$(1)=y"       >> .config-detected)
 detected_var = $(shell echo "$(1)=$($(1))" >> .config-detected)
 
-LIB_INCLUDE := $(srctree)/tools/lib/
 CFLAGS := $(EXTRA_CFLAGS) $(EXTRA_WARNINGS)
 
 include $(src-perf)/config/Makefile.arch
@@ -320,7 +319,7 @@ endif
 
 CFLAGS += -I$(src-perf)/util
 CFLAGS += -I$(src-perf)
-CFLAGS += -I$(LIB_INCLUDE)
+CFLAGS += -I$(srctree)/tools/lib/
 
 CFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE