[Buildroot] [PATCH] package/python3: adjust _REMOVE_USELESS_FILES fix for new layout

Peter Korsgaard peter at korsgaard.com
Sat Aug 31 07:51:17 UTC 2019


>>>>> "Peter" == Peter Korsgaard <peter at korsgaard.com> writes:

 > python3 nowadays appends the triplet to the config-<version>m directory:
 > echo target/usr/lib/python3.7/config-*
 > target/usr/lib/python3.7/config-3.7m-powerpc-linux-gnu

 > Likewise, there is no longer a pyconfig.h:

 > ls target/usr/lib/python3.7/config-3.7m-powerpc-linux-gnu
 > config.c  config.c.in  install-sh  libpython3.7m.a  Makefile
 > makesetup  python-config.py  python.o  Setup  Setup.local

 > So adjust the removal logic to match.  Use a wildcard rather than
 > $GNU_TARGET_NAME as buildroot and python3's idea of the triplet doesn't
 > always match (E.G.  for musl/uclibc).

 > Signed-off-by: Peter Korsgaard <peter at korsgaard.com>

Committed to 2019.02.x and 2019.05.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list