aboutsummaryrefslogtreecommitdiffstats
path: root/src/pmu-tools
diff options
context:
space:
mode:
authorMaryam Tahhan <maryam.tahhan@intel.com>2017-10-24 15:21:40 +0100
committerMaryam Tahhan <maryam.tahhan@intel.com>2017-10-24 15:37:37 +0100
commitecf1ba1c5000718d1f0d90270af33039b488c835 (patch)
treed27ce2622523ec0097c9d3c04a48984ed507a5ba /src/pmu-tools
parent787c0f30f5027ac3d072f0c5e53f970d8273e3ac (diff)
src: fix src build issues
Change-Id: I8abf40a0034110dc504c227ffba1ff5e9ec6850b Signed-off-by: Maryam Tahhan <maryam.tahhan@intel.com> Signed-off-by: Taras Chornyi <tarasx.chornyi@intel.com>
Diffstat (limited to 'src/pmu-tools')
-rw-r--r--src/pmu-tools/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/pmu-tools/Makefile b/src/pmu-tools/Makefile
index e40521f5..6d080d70 100644
--- a/src/pmu-tools/Makefile
+++ b/src/pmu-tools/Makefile
@@ -22,7 +22,7 @@
include ../mk/master.mk
include ../package-list.mk
-
+export XDG_CACHE_HOME=/usr/local/src
WORK_DIR = pmu-tools
TAG_DONE_FLAG = $(WORK_DIR)/.$(PMUTOOLS_TAG).done
BUILD_CMD =
@@ -42,7 +42,8 @@ force_make: $(WORK_DIR) $(TAG_DONE_FLAG)
$(AT)cd $(WORK_DIR) && git pull $(PMUTOOLS_URL) $(PMUTOOLS_TAG)
@echo "git pull done"
$(AT)cd $(WORK_DIR)/jevents
- $(AT)sed -i 's/CFLAGS += -g -Wall -O2 -Wno-unused-result -fPIC/CFLAGS += -g -Wall -O2 -Wno-unused-result -fPIC/' $(MAKEFILE)
+ $(AT)sed -i 's/lib64/lib/' $(WORK_DIR)/jevents/$(MAKEFILE)
+ $(AT)sed -i 's/CFLAGS := -g -Wall -O2 -Wno-unused-result/CFLAGS := -g -Wall -O2 -Wno-unused-result -fPIC/' $(WORK_DIR)/jevents/$(MAKEFILE)
$(AT)$(MAKE) -C $(WORK_DIR)/jevents
@echo "Make done"