Go to file
Giulio Benetti 5e787b0014 package/libnss: use correct CFLAGS and LDFLAGS
Currently libnss is configured with BUILD_OPT=1 and due to that that
it doesn't take into account Buildroot TARGET_CFLAGS nor
TARGET_LDFLAGS resulting in pre-chosen optimizations and debugging
symbols being used.

We can't pass TARGET_CFLAGS through CFLAGS or similar otherwise other
internal libnss one will be overwritten (i.e. -fPIC), so we prefer to
append TARGET_CFLAGS at the end of Linux.mk as well as TARGET_LDFLAGS
according to internal libnss Makefile system's names. And obviously
remove BUILD_OPT=1 from BUILD_VARS.

This reveals hidden bugs when building with -Os due to bogus
uninitialized warnings from gcc turned into errors because of -Werror,
so we explicitly pass NSS_ENABLE_WERROR=0 to avoid the use of -Werror.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
[Thomas: drop the libnss patches, and pass NSS_ENABLE_WERROR instead]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-08-01 00:48:26 +02:00
arch arch/arc: always needs -matomic with atomic extensions 2019-07-18 22:54:36 +02:00
board configs/warp7: Bump kernel and U-Boot versions 2019-07-14 11:57:39 +02:00
boot boot/arm-trusted-firmware: licensing info is only valid for v1.4 2019-07-21 15:39:21 +02:00
configs configs/freescale_imx8mmevk_defconfig: bump to 4.14.98_2.0.0 2019-08-01 00:44:01 +02:00
docs docs/manual: 'Fixes' tag needs a colon 2019-07-14 12:13:56 +02:00
fs fs/cpio: fix typo in comment 2019-07-17 08:56:35 +02:00
linux linux: Force CONFIG_NET=y when using mdev+devtempfs for /dev management 2019-07-31 08:20:11 +02:00
package package/libnss: use correct CFLAGS and LDFLAGS 2019-08-01 00:48:26 +02:00
support support/testing: openjdk JNI test cases 2019-06-30 17:32:34 +02:00
system system/Config.in: add new init - openrc 2019-05-18 23:16:04 +02:00
toolchain toolchain-buildroot: musl only supports 64bit variant of risc-v 2019-07-30 18:39:31 +02:00
utils checkpackagelib/lib_config.py: check packages alphabetical order in {Config.in, Config.in.host} 2019-07-14 00:21:26 +02:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.flake8 .flake8: fix check for 80/132 columns 2019-04-10 12:31:33 +02:00
.gitignore update gitignore 2013-05-04 12:41:55 +02:00
.gitlab-ci.yml package/luasyslog: new package 2019-06-20 18:25:15 +02:00
.gitlab-ci.yml.in .gitlab-ci.yml: add trigger per job 2019-05-01 15:42:45 +02:00
CHANGES Update for 2019.02.4 2019-07-10 11:29:30 +02:00
Config.in toolchain: set the ssp gcc option in kconfig 2019-03-13 00:01:55 +01:00
Config.in.legacy package/x11r7/xapp_mkfontdir: remove package 2019-06-20 21:39:03 +02:00
COPYING COPYING: add exception about patch licensing 2016-02-26 19:50:13 +01:00
DEVELOPERS DEVELOPERS: Remove Qais Yousef 2019-07-30 17:49:47 +02:00
Makefile Makefile: don't export GZIP environment variable 2019-07-17 08:46:05 +02:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
README README: add reference to submitting-patches 2016-02-01 19:16:08 +01:00

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 Freenode IRC.

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