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
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
9 years ago
Felix Fietkau
852aaf6b2c
build: add support for specifying extra package dependencies for prepared, configured and built
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
9 years ago
John Crispin
f5c4d963ff
include: add lede git server url
...
Signed-off-by: John Crispin <john@phrozen.org>
9 years ago
Álvaro Fernández Rojas
3faf65e928
kernel: update kernel 4.4 to version 4.4.8
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
9 years ago
Jo-Philipp Wich
d9ad55a609
include: remove unused FeedPackageDir macro arguments
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
9 years ago
John Crispin
1191eeff8e
include: bin/ dir was not created
...
explicitly create the bin dir
Signed-off-by: John Crispin <john@phrozen.org>
9 years ago
Jo-Philipp Wich
02def71888
include/target.mk: disambiguate package architecture
...
Add $ARCH and $CPU_SUBTYPE to the package architecture strings to differentiate
low and big endian targets as well as extended instructions sets like NEON
or DSP2.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
9 years ago
Jo-Philipp Wich
349e7b635e
include: fix nonshared flag handling
...
Fix nonshared flag handling to properly deal with source packages defining
both kmod and non-kmod ipks.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
9 years ago
Jo-Philipp Wich
d87c303b58
include/kernel.mk: flag kmod packages as nonshared by default
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
9 years ago
Jo-Philipp Wich
32a0b8c104
include/version.mk: rework repository url handling
...
- Add %A placeholder for substituting the package architecture
- Change %U placeholder to refer to the toplevel repository URL
- Construct package feed URLs relative to the toplevel one to match new layout
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
9 years ago
Jo-Philipp Wich
5170393f8c
include: choose package output directory based on repository info
...
Use the new repository metadata field to choose the output directory of the
final package archives.
Non-sharable packages will be placed in the per-target package directory
while the rest will be placed in a per-repository sub directory within the
$OUTPUT_DIR/packages/$CPU_TYPE/ prefix.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
9 years ago
Jo-Philipp Wich
be575fdc9d
include: remove now unused PACKAGE_SUBDIR variable
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
9 years ago
Jo-Philipp Wich
aad2b92603
include/package-dumpinfo.mk: introduce Repository values
...
Introduce a new dumpinfo field "Repository" which contains the name of the
shared repository where the package will be hosted in. The name is chosen
according to the following rules:
- Name of the feed directory for any feed package, e.g. "Repository: luci" for
"feeds/luci/applications/luci-app-firewall/Makefile"
- The value "base" for any other, sharable package
- Unset for any package flagged PKG_FLAGS:=nonshared
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
9 years ago