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>
2016-06-22 19:32:06 +02:00
Felix Fietkau
8a156ad129
image.mk: add a separate step for building kernel images for LegacyDevice support
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-17 20:23:11 +02:00
Felix Fietkau
425e2c1d96
image.mk: run LegacyDevice prepare once instead of once per filesystem
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-17 20:11:27 +02:00
Felix Fietkau
3004275c17
image.mk: fix make variable/command context leakage between LegacyDevice templates
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-17 20:11:27 +02:00
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>
2016-06-16 11:56:24 +02:00
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>
2016-06-16 11:56:24 +02:00
Matthias Schiffer
3ee6c17cd1
package-ipkg.mk: fix Provides for packages with multiple PROVIDES entries
...
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2016-06-16 04:15:02 +02:00
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>
2016-06-15 19:26:17 +02:00
Á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>
2016-06-12 15:51:54 +02:00
Felix Fietkau
21ad25f547
image.mk: fix dependencies for legacy make prepare step
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-07 16:22:28 +02:00
Felix Fietkau
160913f9de
image.mk: fix filesystem dependency issue
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-07 10:26:23 +02:00
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]
2016-06-07 08:58:41 +02:00
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>
2016-06-07 08:58:41 +02:00
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>
2016-06-07 08:58:41 +02:00
Felix Fietkau
b50dfd5622
image.mk: add support for specifying a different suffix for the initramfs kernel
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-07 08:58:40 +02:00
Felix Fietkau
4c33bbf8f4
image.mk: split off all Build/* commands into image-commands.mk
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-07 08:58:40 +02:00
Felix Fietkau
f8ebbbc568
build: implement support for selecting multiple device profiles
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-07 08:58:40 +02:00
Felix Fietkau
9ae952cf8c
build: split scripts/metadata.pl into target-metadata.pl and package-metadata.pl
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-07 08:58:40 +02:00
Á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>
2016-06-02 15:34:34 +02:00
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>
2016-06-01 17:54:36 +02:00
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>
2016-06-01 17:54:36 +02:00
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>
2016-06-01 15:18:42 +02:00
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>
2016-05-27 15:50:17 +02:00
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>
2016-05-24 13:30:58 +02:00
Felix Fietkau
ce63c38ef5
image.mk: remove obsolete SUBTARGETS variable
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-23 12:19:26 +02:00
Felix Fietkau
e00770f093
image.mk: fix profile selection in the image builder
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-22 19:51:00 +02:00
Felix Fietkau
80bb5adf98
build: allow whitespace characters in VERSION_DIST
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-21 13:57:26 +02:00
Felix Fietkau
d01487e380
image.mk: simplify device profile check, prepare for supporting selecting multiple profiles
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-20 14:37:52 +02:00
Felix Fietkau
c4ae33b048
image.mk: fix evaluation order for image profile check
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-20 14:37:52 +02:00
Á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>
2016-05-19 21:08:06 +02:00
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>
2016-05-19 18:07:02 +02:00
Felix Fietkau
7bd10f9a2a
image.mk: remove obsolete squashfs-lzma code
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-16 19:53:07 +02:00
Felix Fietkau
470442ea0f
build: fix make download in the SDK
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-16 11:20:26 +02:00
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>
2016-05-15 20:55:40 +02:00
Felix Fietkau
ace946152d
image.mk: fix emitting profiles for targets that have no subtargets
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-15 17:47:06 +02:00
Felix Fietkau
4d29474e26
target.mk: add cflags for mips 1004kc cpu type
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-14 17:58:43 +02:00
Felix Fietkau
d02f109ee4
kernel: remove leftover kernel version for 4.3
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-12 16:08:44 +02:00
Á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>
2016-05-11 21:34:27 +02:00
Felix Fietkau
4a31037a34
build: avoid including profiles/*.mk
...
Generate the active profile name in menuconfig context
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-11 20:14:00 +02:00
Felix Fietkau
b0cf769008
image.mk: include per-device profiles in image build profile check
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-11 19:19:17 +02:00
Felix Fietkau
471ca4197c
toplevel.mk: rescan target metadata if the image makefile changes
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-11 19:03:35 +02:00
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>
2016-05-11 19:03:35 +02:00
Felix Fietkau
87550a0e87
target.mk: dump device profiles defined in include/image.mk
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-11 19:03:35 +02:00
Felix Fietkau
6ddca3a361
target.mk: remove the unused Target-Path field
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-11 19:03:35 +02:00
Felix Fietkau
60fc6610be
image.mk: add support for limiting images to specific subtargets
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-11 19:03:34 +02:00
Felix Fietkau
bcf67b6974
image.mk: prepare for defining device profile data in the Device section
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-11 19:03:34 +02:00
Á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>
2016-05-10 10:43:17 +02:00
blogic
cbdfae5c04
ubox: turn logd into a separate package
...
Currently system log is always included as a part of ubox.
Add logd as a seperate package and add it to default packages list.
Signed-off-by: Andrej Vlasic <andrej.vlasic@sartura.hr>
SVN-Revision: 49285
2016-05-10 10:43:12 +02:00
Felix Fietkau
852aaf6b2c
build: add support for specifying extra package dependencies for prepared, configured and built
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-05-05 19:43:23 +01:00
John Crispin
f5c4d963ff
include: add lede git server url
...
Signed-off-by: John Crispin <john@phrozen.org>
2016-04-29 04:15:24 +02:00