package/owfs: remove Python sysconfigdata fixup
authorHerve Codina <herve.codina@bootlin.com>
Tue, 17 Aug 2021 08:39:18 +0000 (10:39 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sat, 28 Aug 2021 14:44:48 +0000 (16:44 +0200)
This fixup is done at pkg-generic level for all packages.
So, it is no more needed in owfs package.

Signed-off-by: Herve Codina <herve.codina@bootlin.com>
Reviewed-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/owfs/owfs.mk

index ffc0b3098d52ce9180f9f215f162ff7546589655..10543d36981a1344f3e167104eb94265866985a3 100644 (file)
@@ -88,15 +88,6 @@ OWFS_DEPENDENCIES += python host-swig
 # override the PYSITEDIR variable in make.
 OWFS_EXTRA_MAKE_OPTS += PYSITEDIR=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages
 
-ifeq ($(BR2_PER_PACKAGE_DIRECTORIES),y)
-define OWFS_FIXUP_PYTHON_SYSCONFIGDATA
-       find $(HOST_DIR)/lib/python* $(STAGING_DIR)/usr/lib/python* \
-               -name "_sysconfigdata*.py" | xargs --no-run-if-empty \
-               $(SED) "s:$(PER_PACKAGE_DIR)/[^/]\+/:$(PER_PACKAGE_DIR)/owfs/:g"
-endef
-OWFS_PRE_CONFIGURE_HOOKS += OWFS_FIXUP_PYTHON_SYSCONFIGDATA
-endif
-
 else
 OWFS_CONF_OPTS += --disable-owpython --without-python
 endif