Commit Graph

1468 Commits

Author SHA1 Message Date
Jo-Philipp Wich
ab8f328e8c version.mk: add initial infrastructure for recording specific build taint conditions like modified busybox or disabled ipv6 support
SVN-Revision: 39436
2014-01-31 15:48:42 +00:00
Felix Fietkau
f440e7faea kernel: fix parallel build issues with header install
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39424
2014-01-30 07:33:42 +00:00
Gabor Juhos
a2543d72d8 kernel: update 3.10 to 3.10.28
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39399
2014-01-26 11:30:34 +00:00
Steven Barth
32b3aa076c target: replace 6relayd with odhcpd by default
SVN-Revision: 39309
2014-01-17 13:59:55 +00:00
John Crispin
8751499973 Fix build for individual profiles with dashes in names
Config symbols can have regular dashes, e.g.

CONFIG_TARGET_ramips_rt305x_UR-336UN=y

So no substitution should be performed on the last part of the symbol.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 39242
2014-01-12 12:27:32 +00:00
Gabor Juhos
0e2586a774 kernel: update 3.10 to 3.10.26
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39220
2014-01-11 16:06:37 +00:00
Imre Kaloz
7aaa9bc91c add x86_64 target support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39208
2014-01-07 12:23:35 +00:00
Hauke Mehrtens
952db22551 kernel: update kernel 3.10 to 3.10.24
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39059
2013-12-15 19:16:30 +00:00
Imre Kaloz
e504547e4c upgrade 3.12 targets to 3.12.5
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39055
2013-12-14 17:37:14 +00:00
Felix Fietkau
5a6a47e431 build: speed up kernel symbol export stripping
GNU grep has a high per-expression setup overhead when compiling regular
expressions. Use -F to force it to interpret the input as fixed strings,
which is much faster (fraction of a second instead of multiple minutes).

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39049
2013-12-14 13:14:44 +00:00
Felix Fietkau
f85c00c2df build: remove SourceFile and SourceURL from opkg metadata - they are useless without the corresponding openwrt package directory
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39038
2013-12-13 10:40:19 +00:00
Gabor Juhos
f1ef0b92be kernel: update 3.10 to 3.10.21
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38972
2013-12-01 09:59:53 +00:00
Imre Kaloz
f6b57149af FPU type should not interfere with the ABI selection. Also make sure we either do real soft-float or hard-float on ARM, with the right options.
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38943
2013-11-29 10:59:51 +00:00
Imre Kaloz
7429c46214 ignore the fpu if we're doing soft-float
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38941
2013-11-29 10:44:04 +00:00
Imre Kaloz
5de876bc78 there's no such thing as a soft fpu, this target should be fine without these
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38940
2013-11-29 10:25:43 +00:00
Imre Kaloz
f3e2331e18 add a feature flag for device tree support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38893
2013-11-22 12:01:01 +00:00
Luka Perkov
fbe8d27c7f image: remove spaces from toupper function
The extra prefix space is passed to the caller.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38855
2013-11-18 22:23:38 +00:00
Felix Fietkau
9706d4e00e cmake.mk: fix support for ccache
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38853
2013-11-18 14:10:12 +00:00
Luka Perkov
b4ecda7b3f image: don't force ubifs journal size
Small journal size can lead to problems if nand flash is too big. By default
ubifs will use ~12% of volume size or a maximum of 8MiB.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38799
2013-11-14 01:35:21 +00:00
Hauke Mehrtens
a3752801df bcm53xx: this ARM SoC does not have a FPU, use soft float.
model name      : ARMv7 Processor rev 0 (v7l)
Features        : swp half thumb fastmult edsp tls

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38796
2013-11-13 22:26:08 +00:00
Gabor Juhos
35656042f1 kernel: update 3.10 to 3.10.18
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38652
2013-11-05 08:25:45 +00:00
Luka Perkov
0edf22694e include: add more CPU flags for arm
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38649
2013-11-05 08:00:24 +00:00
Felix Fietkau
1879c5f8e7 build: fix build on Mac OS X 10.9
Add a wrapper around the clang gcc emulation to fix -print-file-name=<lib>

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38560
2013-10-28 15:15:09 +00:00
Florian Fainelli
cdcde21b8d include: handle LZ4 compression scheme
Kernel 3.12 now offers LZ4 compression which will make initramfs builds
fail because we do not know how to substitute the relevant config
symbols, fix that.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 38533
2013-10-25 01:48:02 +00:00
Luka Perkov
7938d16451 build: make MkuImage more generic
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38516
2013-10-23 22:16:09 +00:00
Gabor Juhos
b6b06000eb kernel: update 3.10 to 3.10.17
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38506
2013-10-23 12:51:05 +00:00
Luka Perkov
03ccf4eeb0 build: set owner root for all files on ubifs creation
When creating an image it makes no sense to have files owned by
the uid and gid on the host (and even creates a bug when for
example dropbear authorized_keys is included via env/files).

Signed-off-by: Joris de Vries <joris@apptrician.nl>

SVN-Revision: 38442
2013-10-18 00:11:20 +00:00
Luka Perkov
acdb0ac35c build: move mkits.sh script to more common place
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38430
2013-10-16 10:29:50 +00:00
Luka Perkov
41027beb69 ubifs: remove breaking commas from ubi calls
The extra commas get output by the shell resulting in errors since
the commands that get called with those extra commas are then
malformed.

Signed-off-by: Joris de Vries <joris@apptrician.nl>

SVN-Revision: 38419
2013-10-15 21:37:31 +00:00
Hauke Mehrtens
81e2f00367 kernel: update kernel to 3.10.15
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38384
2013-10-13 19:28:29 +00:00
Luka Perkov
a531d21590 ubifs: when creating ubi(fs) images profile originated arguments have priority
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38381
2013-10-13 03:35:15 +00:00
Luka Perkov
5ed845fbea image: introduce MkuImageARM function
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38380
2013-10-13 03:35:14 +00:00
Luka Perkov
c808a4a7ef ubifs: enable building modular images
Now it is possible to build ubi/ubifs images for only selected boards inside
single target.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38375
2013-10-12 21:44:48 +00:00
Luka Perkov
05625233ed image: if possible use profile name when building .tar.gz images
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38374
2013-10-12 21:44:46 +00:00
Jo-Philipp Wich
97fc11af79 Incorrect checkout of git submodules
When checking out git packages, buildroot doesn't seem to track the revisions
correctly of any submodules referenced by that project. As a result, the
submodule stays at whatever revision was referenced by the head of the master
branch. Running a 'git submodule update' after the checkout fixes this problem.

Signed-off-by: Owen Kirby <osk@exegin.com>

SVN-Revision: 38359
2013-10-10 15:01:50 +00:00
John Crispin
4b47d5b732 kernel: remove debug code from module insert script
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38340
2013-10-08 15:08:23 +00:00
Luka Perkov
9051e79bc2 build: extend menu with few ubifs options
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38303
2013-10-04 10:49:47 +00:00
Steven Barth
cbdd346b11 Add package signing infrastructure
Add package signing key and certificate configuration options to the
"Image configuration" submenu. If enabled, the Packages.gz list will
be signed as file Packages.sig. The passphrase for the signing key can
be sourced from a file or entered by the user. The signing certificate
is automatically added to the firmware image if opkg-smime is selected.

Signed-off-by: Evan Hunt <each@isc.org>
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 38284
2013-10-02 12:12:10 +00:00
Felix Fietkau
03e14c13e3 build: fix typo in arm cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38237
2013-09-27 13:03:45 +00:00
Gabor Juhos
9c8a5ef115 kernel: update 3.10 to 3.10.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38228
2013-09-27 07:19:21 +00:00
Luka Perkov
4fa3e3aae9 build: fix typo
vfp3 should be named vfpv3

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38222
2013-09-26 22:43:06 +00:00
Luka Perkov
68ebb4d0a2 include/target.mk: fix spacing
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38221
2013-09-26 21:53:08 +00:00
Felix Fietkau
e0189ccef4 build: include the cpu type as part of the toolchain/target directory name
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38214
2013-09-26 17:53:32 +00:00
Felix Fietkau
0db9125157 build: unify powerpc target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38213
2013-09-26 17:53:28 +00:00
Felix Fietkau
ef68210f93 build: unify x86 target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38212
2013-09-26 17:53:24 +00:00
Felix Fietkau
c8609ab4f8 build: unify arm target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38211
2013-09-26 17:53:20 +00:00
Felix Fietkau
a30681dff0 build: unify mips target cflags
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38210
2013-09-26 17:53:14 +00:00
Felix Fietkau
569da024f0 build: clean up default cflags handling
- reduce redundancy
- introduce a CPU_TYPE variable for cpu specific options

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38209
2013-09-26 17:53:09 +00:00
Gabor Juhos
261fc738cc image: generate separate jffs2 images w/o padding
The new root.jffs2-*-raw images can be used for firmware
images with custom padding requirements.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38196
2013-09-25 20:03:20 +00:00
John Crispin
022cadd64e include: add AutoProbe support
This is needed to make modprobe work

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38020
2013-09-17 21:45:05 +00:00
Gabor Juhos
554772a665 kernel: update 3.10 to 3.10.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38000
2013-09-15 16:00:41 +00:00
Steven Barth
2e2c4c2dd3 Fix IPv6 NAT breaking older kernels
SVN-Revision: 37891
2013-09-03 06:29:46 +00:00
Gabor Juhos
d120ec18b2 kernel: update 3.10 to 3.10.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37890
2013-09-02 19:12:54 +00:00
Florian Fainelli
c463728b2d build scripts: fix 'make defconfig' damage
Looking at the target 'defconfig' in include/toplevel, it doesn't
directly reference $(HOME)/.openwrt/defconfig nor does it reference any
prerequisites using it as a target.

Therefore, building "defconfig" as a target uses the defaults in the
tree, but not the defaults that a user might have explicitly specified.

This patch fixes this regression from r36361.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
[florian: apply with the proper patch level, wrap at 80 columns]
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37883
2013-09-02 18:25:06 +00:00
Steven Barth
0a85c59040 netfilter: Add IPv6-NAT support for kernel and ipt Thanks to Berni, Adam Novak and Sedat Dilek for patches and inspiration
SVN-Revision: 37866
2013-09-01 17:59:48 +00:00
Luka Perkov
99c46e474e image: add hooks for kernel/DTB installation in root filesystem
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 37852
2013-08-28 00:07:41 +00:00
Gabor Juhos
fd0325324f image: ensure that /dev/console exist in rootfs images
Linux expects that the /dev/console node is present in
the rootfs image. Create the node in rootfs images, in
order to make std{in,out,err} usable even in early init
process.

Note: tar.gz and cpio.gz images are not handled yet.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37847
2013-08-27 12:02:58 +00:00
Gabor Juhos
043edd8074 kernel: update 3.10 to 3.10.9
Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37832
2013-08-23 17:31:04 +00:00
Zoltan Herpai
756cfaa102 kernel: add checksum for 3.10.9
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 37825
2013-08-22 23:56:19 +00:00
Luka Perkov
e5e83478a9 netfilter: fix typo
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37821
2013-08-21 23:17:08 +00:00
Luka Perkov
ff384f04e4 include: introduce subtarget_platform CONFIG_TARGET
Sometimes it is useful to change platform's kernel config file but with loaded
subtarget's kernel config. Good example for this use case is malta.

Example:

$ make kernel_menuconfig CONFIG_TARGET=subtarget_platform

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37818
2013-08-21 00:36:52 +00:00
Felix Fietkau
a5ce3f2cbf build: fix typo in mips16 changes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37776
2013-08-14 14:55:49 +00:00
Felix Fietkau
a1a5f59ea3 build: decouple the mips16 support flag from the toolchain
Add the flags from package.mk instead, and leave libc and gcc
unaffected.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37770
2013-08-14 13:02:29 +00:00
Jo-Philipp Wich
73a584f912 include: cmake: pass toolchain directory to default root find path as well
SVN-Revision: 37737
2013-08-07 13:54:51 +00:00
Felix Fietkau
8f04792531 kernel: update to linux 3.10.4, refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37617
2013-07-29 22:42:22 +00:00
Felix Fietkau
73c4d73d6d build: unify target independent optimization options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37600
2013-07-29 09:38:29 +00:00
Gabor Juhos
e9688455f6 kernel: update 3.10 to 3.10.3
Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37546
2013-07-26 07:19:58 +00:00
Felix Fietkau
bb494ed639 kernel: fix remaining initramfs related breakage
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37518
2013-07-23 13:11:41 +00:00
Gabor Juhos
ce9e0767b5 image: fix a typo in JFFS2OPTS to fix jffs2 rootfs generation
Due to a typo in the Makefile variable, mkfs.jffs2 is called
without the correct parameters.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37514
2013-07-23 10:21:21 +00:00
Gabor Juhos
ef944dcb85 kernel: update 3.10 to 3.10.2
Also refresh 3.10 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37502
2013-07-22 15:31:13 +00:00
Gabor Juhos
6a5b4ec7dc kernel: update 3.9 to 3.9.11
Also refresh 3.9 patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37501
2013-07-22 15:30:56 +00:00
Gabor Juhos
c39b64d78f image: fix initramfs image name
Preserve order of components in initramfs image filename
when doing copy from $(KDIR) to $(BIN_DIR).

Patchwork: http://patchwork.openwrt.org/patch/3811/
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37452
2013-07-19 17:12:45 +00:00
Felix Fietkau
75df42e578 build: SCAN_DEPS handling (fixes package/kernel/linux metadata change detection)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37431
2013-07-19 10:52:56 +00:00
Jo-Philipp Wich
6a559ff95e include: modify kernel.mk to build empty kmod packages if the referenced symbols do not exist in the config
SVN-Revision: 37400
2013-07-18 15:41:09 +00:00
Jonas Gorski
8e12b39d5d build: print missing dependency error to stderr
Allow to see the actual error even when compiling with V=w/V=1 only.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37388
2013-07-18 11:29:18 +00:00
Felix Fietkau
5d1c80f002 build: add required exports for dependency tracking
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37387
2013-07-18 11:18:37 +00:00
Felix Fietkau
6640b83a3e build: add kernel modules to package provides info (along with shared libs)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37385
2013-07-18 10:47:00 +00:00
Felix Fietkau
c404cd5bfa netfilter: remove use of obsolete compatibility config symbols for mark and connmark
fixes duplication of xt_mark and xt_connmark module entries

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37344
2013-07-15 13:08:20 +00:00
Hauke Mehrtens
06accca1d7 kernel: update to kernel 3.10.1 and refresh patches
SVN-Revision: 37275
2013-07-13 22:45:09 +00:00
Hauke Mehrtens
e574f75d16 kernel: update to kernel 3.9.10 and refresh patches
SVN-Revision: 37274
2013-07-13 22:43:10 +00:00
Felix Fietkau
1c742fb388 build: move the XARGS variable out of the host checks, since a working xargs is built in tools/
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37228
2013-07-10 15:11:29 +00:00
Jonas Gorski
05ff15a235 include: also check CONFIG_GPIOLIB for GPIO_SUPPORT
Recent kernels removed GENERIC_GPIO and require GPIO capable
targets to select GPIOLIB instead, so check for both symbols.

Fixed #13814.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37166
2013-07-04 13:41:50 +00:00
Felix Fietkau
f89b3d42e8 build: remove hotplug2 from DEFAULT_PACKAGES
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37132
2013-07-02 11:14:15 +00:00
Luka Perkov
448decfa8e include: fix path for kernel-generated cpio removal
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37128
2013-07-02 09:59:17 +00:00
Florian Fainelli
5b5fd9f92d include: force a kernel-generated cpio removal and rebuild
Make sure that the kernel rebuilds the initramfs cpio archive file by
deleting it before so we get it re-generated properly.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37125
2013-07-01 20:52:00 +00:00
Florian Fainelli
05741a0331 Revert "prereq-build: check for "bc" (#13767)"
Makes all buildbot builds fail; until we get the right software
installed, revert this changeset.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37122
2013-07-01 17:57:09 +00:00
Jonas Gorski
96f8c15a36 kernel: update linux 3.10 to 3.10 final
3.10 final is out, so refresh patches and add md5sum.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37116
2013-07-01 13:21:06 +00:00
Florian Fainelli
b9831690e4 prereq-build: check for "bc" (#13767)
bc is required by the kernel to compute timeconsts files, add bc to the
list of prereq to build OpenWrt.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37108
2013-06-30 17:14:47 +00:00
Florian Fainelli
bc7260a125 buildroot: filter out dtbs KERNELNAME target (#13785)
Do not attempt to copy arch/$(LINUX_KARCH)/boot/dtbs because these are
not real files, fixes #13785.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37107
2013-06-30 17:09:21 +00:00
Jonas Gorski
0d9f760f27 kernel: update linux 3.9 to 3.9.8
Includes memory allocation fixes as well as several networking fixes.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37103
2013-06-30 13:10:12 +00:00
Florian Fainelli
f5a0a578f8 include/image.mk: do not make initramfs build exclusive
Allow building initramfs along with other types of filesystems.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37050
2013-06-27 19:58:35 +00:00
Florian Fainelli
eab95ea467 buildroot: copy KENRNELNAME files to $(KDIR)
In order to support building both normal and initramfs kernel, we will
rebuild the wrappers around the vmlinux ELF binary, copy these with an
appropriate extension when they exist.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37048
2013-06-27 19:58:24 +00:00
Florian Fainelli
a890ccd6e0 buildroot: build a second pass kernel if initramfs is enabled
If initramfs is enabled, build a second pass kernel containing the CPIO
rootfs, preliminary work to get non exclusive enabling of initramfs.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37047
2013-06-27 19:58:20 +00:00
Florian Fainelli
b729d41d64 buildroot: workaround broken syntax highlighting
GNU Make's subst is always breaking syntax highlighting with at least
vim add the right comments to workaround it.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 37046
2013-06-27 19:58:16 +00:00
John Crispin
43a3d87b83 package: fix insmod on install
the procd changes broke the postinst insmod.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37015
2013-06-22 22:09:40 +00:00
Jonas Gorski
9f7ef8d5f0 target: split jffs2 NAND out of jffs2
Make jffs2_nand a separate option so this can be triggered without forcing
jffs2 images for nor targets.

Adds a new NAND_BLOCKSIZE variable that allows setting the generated layout
in <page_size>:<block_size> pairs.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36860
2013-06-05 20:58:03 +00:00
Jo-Philipp Wich
b721c92221 firewall3: rename to firewall, move into base system menu, update to git head with compatibility fixes for AA
SVN-Revision: 36838
2013-06-04 12:21:52 +00:00
Felix Fietkau
6f4cb088a0 build: clean up stale files from a previous build when installing a package build to the staging dir
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36755
2013-05-29 10:31:45 +00:00
Gabor Juhos
7d2182c455 kernel: update linux 3.9 to 3.9.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36725
2013-05-26 16:02:34 +00:00
Gabor Juhos
46225b99d9 kernel: update linux 3.8 to 3.8.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36724
2013-05-26 16:02:31 +00:00
Jo-Philipp Wich
8df6cd005c netfilter: move time, mark, set matches and MARK, REDIRECT, SET targets into base iptables package - drop iptables-mod-ipset
SVN-Revision: 36683
2013-05-21 12:58:15 +00:00
Jonas Gorski
a01be4a217 kernel: update 3.9 to 3.9.3
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36676
2013-05-20 16:57:00 +00:00
Jonas Gorski
6e2b85b401 kernel: update 3.9 to 3.9.2
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36658
2013-05-19 18:31:51 +00:00
Felix Fietkau
eea89fea6a build: add config symbols for different ARM arch levels
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36620
2013-05-13 15:04:58 +00:00
Felix Fietkau
2430e9a4f5 toolchain: eliminate the INSTALL_LIBSTDCPP config symbol and make c++ support mandatory - fixes recursive config symbol dependency issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36594
2013-05-09 20:50:49 +00:00
Gabor Juhos
39467e78e7 kernel: update linux 3.9 to 3.9.1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36577
2013-05-08 08:53:55 +00:00
Gabor Juhos
e57c7d6c12 kernel: update linux 3.8 to 3.8.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36576
2013-05-08 08:53:53 +00:00
Gabor Juhos
8a9fe26f20 kernel: update linux 3.8 to 3.8.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36507
2013-05-01 22:15:18 +00:00
Gabor Juhos
292493f74d kernel: add md5sum for 3.9 final
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36499
2013-04-30 11:29:38 +00:00
Gabor Juhos
f718179af5 kernel: update linux 3.8 to 3.8.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36493
2013-04-30 10:43:59 +00:00
Gabor Juhos
36d4fd70bc kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36453
2013-04-26 16:55:42 +00:00
Gabor Juhos
151cadfe32 kernel: update linux 3.8 to 3.8.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36363
2013-04-19 08:07:34 +00:00
Felix Fietkau
cf46e78b5f build: fix make defconfig
SVN-Revision: 36362
2013-04-18 13:51:16 +00:00
Felix Fietkau
9d5510a500 build: add new menuconfig code based on linux 3.9
SVN-Revision: 36361
2013-04-18 12:05:16 +00:00
Gabor Juhos
604395650a kernel: update linux 3.8 to 3.8.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36332
2013-04-14 09:25:53 +00:00
Steven Barth
3e4b2af125 Enable native IPv6 support by default
SVN-Revision: 36277
2013-04-09 08:02:55 +00:00
Gabor Juhos
fc0e720f53 kernel: fix md5sum for 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36225
2013-04-06 13:11:44 +00:00
Gabor Juhos
f78c902cfd kernel: update linux 3.8 to 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36215
2013-04-06 11:40:44 +00:00
Felix Fietkau
a4c8d4e377 build: make the color of the 'configuration out of sync' warning red to make it harder for users to overlook
SVN-Revision: 36082
2013-03-17 21:12:02 +00:00
Gabor Juhos
07532dca7f kernel: update linux 3.8 to 3.8.3
Also refresh the related generic/platform patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36039
2013-03-15 14:39:51 +00:00
Felix Fietkau
1f77bfff96 build: BSD compile fixes
following patch allows to build images for Qemu ARM on
OpenBSD 5.2 amd64 and FreeBSD 9.1 amd64.

Mostly small pieces of code changes to get things right on the
specific platform.

Updated the README to describe better, which tools on the host
are required. Added some kind of prepare scripts to install needed
tools on BSD via packages.

Signed-off-by: Waldemar Brodkorb <mail@waldemar-brodkorb.de>

SVN-Revision: 35900
2013-03-07 17:32:29 +00:00
Steven Barth
ed083586aa netfilter: Fix typo in last commit
SVN-Revision: 35899
2013-03-07 09:30:52 +00:00
Steven Barth
62ea398cd8 iptables: Add missing IPv6 builtin modules
SVN-Revision: 35898
2013-03-07 08:48:41 +00:00
Jo-Philipp Wich
9ee69a94b7 include: make firewall3 the default
SVN-Revision: 35888
2013-03-05 13:41:56 +00:00
Gabor Juhos
a87a96da67 kernel: update linux 3.8 to 3.8.2
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35868
2013-03-04 08:43:55 +00:00
Gabor Juhos
26fbc15a86 kernel: update linux 3.8 to 3.8.1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35862
2013-03-03 13:58:52 +00:00
Gabor Juhos
23b3b3a194 kernel: update linux 3.7 to 3.7.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35860
2013-03-03 13:57:40 +00:00
Jonas Gorski
45846230ab include/toplevel.mk: print warnings/errors to stderr
Makes warnings/errors visible when building with V=w/V=1.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35716
2013-02-21 11:45:22 +00:00
Jonas Gorski
a48b04e8dc include/package-ipkg.mk: print warnings/errors to stderr
Makes warnings/errors visible when building with V=w/V=1.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35715
2013-02-21 11:45:20 +00:00
Jonas Gorski
d0891e0ae8 include/package-bin: print warnings/errors to stderr
Makes warnings/errors visible when building with V=w/V=1.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35714
2013-02-21 11:45:18 +00:00
Jonas Gorski
88ff7e3f23 include/kernel.mk: print warnings/errors to stderr
Makes warnings/errors visible when building with V=w/V=1.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 35713
2013-02-21 11:45:16 +00:00
Gabor Juhos
ed0f43f1e2 kernel: update linux 3.8-rcX to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35672
2013-02-19 09:17:38 +00:00
Gabor Juhos
3f749d1e8e kernel: update linux 3.7 to 3.7.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35644
2013-02-17 21:32:42 +00:00
Gabor Juhos
162b8e23a5 kernel: update linux 3.7 to 3.7.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35604
2013-02-15 07:36:15 +00:00
Gabor Juhos
bae4bfe3f8 kernel: update linux 3.7 to 3.7.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35571
2013-02-12 09:51:11 +00:00
Gabor Juhos
08ff976720 kernel: update linux 3.7 to 3.7.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35476
2013-02-04 10:02:56 +00:00
Gabor Juhos
b20cb26ed7 package/kernel: xt_NOTRACK has been removed in 3.7-rc1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35475
2013-02-04 10:02:52 +00:00
Luka Perkov
2477bab03e include/image.mk: export ubifs image from mkfs.ubifs
SVN-Revision: 35473
2013-02-03 21:00:24 +00:00
Gabor Juhos
562ba537fc kernel: update linux 3.7 to 3.7.5
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35390
2013-01-29 18:29:45 +00:00
Felix Fietkau
8933b918cd kernel: use -ffunction-sections, -fdata-sections and --gc-sections on mips
in combination with kernel symbol export stripping this significantly reduces
the kernel image size

SVN-Revision: 35320
2013-01-26 16:26:13 +00:00
Felix Fietkau
7809d73fd2 kernel: fix module export stripping
SVN-Revision: 35319
2013-01-26 16:26:04 +00:00
Gabor Juhos
15be1c9ee7 kernel: update linux 3.7 to 3.7.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35318
2013-01-24 17:08:37 +00:00
Gabor Juhos
0de21d9747 kernel: update linux 3.7 to 3.7.3
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35216
2013-01-18 11:44:42 +00:00
Florian Fainelli
d85ec2b936 kernel: add missing CONFIG_KALLSYMS_UNCOMPRESSED symbol
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35180
2013-01-15 19:55:45 +00:00
Jo-Philipp Wich
03a50b9087 netfilter.mk: add addrtype match to iptables-mod-extra (kmod-ipt-extra)
SVN-Revision: 35155
2013-01-14 16:12:56 +00:00
Gabor Juhos
c19c30cefd kernel: update linux 3.7 to 3.7.2
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35100
2013-01-12 11:43:08 +00:00
Florian Fainelli
ce5dd3b9e2 image.mk: use XZ bcj architecture filter if available
xz supports using an architecture specific BCJ filter, use that one to
save us a couple kB while producing squashfs filesystems (mimics the
Linux kernel).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35097
2013-01-11 16:44:26 +00:00
Florian Fainelli
3a57cd4929 netfilter: xt_NOTRACK is incorporated in xt_CT as of 3.8-rc3
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 35087
2013-01-10 17:20:29 +00:00
Felix Fietkau
f3d5f6ccb0 cmake.mk: add support for overriding the source dir, and define the cmake prefix path to avoid picking up host libraries for target builds (patch by Henning Rogge)
SVN-Revision: 34914
2012-12-29 11:12:31 +00:00
Felix Fietkau
41a039f464 mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
SVN-Revision: 34909
2012-12-28 19:17:19 +00:00