aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* target.mk: change CPU_CFLAGS to better suit target CPUsFelix Fietkau2016-07-151-13/+13
| | | | | | | | -march forces the compiler to generate generic code, whereas -mcpu allows it to target the specific CPU variant and use instructions that the generic architecture may not have Signed-off-by: Felix Fietkau <nbd@nbd.name>
* target.mk: rework arm architecture level detectionFelix Fietkau2016-07-151-1/+1
| | | | | | | | Use kernel config as input instead of -march CFLAGS. With this change, -march can be dropped and replaced with more specific optimization flags for better code generation. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: clean up redundant code related to DEVICE_DTSFelix Fietkau2016-07-151-0/+4
| | | | | | | | It is used by a core build template, so the variable should be initialized and added to DEVICE_VARS in the core. Same for DEVICE_DTS_DIR Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: allow devices to override the -E 5 ubinize optionFelix Fietkau2016-07-142-3/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: clean up UBI related device variable definitionsFelix Fietkau2016-07-141-1/+12
| | | | | | | Move UBI related variable export to core, since the variables are used by a core Build/ template Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.15Hauke Mehrtens2016-07-131-2/+2
| | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* target.mk: fix ARM architecture feature flag detectionFelix Fietkau2016-07-071-39/+40
| | | | | | | Move feature flag checks below CFLAGS handling, use CPU_TYPE CFLAGS for architecture detection. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* include/toplevel.mk: fix defconfig when ~/.openwrt/defconfig exists - take 2John Crispin2016-07-061-1/+1
| | | | | | | commit 5b728074160b ("include/toplevel.mk: fix defconfig when ~/.openwrt/defconfig exists") was missing a ! Signed-off-by: John Crispin <john@phrozen.org>
* include/toplevel.mk: fix defconfig when ~/.openwrt/defconfig existsJohn Crispin2016-07-061-1/+1
| | | | | | | ./scripts/feeds update will reset the .config file if ~/.openwrt/defconfig exists, thus resetting the target to ar71xx. Signed-off-by: John Crispin <john@phrozen.org>
* kernel: update to version 4.4.14Hauke Mehrtens2016-06-261-2/+2
| | | | | | | | | 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>
* build: Adds the ability to disable personal initramfs build for target deviceSergey Sergeev2016-06-261-1/+1
| | | | | | | | 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>
* base-files: Add standard os-release fileDaniel Dickinson2016-06-241-0/+10
| | | | | | | | | | | /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>
* kernel: Move append-dtb to common image-commandsBen Whitten2016-06-221-0/+5
| | | | | | This build step is used by various targets, move it to a common section. Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
* image.mk: add a separate step for building kernel images for LegacyDevice ↵Felix Fietkau2016-06-171-0/+1
| | | | | | support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: run LegacyDevice prepare once instead of once per filesystemFelix Fietkau2016-06-171-3/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: fix make variable/command context leakage between LegacyDevice ↵Felix Fietkau2016-06-171-0/+1
| | | | | | templates Signed-off-by: Felix Fietkau <nbd@nbd.name>
* package-ipkg: do not include feeds.mk at metadata dump time to speed up scanningFelix Fietkau2016-06-161-1/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* include/feeds.mk: allow installation from feed packages that are installed ↵Felix Fietkau2016-06-161-1/+1
| | | | | | but no longer in feeds.conf Signed-off-by: Felix Fietkau <nbd@nbd.name>
* package-ipkg.mk: fix Provides for packages with multiple PROVIDES entriesMatthias Schiffer2016-06-161-1/+1
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* build: don't add -j for parallel builds with Make 4.2+Matthias Schiffer2016-06-152-2/+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>
* kernel: update kernel 4.4 to version 4.4.13Álvaro Fernández Rojas2016-06-121-2/+2
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* image.mk: fix dependencies for legacy make prepare stepFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: fix filesystem dependency issueFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: allow to build LEDE on latest MacOS XWaldemar Brodkorb2016-06-071-0/+5
| | | | | | | | | | | | | 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]
* image.mk: add LegacyDevice wrapper to allow legacy image building code to be ↵Felix Fietkau2016-06-071-5/+58
| | | | | | used for device profiles Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: change the default of the kernel suffixFelix Fietkau2016-06-071-1/+1
| | | | | | Make it more suitable for installing into bin/ Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: add support for specifying a different suffix for the initramfs kernelFelix Fietkau2016-06-071-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: split off all Build/* commands into image-commands.mkFelix Fietkau2016-06-072-150/+151
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: implement support for selecting multiple device profilesFelix Fietkau2016-06-071-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: split scripts/metadata.pl into target-metadata.pl and package-metadata.plFelix Fietkau2016-06-073-5/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.12Álvaro Fernández Rojas2016-06-021-2/+2
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* include: move VERSION_DIST_SANITIZED to version.mkAlexander Couzens2016-06-012-3/+3
| | | | | | | 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>
* include: rename DIST_SANITIZED to VERSION_DIST_SANITZEDAlexander Couzens2016-06-011-2/+2
| | | | | | All version variables contain VERSION prefix. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* download.mk: use HTTPS for git.lede-project.orgJo-Philipp Wich2016-06-011-1/+1
| | | | | | | | 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>
* include/image.mk: move build step tplink-safeloader to image.mkAsh Benz2016-05-271-0/+12
| | | | | | Move tplink-safeloader from target/linux/ar71xx/image/tp-link.mk to include/image.mk Signed-off-by: Ash Benz <ash.benz@bk.ru>
* Centralize setting of all version info to include/version.mkHannu Nyman2016-05-242-2/+2
| | | | | | | | | 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>
* image.mk: remove obsolete SUBTARGETS variableFelix Fietkau2016-05-231-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: fix profile selection in the image builderFelix Fietkau2016-05-221-1/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: allow whitespace characters in VERSION_DISTFelix Fietkau2016-05-211-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: simplify device profile check, prepare for supporting selecting ↵Felix Fietkau2016-05-201-5/+8
| | | | | | multiple profiles Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: fix evaluation order for image profile checkFelix Fietkau2016-05-201-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.11Álvaro Fernández Rojas2016-05-191-2/+2
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* image.mk: fix building ubifs imagesDaniel Golle2016-05-191-0/+1
| | | | | | A hook for ubifs was left-out in the new image building code. Add it. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* image.mk: remove obsolete squashfs-lzma codeFelix Fietkau2016-05-161-3/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: fix make download in the SDKFelix Fietkau2016-05-161-4/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: remove profile kernel/build system config override supportFelix Fietkau2016-05-151-7/+0
| | | | | | It has been unused for years Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: fix emitting profiles for targets that have no subtargetsFelix Fietkau2016-05-152-4/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* target.mk: add cflags for mips 1004kc cpu typeFelix Fietkau2016-05-141-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove leftover kernel version for 4.3Felix Fietkau2016-05-121-2/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.10Álvaro Fernández Rojas2016-05-111-2/+2
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>