Hauke Mehrtens
84d489f64f
kernel: update to version 4.4.14
...
Changelog: https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.14
Some manual changes to target/linux/generic/patches-4.4/610-
netfilter_match_bypass_default_checks.patch were needed.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
9 years ago
Sergey Sergeev
e6b9330343
build: Adds the ability to disable personal initramfs build for target device
...
If KERNEL_INITRAMFS := in the target/linux/*/image/Makefile->Device/%NAME% section is set to ''
then personal initramfs file for this target device will not be created.
This var is similar to the Device/Build/kernel KERNEL_INSTALL :=
Signed-off-by: Sergey Sergeev <adron@yapic.net>
9 years ago
Daniel Dickinson
f954f4337b
base-files: Add standard os-release file
...
/etc/os-release is the standard distribution release information
file, therefore add it (and image configuration options for
fields not previously present in LEDE). Once it is deemed
reasonable the non-standard openwrt_release, openwrt_version,
and device_info files could be removed (that is with this patch
we consider them deprecated in favour of the standard file).
Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
9 years ago
Ben Whitten
b7baaaf782
kernel: Move append-dtb to common image-commands
...
This build step is used by various targets, move it to a common section.
Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
9 years ago
Felix Fietkau
8a156ad129
image.mk: add a separate step for building kernel images for LegacyDevice support
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
425e2c1d96
image.mk: run LegacyDevice prepare once instead of once per filesystem
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
3004275c17
image.mk: fix make variable/command context leakage between LegacyDevice templates
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
71d533eea9
package-ipkg: do not include feeds.mk at metadata dump time to speed up scanning
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
4b8ba2b4ce
include/feeds.mk: allow installation from feed packages that are installed but no longer in feeds.conf
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Matthias Schiffer
3ee6c17cd1
package-ipkg.mk: fix Provides for packages with multiple PROVIDES entries
...
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
9 years ago
Matthias Schiffer
6fb212f293
build: don't add -j for parallel builds with Make 4.2+
...
Make usually passes -j and jobserver arguments as part of MAKEFLAGS. LEDE
removes MAKEFLAGS to have better control of the build, and re-adds the
jobserver arguments with -j to the Make commandline where desired.
Make 4.2+ behave differently with these arguments passed on the commandline
than in MAKEFLAGS: -j will override the jobserver argument and the job
count will be unlimited.
Moving the flags to MAKEFLAGS will need many packages to be changed and
tested; therefore, we opt for a less invasive change for now and just
remove -j for Make 4.2+, as the jobserver argument alone is enough to
enable parallel builds for these Make versions.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
9 years ago
Álvaro Fernández Rojas
0aa6c7df60
kernel: update kernel 4.4 to version 4.4.13
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
9 years ago
Felix Fietkau
21ad25f547
image.mk: fix dependencies for legacy make prepare step
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
160913f9de
image.mk: fix filesystem dependency issue
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Waldemar Brodkorb
f7fb6e49f2
build: allow to build LEDE on latest MacOS X
...
Latest Xcode doesn't include openssl anymore. To compile
mkimage from u-boot source you need SSL headers on your host.
This patch provides libressl host package for any Darwin
compilation. Unfortunately openssl from MacPorts can not be
used, as the installed headers in /opt/local are breaking
GDB compilation. Tested with a RB532 image build and resulting
kernel booted on a device via TFTP.
Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name> [fixes, dependencies]
9 years ago
Felix Fietkau
26c771452c
image.mk: add LegacyDevice wrapper to allow legacy image building code to be used for device profiles
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
dafda4b7f8
image.mk: change the default of the kernel suffix
...
Make it more suitable for installing into bin/
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
b50dfd5622
image.mk: add support for specifying a different suffix for the initramfs kernel
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
4c33bbf8f4
image.mk: split off all Build/* commands into image-commands.mk
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
f8ebbbc568
build: implement support for selecting multiple device profiles
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
9ae952cf8c
build: split scripts/metadata.pl into target-metadata.pl and package-metadata.pl
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Álvaro Fernández Rojas
a105eac4dd
kernel: update kernel 4.4 to version 4.4.12
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
9 years ago
Alexander Couzens
a7d13178f4
include: move VERSION_DIST_SANITIZED to version.mk
...
Also move sanitize function to version.mk
Prepare use of VERSION_DIST_SANITIZED by IB/SDK/toolchain
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
9 years ago
Alexander Couzens
38d845b405
include: rename DIST_SANITIZED to VERSION_DIST_SANITZED
...
All version variables contain VERSION prefix.
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
9 years ago
Jo-Philipp Wich
3a085dcbe3
download.mk: use HTTPS for git.lede-project.org
...
Some Git versions have issues following the HTTP->HTTPS redirect and since
the keyring package is fetched from this host, switching to HTTPS is a
sensible choice anyway.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
9 years ago
Ash Benz
7eb1a7e956
include/image.mk: move build step tplink-safeloader to image.mk
...
Move tplink-safeloader from target/linux/ar71xx/image/tp-link.mk to include/image.mk
Signed-off-by: Ash Benz <ash.benz@bk.ru>
9 years ago
Hannu Nyman
3193053df7
Centralize setting of all version info to include/version.mk
...
Centralize setting all version information in include/version.mk
* Set RELEASE env variable in include/version.mk instead of toplevel.mk.
Stop exporting the variable.
* Remove hardcoded release name from /etc/banner
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
9 years ago
Felix Fietkau
ce63c38ef5
image.mk: remove obsolete SUBTARGETS variable
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
e00770f093
image.mk: fix profile selection in the image builder
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
80bb5adf98
build: allow whitespace characters in VERSION_DIST
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
d01487e380
image.mk: simplify device profile check, prepare for supporting selecting multiple profiles
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
c4ae33b048
image.mk: fix evaluation order for image profile check
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Álvaro Fernández Rojas
c4664b0f91
kernel: update kernel 4.4 to version 4.4.11
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
9 years ago
Daniel Golle
1ea7dba377
image.mk: fix building ubifs images
...
A hook for ubifs was left-out in the new image building code. Add it.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
9 years ago
Felix Fietkau
7bd10f9a2a
image.mk: remove obsolete squashfs-lzma code
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
470442ea0f
build: fix make download in the SDK
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
f4c4d501e4
build: remove profile kernel/build system config override support
...
It has been unused for years
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
ace946152d
image.mk: fix emitting profiles for targets that have no subtargets
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
4d29474e26
target.mk: add cflags for mips 1004kc cpu type
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
d02f109ee4
kernel: remove leftover kernel version for 4.3
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Álvaro Fernández Rojas
e32b2f92b1
kernel: update kernel 4.4 to version 4.4.10
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
9 years ago
Felix Fietkau
4a31037a34
build: avoid including profiles/*.mk
...
Generate the active profile name in menuconfig context
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
b0cf769008
image.mk: include per-device profiles in image build profile check
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
471ca4197c
toplevel.mk: rescan target metadata if the image makefile changes
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
1189af85fd
metadata.pl: add support for forcing sorting of profiles
...
Used to mix device profiles (specified in the image makefile) with
regular target profiles.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
87550a0e87
target.mk: dump device profiles defined in include/image.mk
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
6ddca3a361
target.mk: remove the unused Target-Path field
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
60fc6610be
image.mk: add support for limiting images to specific subtargets
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Felix Fietkau
bcf67b6974
image.mk: prepare for defining device profile data in the Device section
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
Álvaro Fernández Rojas
b062266ad6
kernel: update kernel 4.4 to version 4.4.9
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
9 years ago