diff options
| author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2016-11-04 10:35:03 +0200 |
|---|---|---|
| committer | Alexandru Ardelean <ardeleanalex@gmail.com> | 2016-11-07 09:27:20 +0200 |
| commit | 45bdb70e1ed411f24aae4624563d682a372f287c (patch) | |
| tree | 15f85ccb4a1e3da0e91bf58b0a1269343a0a7198 /lang/python/Makefile | |
| parent | fa76db66ef6947c34d0b34dc6aed73b11dc11803 (diff) | |
python: add include guard for python-host.mk and include in Makefile
So that it can be included twice.
python-package.mk include python-host.mk, but at some point
in time python-host.mk is not exported to staging_dir yet.
So, to have in python's Makefile, we need to include it
in the Makefile, and to prevent double inclusion (if
python-host.mk is exported from a previous build), the
include guard is added.
Also, moved the includes after some vars were set.
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Diffstat (limited to 'lang/python/Makefile')
| -rw-r--r-- | lang/python/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lang/python/Makefile b/lang/python/Makefile index c333f8e08..336c3b0a6 100644 --- a/lang/python/Makefile +++ b/lang/python/Makefile @@ -7,6 +7,9 @@ include $(TOPDIR)/rules.mk +# This file provides the necsessary host build variables +include ./files/python-host.mk + # The file included below defines PYTHON_VERSION include ./files/python-package.mk |
