源码是从 https://gitee.com/de-eem/openwrt 搬过来的
Go to file
Rafał Miłecki df8ca9a5c4 mtd: add -c option for specifying amount of data to be used for checksum
So far fixtrx was calculating checksum over amount of data matching
partition erase size. It was mostly a workaround of checksum problem
after changing anything in initial TRX content (e.g. formatting JFFS2).
Its main purpose was to make bootloader accept modified TRX. This didn't
provide much protection of flash data against corruption.

This new option lets caller request calculating checksum over a bigger
amount of data. It may be used e.g. to include whole kernel data for
checksum and hopefully make bootloader go info failsafe mode if
something goes wrong.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
2016-05-09 20:10:58 +02:00
config global: introduce ALL_NONSHARED symbol 2016-04-13 17:24:12 +02:00
docs build: Prevent more gzip timestamps 2015-07-14 09:57:45 +00:00
include build: add support for specifying extra package dependencies for prepared, configured and built 2016-05-05 19:43:23 +01:00
package mtd: add -c option for specifying amount of data to be used for checksum 2016-05-09 20:10:58 +02:00
scripts metadata.pl: add support for selecting packages available only via PROVIDES 2016-05-09 14:48:49 +02:00
target kernel: add workaround to rebuild vdso-o32.so.dbg 2016-05-09 02:31:04 +02:00
toolchain toolchain: gcc: fix build with GCC 6 2016-05-08 23:37:40 +02:00
tools tools: mkimage: sync include/linux/compiler*.h with u-boot master 2016-05-08 23:37:40 +02:00
.gitattributes add .gitattributes to prevent the git autocrlf option from messing with CRLF/LF in files 2012-05-08 13:30:49 +00:00
.gitignore build: add integration for managing opkg package feed keys 2015-04-06 19:39:51 +00:00
BSDmakefile add missing copyright header 2007-02-26 01:05:09 +00:00
Config.in branding: add LEDE branding 2016-03-24 22:40:13 +01:00
feeds.conf.default feeds.conf.default: remove the commented ancient feeds 2016-04-20 17:19:08 +00:00
LICENSE finally move buildroot-ng to trunk 2016-03-20 17:29:15 +01:00
Makefile branding: add LEDE branding 2016-03-24 22:40:13 +01:00
README branding: add LEDE branding 2016-03-24 22:40:13 +01: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 configure your appreciated
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.

You can use "scripts/flashing/flash.sh" for remotely updating your embedded
system via tftp.

The LEDE system is documented in docs/. You will need a LaTeX distribution
and the tex4ht package to build the documentation. Type "make -C docs/" to build it.

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