python32.mk 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. #
  2. # Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies).
  3. # All rights reserved.
  4. # This component and the accompanying materials are made available
  5. # under the terms of the License "Eclipse Public License v1.0"
  6. # which accompanies this distribution, and is available
  7. # at the URL "http://www.eclipse.org/legal/epl-v10.html".
  8. #
  9. # Initial Contributors:
  10. # Nokia Corporation - initial contribution.
  11. #
  12. # Contributors:
  13. #
  14. # Description:
  15. # Utility makefile
  16. #
  17. # Build Python for Raptor
  18. ifndef (b_python)
  19. include python.mk
  20. endif
  21. RAPTOR_PYTHON_VER:=3.2.1
  22. RAPTOR_PYTHON_DIRVERSION:=$(subst .,,$(RAPTOR_PYTHON_VER))
  23. PYTHON_SOURCEDIR:=$(OUTPUTPATH)/Python-$(RAPTOR_PYTHON_VER)
  24. PYTHON_TAR:=$(SBS_HOME)/util/ext/Python-$(RAPTOR_PYTHON_VER).tar.bz2
  25. PYINSTALLROOT:=$(INSTALLROOT)/python$(RAPTOR_PYTHON_DIRVERSION)
  26. PYTHON_TAR_URL:=http://rene.europe.nokia.com/~raptorbot/files/$(RAPTOR_PYTHON_VER)/Python-$(RAPTOR_PYTHON_VER).tar.bz2 http://www.python.org/ftp/python/$(RAPTOR_PYTHON_VER)/Python-$(RAPTOR_PYTHON_VER).tar.bz2
  27. $(eval $(b_python))