From 39dd27ac2dcd50b9bc5cfb7ed71afd1808b6ba01 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Wed, 4 Sep 2013 14:19:43 +0300 Subject: [PATCH 1/2] Python: fix double-copy-subdirs after bc0e948c3 --- packages/lang/Python/build | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/lang/Python/build b/packages/lang/Python/build index 6ccdedaad0..b186de0236 100755 --- a/packages/lang/Python/build +++ b/packages/lang/Python/build @@ -81,10 +81,10 @@ sed -e "s|^LIBDIR=.*|LIBDIR= $SYSROOT_PREFIX/usr/lib|" \ -i $SYSROOT_PREFIX/usr/lib/python*/config/Makefile EXCLUDE_DIRS="bsddb curses idlelib lib-tk lib2to3 msilib" -INCLUDE_DIRS="compiler ctypes ctypes/macholib distutils distutils/command email" -INCLUDE_DIRS="$INCLUDE_DIRS email/mime encodings hotshot importlib json logging" -INCLUDE_DIRS="$INCLUDE_DIRS multiprocessing plat-linux2 sqlite3 xml xml/dom xml/etree" -INCLUDE_DIRS="$INCLUDE_DIRS xml/parsers xml/sax wsgiref" +INCLUDE_DIRS="compiler ctypes distutils email" +INCLUDE_DIRS="$INCLUDE_DIRS encodings hotshot importlib json logging" +INCLUDE_DIRS="$INCLUDE_DIRS multiprocessing plat-linux2 sqlite3 xml" +INCLUDE_DIRS="$INCLUDE_DIRS wsgiref" mkdir -p ./Lib cp ../Lib/*.py ./Lib From 2365cd1bae9ee3c5c22fda2d821f3b00debcb752 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Wed, 4 Sep 2013 20:45:55 +0300 Subject: [PATCH 2/2] linux: elfutils & Python required for perf only --- packages/linux/meta | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/linux/meta b/packages/linux/meta index 6c9b24ed47..26b88371ae 100644 --- a/packages/linux/meta +++ b/packages/linux/meta @@ -53,7 +53,7 @@ PKG_IS_ADDON="no" PKG_AUTORECONF="no" -if [ "$DEVTOOLS" = "yes" ]; then +if [ "$PERF_SUPPORT" = "yes" -a "$DEVTOOLS" = "yes" ]; then PKG_DEPENDS="$PKG_DEPENDS Python" PKG_BUILD_DEPENDS="$PKG_BUILD_DEPENDS elfutils Python" fi