aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* include: add a no dict version of lzma to new image build codeJohn Crispin2016-04-261-1/+5
| | | | | | | | Required to compress kernels in a brnboot compatible way. Signed-off-by: Mathias Kresin <openwrt@kresin.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49240 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.4 to version 4.4.7Hauke Mehrtens2016-04-161-2/+2
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49176 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/cmake.mk: Add helper macro to handle conditionals for CMake boolean ↵Vasilis Tsiligiannis2016-04-131-0/+2
| | | | | | | | type variables Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49164 3c298f89-4303-0410-b956-a3cf2f4a3e73
* download: add @GITHUB download facilityJohn Crispin2016-04-091-1/+1
| | | | | | | | Define a new alias (@GITHUB) for downloading raw github repository files Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49138 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 3.18 to version 3.18.29Rafał Miłecki2016-03-301-2/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49096 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/image.mk: allow including U-Boot environment in UBIJohn Crispin2016-03-201-0/+1
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49039 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.1 to version 4.1.20Hauke Mehrtens2016-03-181-2/+2
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49035 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.4 to version 4.4.6Hauke Mehrtens2016-03-171-2/+2
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@49032 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: add Cortex-A53 CPU_TYPEJohn Crispin2016-03-081-0/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48964 3c298f89-4303-0410-b956-a3cf2f4a3e73
* prereq: stop relying on man pages and grep for --recursive on the ↵Felix Fietkau2016-03-051-1/+1
| | | | | | | | git-submodule script directly (fixes #21968) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.4 to version 4.4.4Hauke Mehrtens2016-03-051-2/+2
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48933 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: fix git prereq check to forcibly disable man pagers on the --help checkFelix Fietkau2016-03-051-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48927 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: fix git prereq check to not rely on being in a git directory (#21968)Felix Fietkau2016-03-051-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48926 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 3.18 to version 3.18.27Hauke Mehrtens2016-03-011-2/+2
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48874 3c298f89-4303-0410-b956-a3cf2f4a3e73
* buildroot: improve git submodule handling for packagesFelix Fietkau2016-02-292-4/+5
| | | | | | | | | | | | | | | | | | | Move the `--recursive` switch from `git clone` to `git submodule` so that submodules are cloned for upstream branches where the PKG_SOURCE_VERSION commit-ish has a different .gitmodules configuration than the repository default. This is, for example, required when the master branch for a source package does not use submodules, but its topic branch for OpenWRT does. This changes the buildroot dependency from git-1.6.2 to git 1.7.12.2, which was released September 2012. Signed-off-by: Darik Horn <dajhorn@vanadac.com> Signed-off-by: Karl Palsson <karlp@tweak.net.au> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48830 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/target.mk: fix profile defaultsFelix Fietkau2016-02-261-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48807 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.4 to version 4.4.3Hauke Mehrtens2016-02-251-2/+2
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48783 3c298f89-4303-0410-b956-a3cf2f4a3e73
* linux: add support of Synopsys ARCHS38-based boardsJohn Crispin2016-02-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | This patch introduces support of new boards with ARC HS38 cores. ARC HS38 is a new generation of ARC cores which utilize ARCv2 ISA. As with ARC770 we're addind support for 2 boards for now: [1] Synopsys SDP board (AXS103) This is the same base-board as in AXS101 but with FPGA-based CPU-tile where ARCHs38 core is implemented. [2] nSIM Again this is the same simulation engine but configured for new instruction set and features of new CPU. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: Felix Fietkau <nbd@openwrt.org> Cc: Jo-Philipp Wich <jow@openwrt.org> Cc: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48740 3c298f89-4303-0410-b956-a3cf2f4a3e73
* download.mk: fix packed checkout mirroring supportJo-Philipp Wich2016-02-171-1/+1
| | | | | | | | | | | Changeset r48416 broke the downloading of mirrored, packed scm checkouts. Fix this by removing the "@" sign in front of the download command which is now executed as part of a larger shell command under flock. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48733 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: Revert "kernel: set root on NFS when enabled"Florian Fainelli2016-02-111-13/+0
| | | | | | | | | | This reverts r48591, users needing NFS root will know how to configure their platform and kernel command-line appropriately. Reported-by: Petr Štetiar <ynezz@true.cz> Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48689 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: enable CONFIG_KALLSYMS_UNCOMPRESSED=yFelix Fietkau2016-02-081-1/+1
| | | | | | | | | It was enabled ages ago when it was added. It still saves about 10k after LZMA, so let's enable it again. Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: image.mk: use correct flag for fixed mtimes with make_ext4fs (#21768)Jo-Philipp Wich2016-02-011-1/+1
| | | | | | | | The correct flag for fixed mtime is -T, not -t. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48610 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/image.mk: fix missing right parenthesis (#21766)Felix Fietkau2016-02-011-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48609 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: set root on NFS when enabledFlorian Fainelli2016-02-011-0/+13
| | | | | | | | | Replace the configured root device with a NFS root device and automatic IP configuration for booting over NFS. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48591 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/image: use SOURCE_DATE_EPOCH if set for squashfs + ext4 imagesFelix Fietkau2016-01-311-1/+2
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48588 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/image: don't save gzip name/timestamp metadataFelix Fietkau2016-01-311-3/+2
| | | | | | Signed-off-by: bryan newbold <bnewbold@robocracy.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48587 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build system: have tar use $SOURCE_DATE_EPOCH for --mtimeFelix Fietkau2016-01-312-3/+9
| | | | | | | | | | | | | | | | The --mtime argument to 'tar' sets the modification time for all files within the archive, which determines the timestamp files will get when they are extracted. In this case, rootfs and other tarballs will get mtimes which correspond to the last commit timestamp of the build system, as reported by git/subversion. This is a step towards reproducible image builds. Signed-off-by: bryan newbold <bnewbold@robocracy.org> Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48586 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: introduce SOURCE_DATE_EPOCH variableFelix Fietkau2016-01-311-0/+1
| | | | | | | | | | | SOURCE_DATE_EPOCH is the date of the last modified file using git/svn as date source. See https://reproducible-builds.org/specs/source-date-epoch/ Signed-off-by: Alexander Couzens <lynxis@fe80.eu> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48584 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove .config.prev when running make kernel_*config to fix rebuild ↵Felix Fietkau2016-01-291-0/+1
| | | | | | | | errors Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48545 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/kernel: add custom USER/DOMAIN config optionsFelix Fietkau2016-01-281-0/+2
| | | | | | | | | | | | | | | These allow the generated kernel's build metadata to be defined explicitly. This metadata is reported, eg, at boot time and in `uname -a` on running systems. If the variables aren't configured, the current build system username and hostname are used as normal. The motivation for this option is to achive reproducible (bit-for-bit identical) kernel builds of official openwrt releases. Signed-off-by: bryan newbold <bnewbold@robocracy.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48541 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/kernel: sort module lists for reproducibilityFelix Fietkau2016-01-281-2/+2
| | | | | | | | | | | This is to get reproducible builds of, eg, the kmod-sched ipkg. Locale preferences can change build order, but the locale is already been defined for the entire build process, so it doesn't need to be specified here. Signed-off-by: bryan newbold <bnewbold@robocracy.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48540 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.3 to version 4.3.4Hauke Mehrtens2016-01-251-2/+2
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48498 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 4.1 to version 4.1.16Hauke Mehrtens2016-01-251-2/+2
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48497 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update kernel 3.18 to 3.18.26Hauke Mehrtens2016-01-251-2/+2
| | | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48496 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/cmake.mk: search in $(STAGING_DIR)/usr instead of plain ↵Felix Fietkau2016-01-251-1/+1
| | | | | | | | $(STAGING_DIR) to avoid picking up stuff from host/ Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48492 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/cmake.mk: adjust for STAGING_DIR_HOST splitFelix Fietkau2016-01-251-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48491 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: use -iremap feature to replace __FILE__ absolute path names in ↵Felix Fietkau2016-01-251-0/+5
| | | | | | | | | | packages with ones relative to $(BUILD_DIR) improves reproducible builds Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48489 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: restrict separate kmod repo handling to base packagesJo-Philipp Wich2016-01-241-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48479 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: group kmod ipk files into a "kernel" subdirectoryJo-Philipp Wich2016-01-245-6/+8
| | | | | | | | | | This is useful to just use the kmods from an official build while supplying base packages from a custom feed or the other way around; for just overriding the kmods with a local repo while using official repos for the rest. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48475 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add uclient-fetch to the default packages, in case opkg is not selectedFelix Fietkau2016-01-221-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48450 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: download.mk: bugfix download.pl argument call orderFelix Fietkau2016-01-211-1/+1
| | | | | | | | | Change wrong download.pl argument call order. See download.pl argument list. Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48427 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/autotools.mk: fix gettext installation pathFelix Fietkau2016-01-201-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48421 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add logging for package host buildsFelix Fietkau2016-01-201-2/+18
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48417 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add locking for downloads (fixes race conditions with multiple variants)Felix Fietkau2016-01-201-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48416 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: split BUILD_LOG logs per variantFelix Fietkau2016-01-201-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48415 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Revert "include/autoconf.mk: decouple host fixups from target fixups"Felix Fietkau2016-01-201-4/+10
| | | | | | This reverts commit r48403 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48412 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: use a separate variable checking the subdir path (for host packages)Felix Fietkau2016-01-201-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48410 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include/autoconf.mk: decouple host fixups from target fixupsFelix Fietkau2016-01-201-10/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48403 3c298f89-4303-0410-b956-a3cf2f4a3e73
* host-build.mk: change default installation prefix of package/* host builds ↵Felix Fietkau2016-01-201-10/+12
| | | | | | | | to staging_dir/target-*/host Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48401 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: move host build directories of package/* to build_dir/target-*/host/Felix Fietkau2016-01-201-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48400 3c298f89-4303-0410-b956-a3cf2f4a3e73