python3: Remove include guard for python3-host.mk
authorJeffery To <jeffery.to@gmail.com>
Thu, 9 Apr 2020 11:20:48 +0000 (19:20 +0800)
committerJeffery To <jeffery.to@gmail.com>
Fri, 17 Apr 2020 15:19:13 +0000 (23:19 +0800)
Since it only defines variables and canned recipes, it is safe to
include python3-host.mk more than once.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
lang/python/python3-host.mk

index 403d0d282122f5557466c22e4f26fd6dc1cbae92..a2f4d69976cd6e8b24fc79c05b43f5bcf87362ba 100644 (file)
@@ -8,9 +8,6 @@
 # Note: include this after `include $(TOPDIR)/rules.mk in your package Makefile
 #       if `python3-package.mk` is included, this will already be included
 
-ifneq ($(__python3_host_mk_inc),1)
-__python3_host_mk_inc=1
-
 # For PYTHON3_VERSION
 python3_mk_path:=$(dir $(lastword $(MAKEFILE_LIST)))
 include $(python3_mk_path)python3-version.mk
@@ -91,5 +88,3 @@ define Build/Compile/HostPy3Mod
                ./setup.py $(2), \
                $(3))
 endef
-
-endif # __python3_host_mk_inc