OpenWrt Source Repository
Go to file
Felix Fietkau 988e3d85b0 include/scan.mk: Add -a argument to the grep to treat all Makefiles as a text file.
Hello,

I found out that in some rare cases grep can treat Makefile as a binary file. That happened to me on UTF-8 Gentoo if Makefile contained a character which was from extended ASCII table.
Without this patch the output of the grep command in the $(FILELIST) target is not valid (contains line "Binary file matches") and following commands fail to create feed index file.

Best Regards,
Martin Strbacka

Signed-off-by: Martin Strbacka <martin.strbacka@nic.cz>

SVN-Revision: 45966
2015-06-14 17:43:22 +00:00
config build: enable package list signing by default 2015-05-05 21:16:13 +00:00
docs docs: Fix typo buysbox -> busybox. 2015-04-09 10:32:26 +00:00
include include/scan.mk: Add -a argument to the grep to treat all Makefiles as a text file. 2015-06-14 17:43:22 +00:00
package build: do another init script enabling run, fixes init scripts added via files/ (#19857) 2015-06-14 17:42:05 +00:00
scripts scripts: add srecimage.pl, a script to convert binaries to SREC format 2015-05-28 15:53:55 +00:00
target ar71xx: Add pll_1000 value for eth0 to Ubiquiti Rocket M XW 2015-06-14 17:43:18 +00:00
toolchain toolchain/gcc: upgrade Linaro GCC 4.9 to 4.9-2015.03 2015-06-11 11:57:11 +00:00
tools firmware-tools/ptgen: use stdint types for struct pte 2015-06-14 17:41:21 +00:00
.gitattributes
.gitignore build: add integration for managing opkg package feed keys 2015-04-06 19:39:51 +00:00
BSDmakefile
Config.in
feeds.conf.default feeds.conf.default: add new targets feed 2015-03-19 11:58:35 +00:00
LICENSE
Makefile Makefile: remove non-existent STAGING_DIR_TOOLCHAIN from dirclean 2015-05-23 15:28:42 +00:00
README
rules.mk build: add integration for managing opkg package feed keys 2015-04-06 19:39:51 +00:00

This is the buildsystem for the OpenWrt 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 OpenWrt 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 OpenWrt Project
	http://openwrt.org