python: fix intermitent build failure
authorAlexandru Ardelean <ardeleanalex@gmail.com>
Thu, 6 Jul 2017 06:30:45 +0000 (09:30 +0300)
committerYousong Zhou <yszhou4tech@gmail.com>
Thu, 6 Jul 2017 08:49:27 +0000 (16:49 +0800)
Fixes: https://github.com/openwrt/packages/issues/4548
When running parallel jobs, there are chances
that the Build/InstallDev rule may run before
the Host/Install rule and fail the build.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
lang/python/python/Makefile

index d4c657b4f2e601fa469eef33b03e5e5d42a8be07..09269caebaddc2e0fb1c41ffd93affc1f6593862 100644 (file)
@@ -192,12 +192,6 @@ endef
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include/ $(1)/usr/lib/ $(1)/usr/lib/pkgconfig
        $(INSTALL_DIR) $(1)/usr/lib/python$(PYTHON_VERSION)/
-       $(INSTALL_DATA) \
-               ./files/python-package.mk \
-               ./files/python-host.mk \
-               ./files/python-version.mk \
-               ./files/python-package-install.sh \
-               $(STAGING_DIR)/mk/
        $(CP) \
                $(PKG_INSTALL_DIR)/usr/include/python$(PYTHON_VERSION) \
                $(1)/usr/include/