Go to file
Jeffery To 0973d21787
python3: Use default _PYTHON_HOST_PLATFORM
This lets the Python build process set _PYTHON_HOST_PLATFORM instead of
forcing an explicit value.

Also:

* Save the target _PYTHON_HOST_PLATFORM value during Build/InstallDev
  for use when building target Python packages (in python3-package.mk).

* Use the (mostly) default PYTHON_FOR_BUILD value, instead patch
  configure to remove the platform triplet from the sysconfigdata file
  name.

* Remove the "CROSS_COMPILE=yes" make variable (there is no indication
  that this variable is necessary).

* Force host pip to build packages from source instead of downloading
  binary wheels.

  Previously, host pip can download universal (platform-independent)
  wheels but not platform-specific wheels, because of the custom
  _PYTHON_HOST_PLATFORM value. (Packages that do not have universal
  wheels would be compiled from source.)

  With a correct _PYTHON_HOST_PLATFORM, host pip can install
  platform-specific wheels as well. However, the pre-built shared object
  (.so) files in these wheels will have the host's platform triplet in
  their file names. When target Python packages are built (using the
  target's _PYTHON_HOST_PLATFORM), Python will not use these shared
  object files.

  By forcing host pip to build packages from source, the built shared
  object files will not have the platform triplet in their file names.
  (Host Python has been patched to remove the platform triplet from file
  names.) This allows these packages to be used when building target
  Python packages.

  (The net effect of this complete change is that platform-dependent
  packages will continue to be compiled from source, while
  platform-independent packages will now also be compiled from source.)

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2020-07-08 17:11:42 +08:00
.circleci circleci: Revert switch to CDN due to breakage 2019-11-22 23:19:56 +01:00
.github repo: Add more information to the issue template 2019-04-07 20:18:55 +00:00
.keys build: move gpg keys into .keys directory 2018-04-30 13:14:25 -07:00
admin treewide: fix broken conffiles 2020-07-07 18:29:13 +08:00
devel meson: update to 0.54.3 2020-06-29 15:19:17 -07:00
fonts/dejavu-fonts-ttf [dejavu-fonts] add license info and myself as maintainer 2017-02-22 18:39:54 +01:00
ipv6 miredo: Makefile fixes 2020-03-22 15:48:28 +03:00
kernel ksmbd: update to 3.2.2 2020-06-25 21:29:46 +02:00
lang python3: Use default _PYTHON_HOST_PLATFORM 2020-07-08 17:11:42 +08:00
libs Merge pull request #12745 from neheb/getd 2020-07-08 00:26:32 -07:00
mail alpine: update to 2.23 2020-06-22 14:44:14 -07:00
multimedia Merge pull request #12646 from neheb/minis 2020-07-01 22:46:38 -07:00
net Merge pull request #12713 from neheb/spaw 2020-07-07 16:46:09 -07:00
sound forked-daapd: fix compilation with GCC10 2020-07-04 18:12:44 -07:00
utils fish: remove CMAKE_INSTALL 2020-07-07 16:03:53 -07:00
.travis.yml travis: improve build config 2020-06-19 21:16:52 +02:00
.travis_do.sh travis: use mpc85xx-p2020 sdk instead of ar71xx 2020-06-18 13:58:09 +02:00
CONTRIBUTING.md CONTRIBUTING.md: update Identifier for Licenses 2019-04-18 12:07:48 +02:00
LICENSE Add GPLv2 pro-forma license 2014-06-16 08:14:04 +02:00
README.md Update the SDK URL in the README. 2020-05-24 14:50:30 -07:00

README.md

OpenWrt packages feed

Description

This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.

Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update packages
./scripts/feeds install -a -p packages

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.