aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* download: add @GITHUB download facilityÁlvaro Fernández Rojas2016-04-031-0/+1
| | | | | | Define a new alias (@GITHUB) for downloading raw files from github repos. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* branding: add LEDE brandingJohn Crispin2016-03-243-9/+9
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* 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> SVN-Revision: 49240
* kernel: update kernel 4.4 to version 4.4.7Hauke Mehrtens2016-04-161-2/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49176
* 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> SVN-Revision: 49164
* 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> SVN-Revision: 49138
* 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> SVN-Revision: 49096
* include/image.mk: allow including U-Boot environment in UBIJohn Crispin2016-03-201-0/+1
| | | | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 49039
* kernel: update kernel 4.1 to version 4.1.20Hauke Mehrtens2016-03-181-2/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49035
* kernel: update kernel 4.4 to version 4.4.6Hauke Mehrtens2016-03-171-2/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 49032
* include: add Cortex-A53 CPU_TYPEJohn Crispin2016-03-081-0/+1
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 48964
* 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> SVN-Revision: 48934
* kernel: update kernel 4.4 to version 4.4.4Hauke Mehrtens2016-03-051-2/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48933
* 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> SVN-Revision: 48927
* 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> SVN-Revision: 48926
* kernel: update kernel 3.18 to version 3.18.27Hauke Mehrtens2016-03-011-2/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48874
* 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> SVN-Revision: 48830
* include/target.mk: fix profile defaultsFelix Fietkau2016-02-261-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48807
* kernel: update kernel 4.4 to version 4.4.3Hauke Mehrtens2016-02-251-2/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48783
* 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> SVN-Revision: 48740
* 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> SVN-Revision: 48733
* 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> SVN-Revision: 48689
* 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> SVN-Revision: 48680
* 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> SVN-Revision: 48610
* include/image.mk: fix missing right parenthesis (#21766)Felix Fietkau2016-02-011-1/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48609
* 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> SVN-Revision: 48591
* 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> SVN-Revision: 48588
* include/image: don't save gzip name/timestamp metadataFelix Fietkau2016-01-311-3/+2
| | | | | | Signed-off-by: bryan newbold <bnewbold@robocracy.org> SVN-Revision: 48587
* 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> SVN-Revision: 48586
* 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> SVN-Revision: 48584
* 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> SVN-Revision: 48545
* 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> SVN-Revision: 48541
* 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> SVN-Revision: 48540
* kernel: update kernel 4.3 to version 4.3.4Hauke Mehrtens2016-01-251-2/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48498
* kernel: update kernel 4.1 to version 4.1.16Hauke Mehrtens2016-01-251-2/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48497
* kernel: update kernel 3.18 to 3.18.26Hauke Mehrtens2016-01-251-2/+2
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 48496
* 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> SVN-Revision: 48492
* include/cmake.mk: adjust for STAGING_DIR_HOST splitFelix Fietkau2016-01-251-3/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48491
* 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> SVN-Revision: 48489
* include: restrict separate kmod repo handling to base packagesJo-Philipp Wich2016-01-241-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 48479
* 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> SVN-Revision: 48475
* 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> SVN-Revision: 48450