Go to file
Markus Mayer 928bfe6045 package/mkpasswd: define _DEFAULT_SOURCE to suppress compiler warning
We define _DEFAULT_SOURCE in mkpasswd.c to suppress a compiler warning.

In file included from /usr/include/x86_64-linux-gnu/bits/libc-header-start.h:33,
                 from /usr/include/stdio.h:27,
                 from [...]/buildroot/output/arm64/build/host-mkpasswd/mkpasswd.c:24:
/usr/include/features.h:187:3:
  187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
      |   ^~~~~~~

As per GLIBC 2.20 release notes[1]:

    The _BSD_SOURCE and _SVID_SOURCE feature test macros are no longer
    supported; they now act the same as _DEFAULT_SOURCE (but generate a
    warning). Except for cases where _BSD_SOURCE enabled BSD interfaces
    that conflicted with POSIX (support for which was removed in 2.19),
    the interfaces those macros enabled remain available when compiling
    with _GNU_SOURCE defined, with _DEFAULT_SOURCE defined, or without
    any feature test macros defined.

[1] https://lwn.net/Articles/611162/

Signed-off-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
(cherry picked from commit 9616ade222)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-12-12 23:52:59 +01:00
arch ARC: Add support for generic HS48 processor 2021-01-16 09:58:26 +01:00
board configs/olimex_a64_olinuxino: backport gcc >= 10 u-boot and linux patch 2021-11-17 23:28:44 +01:00
boot boot/syslinux: define OBJCOPY and AS 2021-12-12 00:05:55 +01:00
configs configs/olimex_a64_olinuxino: backport gcc >= 10 u-boot and linux patch 2021-11-17 23:28:44 +01:00
docs docs/manual: update the list of libffi unsupported archs 2021-11-17 23:17:43 +01:00
fs fs/ext2: fir (again) namespace for variables 2021-10-18 14:34:59 +02:00
linux {linux, linux-headers}: bump 4.{4, 9, 14, 19}.x / 5.{4, 10, 15}.x series 2021-12-12 14:56:22 +01:00
package package/mkpasswd: define _DEFAULT_SOURCE to suppress compiler warning 2021-12-12 23:52:59 +01:00
support support/dependencies: avoid spurious warning on print-vars 2021-12-12 23:12:38 +01:00
system system: support br2-external init systems 2020-10-14 22:48:42 +02:00
toolchain toolchain: improve conditions for gcc bug 99140 2021-09-06 21:06:37 +02:00
utils utils/genrandconfig: reduce the maximum "size" of random configurations 2021-11-17 23:12:59 +01:00
.defconfig arch: remove support for sh64 2016-09-08 22:15:15 +02:00
.flake8 Revert ".flake8: fix check for 80/132 columns" 2021-01-02 17:38:20 +01:00
.gitignore
.gitlab-ci.yml .gitlab-ci.yml: use the Docker image from gitlab registry 2021-12-11 23:58:55 +01:00
CHANGES Update for 2021.02.7 2021-11-10 14:20:12 +01:00
Config.in Config.in: disable Fortify Source for microblaze 2021-09-06 17:36:05 +02:00
Config.in.legacy package/openjdk{-bin}: bump version to 17.0.1+12 2021-11-08 15:04:56 +01:00
COPYING COPYING: add exception about patch licensing 2016-02-26 19:50:13 +01:00
DEVELOPERS DEVELOPERS: add Joachim Wiberg as maintainer for inadyn 2021-12-12 23:19:46 +01:00
Makefile Makefile: really comment syntax colouring 2021-12-12 23:14:31 +01:00
Makefile.legacy Remove BR2_DEPRECATED 2016-10-15 23:14:45 +02:00
README docs: move the IRC channel away from Freenode 2021-06-10 08:36:37 +02: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 OFTC IRC.

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