diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2009-09-23 22:05:04 +0200 |
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-09-23 22:05:04 +0200 |
| commit | bb813d480b00ed42f1e59b760b6433f4ad96bcde (patch) | |
| tree | 2e77b45cbfc25498205d615af59128815969fccd /package/python/Makefile | |
| parent | b2ff5a67ef7c8033dba60c4c6bcf6643ec0a55f6 (diff) | |
install hostpython to STAGIND_DIR for further usage
Diffstat (limited to 'package/python/Makefile')
| -rw-r--r-- | package/python/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/package/python/Makefile b/package/python/Makefile index e0df5d9e4..a602c6706 100644 --- a/package/python/Makefile +++ b/package/python/Makefile @@ -20,8 +20,8 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,PYTHON,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) MAKE_ENV+= OPT="$(TARGET_CFLAGS)" \ - HOSTPYTHON=./hostpython \ - HOSTPGEN=./hostpgen \ + HOSTPYTHON=hostpython \ + HOSTPGEN=hostpgen \ CROSS_COMPILE=yes CONFIGURE_STYLE:= gnu @@ -39,9 +39,10 @@ pre-configure: --prefix=$(STAGING_TOOLS) \ ); $(MAKE) -C ${WRKBUILD} python Parser/pgen - (cd $(WRKBUILD);mv Parser/pgen hostpgen) - ${CP} ${WRKBUILD}/python ${WRKBUILD}/hostpython - $(MAKE) -C ${WRKBUILD} HOSTPYTHON="./hostpython" sharedmods install + ${CP} ${WRKBUILD}/Parser/pgen ${STAGING_TOOLS}/bin/hostpgen + ${CP} ${WRKBUILD}/python ${STAGING_TOOLS}/bin/hostpython + PATH='${TARGET_PATH}' \ + $(MAKE) -C ${WRKBUILD} HOSTPYTHON="hostpython" sharedmods install $(MAKE) -C ${WRKBUILD} distclean post-install: |
