1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 21:48:23 +02:00
openwrt/include
Petr Štetiar 19938c8de7 build: switch to Python 3
This patch switches Python used in buildroot to Python 3 as Python 2.x
series is going to be EOL relatively soon[1].

 "Being the last of the Python 2.x series, 2.7 will have an extended
  period of maintenance. Specifically, 2.7 will receive bugfix support
  until January 1, 2020. After the last release, 2.7 will receive no
  support."

It seems like Python 3 is going to be needed in order to support Meson
build system which has gained some traction recently.

Build tested on following targets:

 ath79/generic
 imx6/generic
 ipq40xx/generic
 lantiq/xway
 layerscape/armv7 (broken)
 layerscape/armv8_32b (broken)
 layerscape/armv8_64b (broken)
 mvebu/cortexa72
 ramips/mt7621
 ramips/mt7620
 sunxi/cortexa7
 x86/64

Layerscape targets are unfortunately left broken as their ls-rcw
firmware package uses Python 2 and converting it to Python 3 would take
more then reasoanble amount of time (I've tried to fix it already) and
would be better fixed by someone who can even run test it.

Run tested on ath79 (Archer C7 v5), ipq40xx (nbg6617) and x86_64 (QEMU
and apu2).

1. https://www.python.org/dev/peps/pep-0373/

Ref: PR#1937
Cc: Yangbo Lu <yangbo.lu@nxp.com>
Cc: Mathew McBride <matt@traverse.com.au>
Acked-by: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
2019-07-26 08:09:16 +02:00
..
site
autotools.mk
cmake.mk build: use CMAKE_SOURCE_SUBDIR variable to cmake.mk 2018-09-29 17:23:11 +02:00
debug.mk
depends.mk
device_table.txt
download.mk build: remove sgid permission from tar 2019-04-06 19:14:06 +02:00
feeds.mk build: suppress error output in feeds.mk 2019-03-22 00:40:29 +01:00
hardened-ld-pie.specs
hardening.mk build: fix ASLR for LTO packages 2018-07-30 14:26:16 +02:00
host-build.mk build: do not override CCACHE_DIR when ccache is disabled 2018-07-24 15:23:05 +02:00
image-commands.mk build: image: add pad-to and pad-rootfs-squashfs helpers 2019-06-25 14:12:22 +00:00
image-legacy.mk
image.mk ath79: split DEVICE_TITLE in multiple variables 2019-07-04 15:50:17 +02:00
kernel-build.mk include/kernel-build.mk: fix kernel rebuild on backport patch changes 2018-07-14 13:07:34 +02:00
kernel-defaults.mk kernel: fix downloading rcX releases 2018-12-03 09:34:57 +01:00
kernel-version.mk kernel: bump 4.19 to 4.19.57 2019-07-09 17:03:18 +02:00
kernel.mk build: skip kernel stack validation when building on macOS 2019-07-03 14:07:59 +02:00
netfilter.mk netfilter: Add fib support for nftables 2018-12-16 00:57:20 +01:00
nls.mk
package-bin.mk
package-defaults.mk
package-dumpinfo.mk build: expose ABI version in .packageauxvars 2019-01-19 14:32:01 +01:00
package-ipkg.mk build: warn when packages have no associated install section 2019-06-25 14:42:07 +02:00
package-seccomp.mk
package.mk include/package.mk: Add support for src-checkout/ folder 2019-07-10 14:00:19 +02:00
prereq-build.mk build: switch to Python 3 2019-07-26 08:09:16 +02:00
prereq.mk include: extend SetupHostCommand macro to accept more arguments 2018-04-05 13:58:15 +02:00
quilt.mk build: Use LINUX_DIR for Kernel/Patch 2019-01-30 13:20:14 +01:00
rootfs.mk imagebuilder: new DISABLED_SERVICES make variable 2019-05-15 13:34:24 +02:00
scan.awk
scan.mk build: Fix print without color 2019-02-17 19:30:34 +01:00
scons.mk
shell.sh
subdir.mk build: remove GNU time dependency 2018-08-05 00:06:27 +02:00
target.mk build: add urandom-seed and urngd to default packages set 2019-06-11 08:06:28 +02:00
toolchain-build.mk toolchain: Include hardening.mk for toolchain build 2019-01-24 21:52:39 +01:00
toplevel.mk build: fix kernel_*config targets on 4.19 2019-06-21 15:23:49 +02:00
u-boot.mk u-boot.mk: Fix building of recent U-Boot sources 2019-01-26 21:46:32 +01:00
uclibc++.mk
unpack.mk include: unpack.mk: remove CRLF_WORKAROUND 2019-04-18 12:06:47 +02:00
verbose.mk include/verbose.mk: Add sc to failure message 2018-07-30 10:43:36 +02:00
version.mk version.mk: use https:// instead of http:// 2019-06-11 01:49:44 +02:00