blob: 10f2ef84d3243c458303baff67d784b1114a4b20 [file] [log] [blame]
Brad Bishop19323692019-04-05 15:28:33 -04001From 7205761d654636a6c1fad03a3ca40d38e253e192 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Fri, 25 Jan 2019 16:01:07 +0800
4Subject: [PATCH] Makefile: fix problem that waf cannot found
5
6tdb is subfolder of samba, but it can also build independently.
7so both path need to be added into PATH
8
9Upsteam-Status: Inappropriate [oe specific]
10
11Fix reject by upstream since upsteam need to support both python2/3,
12so drop add append PATH. refer link:
13https://gitlab.com/samba-team/samba/merge_requests/209
14https://gitlab.com/samba-team/samba/merge_requests/211
15
16Signed-off-by: Changqing Li <changqing.li@windriver.com>
17---
18 Makefile | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/Makefile b/Makefile
22index 3e70146..64bb393 100644
23--- a/Makefile
24+++ b/Makefile
25@@ -1,6 +1,6 @@
26 # simple makefile wrapper to run waf
27
28-WAF_BINARY=$(PYTHON) ../../buildtools/bin/waf
29+WAF_BINARY=PATH=buildtools/bin:../../buildtools/bin:$$PATH waf
30 WAF=PYTHONHASHSEED=1 WAF_MAKE=1 $(WAF_BINARY)
31
32 all:
33--
342.7.4
35