|
Viewing Issue Simple Details
[ Jump to Notes ]
|
[ View Advanced ]
[ Issue History ]
[ Print ]
|
|
ID |
Category |
Severity |
Reproducibility |
Date Submitted |
Last Update |
|
0001229 |
[buildroot] New Features |
minor |
always |
02-17-07 14:29 |
02-17-07 14:29 |
|
|
Reporter |
foogod |
View Status |
public |
|
|
Assigned To |
buildroot |
|
Priority |
normal |
Resolution |
open |
|
|
Status |
assigned |
|
Product Version |
|
|
|
Summary |
0001229: PATCH: Add $(PYTHON_FOR_BUILD) |
|
Description |
The attached patch adds the ability to build a native version of python from the same sources and build options as the target version. This is needed for cross-compiling many python extensions, as their configure scripts attempt to run a native python interpreter assuming it will provide sensible values for building to the target. |
|
Additional Information |
This patch adds several things to python.mk:
1. A $(PYTHON_FOR_BUILD) make variable which points to the build-system-native python interpreter.
2. A $(PYTHON_SITEPKG_DIR) make variable which allows other packages to easily tell what the correct site-packages directory for installing python extensions should be.
3. A python-for-build make target which python extension packages can list as a dependency to trigger building the native version of python in addition to the target python. |
|
|
Attached Files |
buildroot.17919.python_for_build.patch [^] (1,335 bytes) 02-17-07 14:29 |
|
|