Go to file
Yann E. MORIN 6a202ef486 package/ncurses: drop our custom host build commands
Commit bf446513e7 (ncurses: fix hanging installation due to old
version of tic) introduced the build of the host tic, to be used by the
target ncurses. That commit purportedly built a static tic, but that is
(at least now) wrong: there is nothing that makes the build of tic
static.

Initially, host-ncurses was configured with --without-shared, but that
only drives whether to generate shared libs or not, it does not drive
whether to do a shared or static link of executables.

And in any case, in af23d762e5 (ncurses: enable shared library build
on the host) we explicitly stopped requesting the build of a static
library, to instead require the build of a shared library.

So, we never had a statically linked tic ever.

Furthermore, we override the _BUKLLD_CMDS, but we do not provide any
_INSTALL_CMDS. As a consequence, the full ncurses is installed, not just
tic. And since we override the _BUILD_CMDS, the libraries are not built,
so they get built during the install step.

And we do indeed need the libraries (host-gettext needs them), and not
just tic.

So, just drop our custom _BUILD_CMDS and just build the whole package
with the default settings. We keep the explicit use of --with-shared,
as this is not the standard flag (--enable-shared) and it is not obvious
what the default is.

The set of files installed before and after this change is exactly the
same, and tic still is an "ELF 64-bit LSB shared object" with a RUNPATH
that still correctly points to $(HOST_DIR)/lib

To be noted: there is no regressin in build time either, since we were
already building everything anyway.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 8b15de20a0)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2022-09-30 17:00:08 +02:00
arch arch/xtensa: custom configuration requires an overlay 2022-09-18 11:34:07 +02:00
board board/freescale/common/imx: align u-boot-spl to 4 bytes 2022-09-17 14:30:51 +02:00
boot boot/mv-ddr-marvell: bump to latest commit 2022-09-18 11:19:49 +02:00
configs configs/rockpro64: Use mainline ATF 2022-09-18 11:16:53 +02:00
docs docs/manual: patch subjects shall not be numbered 2022-09-17 22:22:22 +02:00
fs fs/oci: entrypoint and command are space-separated lists 2022-05-29 10:33:32 +02:00
linux {linux, linux-headers}: bump 4.{9, 14, 19}.x / 5.{4, 10, 15}.x series 2022-09-18 11:38:15 +02:00
package package/ncurses: drop our custom host build commands 2022-09-30 17:00:08 +02:00
support support/config-fragments/autobuild/bootlin-armv7m-uclibc.config: specify configuration more precisely 2022-09-22 14:32:44 +02:00
system system/skeleton: provide run/lock directory 2022-01-12 20:38:09 +01:00
toolchain toolchain/Config.in: update gcc bug 90620 2022-09-18 23:13:31 +02:00
utils utils/test-pkg: show default build dir in help test 2022-09-28 22:24:03 +02:00
.clang-format
.defconfig
.flake8
.gitignore
.gitlab-ci.yml utils/checkpackagelib/lib_sysv: run shellcheck 2022-02-06 18:27:03 +01:00
.shellcheckrc utils/check-package: improve shellcheck reproducibility 2022-08-18 07:59:26 +02:00
CHANGES Update for 2022.02.5 2022-08-31 22:08:58 +02:00
Config.in
Config.in.legacy Config.in.legacy: add missing select 2022-09-16 12:18:20 +02:00
COPYING
DEVELOPERS DEVELOPERS: add Giulio Benetti to package qt5 2022-09-29 23:07:26 +02:00
Makefile Makefile: enhance reporting error about empty VARS 2022-09-14 11:37:05 +02:00
Makefile.legacy
README

Buildroot is a simple, efficient and easy-to-use tool to generate embedded
Linux systems through cross-compilation.

The documentation can be found in docs/manual. You can generate a text
document with 'make manual-text' and read output/docs/manual/manual.text.
Online documentation can be found at http://buildroot.org/docs.html

To build and use the buildroot stuff, do the following:

1) run 'make menuconfig'
2) select the target architecture and the packages you wish to compile
3) run 'make'
4) wait while it compiles
5) find the kernel, bootloader, root filesystem, etc. in output/images

You do not need to be root to build or run buildroot.  Have fun!

Buildroot comes with a basic configuration for a number of boards. Run
'make list-defconfigs' to view the list of provided configurations.

Please feed suggestions, bug reports, insults, and bribes back to the
buildroot mailing list: buildroot@buildroot.org
You can also find us on #buildroot on OFTC IRC.

If you would like to contribute patches, please read
https://buildroot.org/manual.html#submitting-patches