mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 19:14:30 +04:00
50b4221ee5c77bf427b010ea22c2b96bd232d1a3
tcsh requires host-tool (gethost) to generate tc.defs.c file. To build this tool on macos, it is required to run ./configure script wihout target vars/flags, but this package is not splitted to host and target build. This patch splits build to host and target builds to compile host-tool(gethost) first, then compile tsch. Due to lack of support of separate building host and target, OpenWrt Makefile is modified to do it in the order below: 1. build host-tool (gethost) 2. build sh.err.h header for target 3. build tc.const.h header for target 4. copy gethost tool from host staging dir to target build dir 5. touch (make -t) gethost to protect it from recompiling 6. build tsch for target It is required to do step 2 and 3 because 'make -t' generates empty files but these files required to build tcsh Patch 020-cross.patch has been removed due to not required anymore (gethost build is separated and not affected by target configure flags and vars) Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
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.
Languages
Makefile
54.5%
Shell
31.4%
C
8.1%
C++
1.9%
Lua
1.4%
Other
2.5%