1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-09-21 19:53:41 +02:00
OpenWrt Source Repository https://openwrt.org/
Go to file
Florian Fainelli 484f768dfa elfutils: Pass -Wno-unused-result to silence warnings as errors
elfutils turns on -Werror by default, and patch 100-musl-compat.patch
changes how strerror_r is used and we no longer use the function's
return value. This causes the following build error/warning to occur
with glibc-based toolchains:

dwfl_error.c: In function 'dwfl_errmsg':
dwfl_error.c:158:18: error: ignoring return value of 'strerror_r',
declared with attribute warn_unused_result [-Werror=unused-result]
       strerror_r (error & 0xffff, s, sizeof(s));
                  ^
cc1: all warnings being treated as errors

Fixing this would be tricky as there are two possible signatures for
strerror_r (XSI and GNU), just turn off unused-result warnings instead.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
2017-05-26 15:42:03 -07:00
.github github: include pull request template 2017-03-12 17:38:31 +01:00
config kernel: enable CRASH_DUMP on supported platforms 2017-05-20 00:26:03 +02:00
include build: fix QUILT related overrides 2017-05-25 20:42:45 +02:00
package elfutils: Pass -Wno-unused-result to silence warnings as errors 2017-05-26 15:42:03 -07:00
scripts scripts/download.pl: print the command used to download files 2017-05-25 19:01:07 +02:00
target treewide: fix device tree path in scripts 2017-05-26 15:18:30 +02:00
toolchain gcc: fix documentation entries added by 910-mbsd_multi.patch 2017-05-25 19:01:07 +02:00
tools flex: update to 2.6.4 (FS#809) 2017-05-26 07:53:03 +02:00
.gitattributes
.gitignore
BSDmakefile
Config.in
feeds.conf.default Add video feed to feeds.conf.default 2017-01-25 16:04:39 +01:00
LICENSE
Makefile build: prepare config.seed before package compilation 2017-03-18 12:08:04 +01:00
README
rules.mk rules.mk: make PKG_CONFIG_DEPENDS properly track string values 2017-02-27 23:46:53 +01:00

This is the buildsystem for the LEDE Linux distribution.

Please use "make menuconfig" to choose your preferred
configuration for the toolchain and firmware.

You need to have installed gcc, binutils, bzip2, flex, python, perl, make,
find, grep, diff, unzip, gawk, getopt, subversion, libz-dev and libc headers.

Run "./scripts/feeds update -a" to get all the latest package definitions
defined in feeds.conf / feeds.conf.default respectively
and "./scripts/feeds install -a" to install symlinks of all of them into
package/feeds/.

Use "make menuconfig" to configure your image.

Simply running "make" will build your firmware.
It will download all sources, build the cross-compile toolchain, 
the kernel and all choosen applications.

To build your own firmware you need to have access to a Linux, BSD or MacOSX system
(case-sensitive filesystem required). Cygwin will not be supported because of
the lack of case sensitiveness in the file system.


Sunshine!
	Your LEDE Community
	http://www.lede-project.org