源码是从 https://gitee.com/de-eem/openwrt 搬过来的
Go to file
Merlijn Wajer 4a0c4d8151 netifd: Use -x hostname:$hostname instead of -H
Passing the hostname is currently broken in since the shipped busybox includes this commit:
https://git.busybox.net/busybox/commit/networking/udhcp/dhcpc.c?id=2017d48c0d70bef8768efb42909e605ea8eb5a21

Before:

    Sun Jan 31 18:11:32 2016 daemon.notice netifd: Interface 'wan' is now down
    Sun Jan 31 18:11:32 2016 daemon.notice netifd: Interface 'wan' is setting up now
    Sun Jan 31 18:11:32 2016 daemon.notice netifd: wan (18158): udhcpc: option -h NAME is deprecated, use -x hostname:NAME
    Sun Jan 31 18:11:32 2016 daemon.notice netifd: wan (18158): udhcpc: malformed hex string 'WR150'

After:

    Sun Jan 31 18:11:33 2016 daemon.notice netifd: wan (18169): udhcpc (v1.23.2) started
    Sun Jan 31 18:11:33 2016 daemon.notice netifd: wan (18169): Sending discover...
    Sun Jan 31 18:11:33 2016 daemon.notice netifd: wan (18169): Sending select for xxx.yyy.zzz.xyz...
    Sun Jan 31 18:11:33 2016 daemon.notice netifd: wan (18169): Lease of xxx.yyy.zzz.xyz obtained, lease time 600

Signed-off-by: Merlijn Wajer <merlijn@wizzup.org>
2016-07-24 06:59:55 +02:00
config apm821xx: use lzma compression for the initramfs images 2016-07-25 10:38:11 +02:00
docs build: Prevent more gzip timestamps 2015-07-14 09:57:45 +00:00
include build: remove image prefix from kernel files in KDIR 2016-07-25 12:44:30 +02:00
package netifd: Use -x hostname:$hostname instead of -H 2016-07-24 06:59:55 +02:00
scripts scripts/getver.sh: fix older git versions from printing stuff to stdout 2016-07-16 20:50:56 +02:00
target b53: allow ports with higher numbers than CPU port 2016-07-24 06:38:30 +02:00
toolchain toolchain/gcc/arc-2016.03: Fix building on hosts with gcc 6.x 2016-07-27 17:22:39 +02:00
tools tools: bring back genext2fs for apm821xx 2016-07-23 19:37:20 +02:00
.gitattributes
.gitignore
BSDmakefile
Config.in branding: add LEDE branding 2016-03-24 22:40:13 +01:00
feeds.conf.default feeds.conf: disable the targets feed by default 2016-07-17 16:57:54 +02:00
LICENSE
Makefile build: fix make clean, delete package directories for selected arch 2016-05-11 10:02:36 +02:00
README README: Update project README 2016-05-12 03:29:36 +02:00
rules.mk rules.mk: introduce new variable OUTPUT_DIR 2016-04-06 21:49:15 +02: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