You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
5 years ago
..
site include/site: add powerpc64 config 7 years ago
autotools.mk treewide: fix build depends to refer to source package names 6 years ago
cmake.mk build: use CMAKE_SOURCE_SUBDIR variable to cmake.mk 6 years ago
debug.mk include: remove trailing whitespaces 9 years ago
depends.mk build: add missing wildcard for ignoring .pkgdir in dependency checks 7 years ago
device_table.txt image: ensure that /dev/console exist in rootfs images 11 years ago
download.mk build: remove sgid permission from tar 5 years ago
feeds.mk build: suppress error output in feeds.mk 5 years ago
hardened-ld-pie.specs build: add hardened builds with PIE (ASLR) support 6 years ago
hardening.mk build: fix ASLR for LTO packages 6 years ago
host-build.mk build: do not override CCACHE_DIR when ccache is disabled 6 years ago
image-commands.mk build: image: add pad-to and pad-rootfs-squashfs helpers 5 years ago
image-legacy.mk image: fix ar71xx legacy images 7 years ago
image.mk ath79: split DEVICE_TITLE in multiple variables 5 years ago
kernel-build.mk include/kernel-build.mk: fix kernel rebuild on backport patch changes 6 years ago
kernel-defaults.mk kernel: fix downloading rcX releases 5 years ago
kernel-version.mk kernel: bump 4.19 to 4.19.57 5 years ago
kernel.mk build: skip kernel stack validation when building on macOS 5 years ago
netfilter.mk netfilter: Add fib support for nftables 5 years ago
nls.mk treewide: fix build depends to refer to source package names 6 years ago
package-bin.mk build: use if-then to avoid non-zero return codes in bin/ packaging code 7 years ago
package-defaults.mk include/package-defaults.mk: fix default Build/Prepare with empty ./src 6 years ago
package-dumpinfo.mk build: expose ABI version in .packageauxvars 5 years ago
package-ipkg.mk build: warn when packages have no associated install section 5 years ago
package-seccomp.mk include: add a seccomp filter install wrapper 9 years ago
package.mk include/package.mk: Add support for src-checkout/ folder 5 years ago
prereq-build.mk build: switch to Python 3 5 years ago
prereq.mk include: extend SetupHostCommand macro to accept more arguments 6 years ago
quilt.mk build: Use LINUX_DIR for Kernel/Patch 5 years ago
rootfs.mk imagebuilder: new DISABLED_SERVICES make variable 5 years ago
scan.awk build: propagate override information to .packageinfo 9 years ago
scan.mk build: Fix print without color 5 years ago
scons.mk build: use CXXFLAGS if defined 8 years ago
shell.sh build: use mkhash to replace various quirky md5sum/openssl calls 7 years ago
subdir.mk build: remove GNU time dependency 6 years ago
target.mk build: add urandom-seed and urngd to default packages set 5 years ago
toolchain-build.mk toolchain: Include hardening.mk for toolchain build 5 years ago
toplevel.mk build: fix kernel_*config targets on 4.19 5 years ago
u-boot.mk u-boot.mk: Fix building of recent U-Boot sources 5 years ago
uclibc++.mk toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ support mandatory - fixes recursive config symbol dependency issues 11 years ago
unpack.mk include: unpack.mk: remove CRLF_WORKAROUND 5 years ago
verbose.mk include/verbose.mk: Add sc to failure message 6 years ago
version.mk version.mk: use https:// instead of http:// 5 years ago