python: add include guard for python-host.mk and include in Makefile
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Fri, 4 Nov 2016 08:35:03 +0000 (10:35 +0200)
committerAlexandru Ardelean <ardeleanalex@gmail.com>
Mon, 7 Nov 2016 07:27:20 +0000 (09:27 +0200)
commit45bdb70e1ed411f24aae4624563d682a372f287c
tree15f85ccb4a1e3da0e91bf58b0a1269343a0a7198
parentfa76db66ef6947c34d0b34dc6aed73b11dc11803
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>
lang/python/Makefile
lang/python/files/python-host.mk