aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* build: avoid including profiles/*.mkFelix Fietkau2016-05-111-6/+3
| | | | | | Generate the active profile name in menuconfig context Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: include per-device profiles in image build profile checkFelix Fietkau2016-05-111-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* toplevel.mk: rescan target metadata if the image makefile changesFelix Fietkau2016-05-111-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* metadata.pl: add support for forcing sorting of profilesFelix Fietkau2016-05-111-0/+2
| | | | | | | Used to mix device profiles (specified in the image makefile) with regular target profiles. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* target.mk: dump device profiles defined in include/image.mkFelix Fietkau2016-05-111-0/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* target.mk: remove the unused Target-Path fieldFelix Fietkau2016-05-111-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: add support for limiting images to specific subtargetsFelix Fietkau2016-05-111-2/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: prepare for defining device profile data in the Device sectionFelix Fietkau2016-05-111-1/+24
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: update kernel 4.4 to version 4.4.9Álvaro Fernández Rojas2016-05-101-2/+2
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* ubox: turn logd into a separate packageblogic2016-05-101-1/+1
| | | | | | | | | 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
* build: add support for specifying extra package dependencies for prepared, ↵Felix Fietkau2016-05-051-3/+3
| | | | | | configured and built Signed-off-by: Felix Fietkau <nbd@nbd.name>
* include: add lede git server urlJohn Crispin2016-04-291-0/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* kernel: update kernel 4.4 to version 4.4.8Álvaro Fernández Rojas2016-04-241-2/+2
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* include: remove unused FeedPackageDir macro argumentsJo-Philipp Wich2016-04-222-3/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* include: bin/ dir was not createdJohn Crispin2016-04-191-2/+2
| | | | | | explicitly create the bin dir Signed-off-by: John Crispin <john@phrozen.org>
* include/target.mk: disambiguate package architectureJo-Philipp Wich2016-04-171-1/+1
| | | | | | | | 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>
* include: fix nonshared flag handlingJo-Philipp Wich2016-04-152-2/+3
| | | | | | | 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>
* include/kernel.mk: flag kmod packages as nonshared by defaultJo-Philipp Wich2016-04-061-0/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* include/version.mk: rework repository url handlingJo-Philipp Wich2016-04-132-6/+6
| | | | | | | | - 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>
* include: choose package output directory based on repository infoJo-Philipp Wich2016-04-063-3/+18
| | | | | | | | | | | 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>
* include: remove now unused PACKAGE_SUBDIR variableJo-Philipp Wich2016-04-133-3/+0
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* include/package-dumpinfo.mk: introduce Repository valuesJo-Philipp Wich2016-04-131-1/+2
| | | | | | | | | | | | | 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>
* include/target.mk: default to CPU_TYPE for the package architectureJo-Philipp Wich2016-04-061-1/+2
| | | | | | | | | | Use the more specific CPU_TYPE designation as default package architecture and only fall back to ARCH if no specific CPU_TYPE is set. This means that e.g. ar71xx packages will use "74kc" as architecture, not "mips" which is a precondition for sharing packages between targets. Signed-off-by: Jo-Philipp Wich <jo@mein.io>