Re: [OE-core] [PATCH][v2] perf: fix the install-python_ext

2015-09-14 Thread Rongqing Li
On 2015年09月14日 22:43, Saul Wold wrote: On 08/25/2015 10:58 PM, rongqing...@windriver.com wrote: From: Roy Li 1. $(grep xxx xxx) never returns 0, it maybe return empty or string, and can not compare with 0, this fixes that python module never are installed. 2. python library is installed int

Re: [OE-core] [PATCH][v2] perf: fix the install-python_ext

2015-09-14 Thread Saul Wold
On 08/25/2015 10:58 PM, rongqing...@windriver.com wrote: From: Roy Li 1. $(grep xxx xxx) never returns 0, it maybe return empty or string, and can not compare with 0, this fixes that python module never are installed. 2. python library is installed into /usr/lib/ by default, but we expect it i

Re: [OE-core] [PATCH][v2] perf: fix the install-python_ext

2015-09-07 Thread Rongqing Li
ping -Roy On 2015年08月27日 09:18, Rongqing Li wrote: On 2015年08月26日 18:16, Burton, Ross wrote: On 26 August 2015 at 06:58, mailto:rongqing...@windriver.com>> wrote: +export PYTHON_SITEPACKAGES_DIR Why do you export this and then use \$(PYTHON_SITEPACKAGES_DIR), isn't just using ${PYTHO

Re: [OE-core] [PATCH][v2] perf: fix the install-python_ext

2015-08-26 Thread Rongqing Li
On 2015年08月26日 18:16, Burton, Ross wrote: On 26 August 2015 at 06:58, mailto:rongqing...@windriver.com>> wrote: +export PYTHON_SITEPACKAGES_DIR Why do you export this and then use \$(PYTHON_SITEPACKAGES_DIR), isn't just using ${PYTHON_SITEPACKAGES_DIR} directly so the expansion is perfo

Re: [OE-core] [PATCH][v2] perf: fix the install-python_ext

2015-08-26 Thread Burton, Ross
On 26 August 2015 at 06:58, wrote: > +export PYTHON_SITEPACKAGES_DIR > Why do you export this and then use \$(PYTHON_SITEPACKAGES_DIR), isn't just using ${PYTHON_SITEPACKAGES_DIR} directly so the expansion is performed by bitbake neater? Ross -- ___

[OE-core] [PATCH][v2] perf: fix the install-python_ext

2015-08-25 Thread rongqing.li
From: Roy Li 1. $(grep xxx xxx) never returns 0, it maybe return empty or string, and can not compare with 0, this fixes that python module never are installed. 2. python library is installed into /usr/lib/ by default, but we expect it is installed into ${libdir}, so add --install-lib parameter