aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* package: flag further target specific packages as nonsharedJo-Philipp Wich2016-04-2614-0/+26
| | | | | | | Add nonshared flag to package depending on specific targets or subtargets as there's no guarantee otherwise that they'll be available in the shared repo. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* package: mark nvram and otrx nonshared as they're target specificJo-Philipp Wich2016-04-262-0/+2
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* brcm2708: removes backported patch (linux-4.4.7)Álvaro Fernández Rojas2016-04-261-25/+0
| | | | | | | This regression was introduced while rebasing LEDE's commits over the latest OpenWrt repository. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* at91: fix SAMA5D3 subtargetJo-Philipp Wich2016-04-252-6/+12
| | | | | | | Add required architecture overrides to enable SAMA5 boards in Kconfig, add resulting missing symbols, reorder config and remove unrelated XEN setting. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* x86: remove old references to kmod-acpi-buttonJo-Philipp Wich2016-04-252-2/+2
| | | | | | | | The kmod-acpi-button functionality is included in the kernel where needed and the corresponding kmod package has been deleted long ago, therfor drop the remaining references now. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* uml: revert accidentally committed changeJo-Philipp Wich2016-04-251-1/+0
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* tools: fix make_ext4fs build with recent glibcJo-Philipp Wich2016-04-252-3/+5
| | | | | | | Update to latest make_ext4fs Git HEAD to fix build with recent glibc version which does not implicitely includes sysmacros.h anymore. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* brcm2708: update linux 4.4 patches to latest versionÁlvaro Fernández Rojas2016-04-24302-448/+9148
| | | | | | | As usual these patches were extracted from the raspberry pi repo: https://github.com/raspberrypi/linux/tree/rpi-4.4.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708-gpu-fw: update to latest versionÁlvaro Fernández Rojas2016-04-241-7/+7
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: fix ip6_tunnel compilationÁlvaro Fernández Rojas2016-04-241-2/+2
| | | | | | Replace undefined iph for ip_hdr(skb) Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* kernel: update kernel 4.4 to version 4.4.8Álvaro Fernández Rojas2016-04-2414-236/+37
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* opkg: fix use-after-free with duplicate packages on the command lineJo-Philipp Wich2016-04-232-1/+13
| | | | | | | | | When the same package file is specified multiple times on the opkg install command line, the name pointer on the argv array becomes stale after the package structures have been merged, leading to invalid memory accesses upon install. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* imagebuilder: use correct package directory when bundling kmods and libcJo-Philipp Wich2016-04-221-2/+2
| | | | | | | | | | | The libc and kernel package files moved since the introduction of shared packages and the changed output directory layout. This causes the generated ImageBuilder archive to lack the necessary "libc" and "kernel" meta packages, leading to opkg install errors later on. Use the FeedPackageDir macro to figure out the proper source directory to use. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* package: fix toolchain ipk flagsJo-Philipp Wich2016-04-221-1/+2
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* include: remove unused FeedPackageDir macro argumentsJo-Philipp Wich2016-04-222-3/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* linux: kmod-e100: use preconverted firmware filesJo-Philipp Wich2016-04-211-3/+3
| | | | | | | | Instead of converting the firmware files ourselves, use the files generated during the normal kernel build process. This fixes packaging kmod-e100 in the SDK environment. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* sdk: bundle required firmware filesJo-Philipp Wich2016-04-211-0/+2
| | | | | | | | Bundle all firmware files which have been built along with the kernel to fix packaging of kmods in the SDK environment that rely on in-tree firmwares, specifically kmod-e100. 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>
* base-files: remove ununsed login.shJohn Crispin2016-04-191-18/+0
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* base-files: Allow to disable failsafe modeJohn Crispin2016-04-195-6/+24
| | | | Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
* image / basefiles: make console password configurableJohn Crispin2016-04-1822-42/+48
| | | | | Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com> Signed-off-by: John Crispin <john@phrozen.org>
* base-files: fix error message during bootJohn Crispin2016-04-111-1/+1
| | | | | | | | preinit spews out this message "cat: can't open '/proc/device-tree/model': No such file or directory" Signed-off-by: John Crispin <john@phrozen.org>
* sdk: do not exclude ccache executableJo-Philipp Wich2016-04-181-1/+2
| | | | | | | Change tar exclude pattern to skip ccache directory contents but not the ccache executable itself. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* sdk: fix generation of base feed urlJo-Philipp Wich2016-04-171-1/+1
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* target: globally remove ARCH_PACKAGES overridesJo-Philipp Wich2016-04-1714-14/+0
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* 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>
* brcm2708: implement sysupgrade image checkChristian Lamparter2016-04-071-1/+15
| | | | | | | | | | Implement a crude but functioning sysupgrade image check for the Raspberry Pi. The code only checks if the master boot record boot signature (0x55aa) is present in the first 512-bytes at the correct location. This can prevent the odd bricking of a system when flashing the wrong file. Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
* brcm2708-gpu-fw: improve package version and releaseÁlvaro Fernández Rojas2016-04-161-5/+5
| | | | | | Use git revision as package release and date for package version. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcmfmac43430-firmware: improve package version and releaseÁlvaro Fernández Rojas2016-04-161-4/+4
| | | | | | Use git revision as package release and date for package version. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708: add missing config symbolsÁlvaro Fernández Rojas2016-04-163-0/+9
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* 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>
* openssl: fix wrong build target stringsJo-Philipp Wich2016-04-151-3/+3
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* uclibc++: add hack to fix failing patchJo-Philipp Wich2016-04-141-1/+8
| | | | | | | | | | | | | | | | One of the patched files, include/unwind-cxx.h, contains windows newlines which lead to the following failure: Applying ./patches/006-eabi_fix.patch using plaintext: patching file include/typeinfo patching file include/unwind-cxx.h Hunk #1 FAILED at 173 (different line endings). Hunk #2 FAILED at 181 (different line endings). Add a fixup command to the prepare phase which normalizes the line endings before applying source patches. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* imagebuilder: fix standalone operationJo-Philipp Wich2016-04-131-1/+2
| | | | | | Fix standalone ImageBuilders after the package layout rework. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* package: flag essential components as nonsharedJo-Philipp Wich2016-04-065-1/+6
| | | | 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-133-7/+8
| | | | | | | | - 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-064-19/+25
| | | | | | | | | | | 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>
* global: introduce ALL_NONSHARED symbolJo-Philipp Wich2016-04-133-3/+12
| | | | | | | | Introduce a new symbol ALL_NONSHARED which selects all non-sharable packages by default. This option is mainly intented for buildbot setups to build the target dependant software subset only. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* scripts: remove "Package-Subdir" metadata handlingJo-Philipp Wich2016-04-131-1/+0
| | | | 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>
* scripts: metadata: use the new "Repository" fieldJo-Philipp Wich2016-04-132-2/+3
| | | | | | Switch to the new "Repository" metadata field to populate tmp/.packagesubdirs 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>
* rules.mk: introduce new variable OUTPUT_DIRJo-Philipp Wich2016-04-061-1/+4
| | | | | | | | | | | Introduce a new variable OUTPUT_DIR which refers to the parent bin/ directory without the architecture specific component. Also construct the BIN_DIR variable based on OUTPUT_DIR now and add both target and subtarget components to it to prevent different subtargets from overwriting each others files in bin/. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* scripts: metadata: add CONFIG_TARGET_SUBTARGET symbolJo-Philipp Wich2016-04-061-0/+12
| | | | | | | Add a new string symbol "CONFIG_TARGET_SUBTARGET" which contains the name of the chosen subtarget or "generic" if there are no subtargets available. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* brcm2708: update to latest versionÁlvaro Fernández Rojas2016-04-07241-839/+13437
| | | | | | | As usual these patches were extracted from the raspberry pi repo: https://github.com/raspberrypi/linux/commits/rpi-4.4.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708-gpu-fw: update to latest versionÁlvaro Fernández Rojas2016-04-071-6/+6
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm2708-gpu-fw: update to latest versionÁlvaro Fernández Rojas2016-04-012-8/+66
| | | | | | | | | This update also adds individual download of firmware files instead of fetching every file on the repository (10-MiB vs 100+MiB). Also copy Linux license from kernel directory instead of using the rpi-firmware one. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcmfmac43430-firmware: use @GITHUB download aliasÁlvaro Fernández Rojas2016-04-031-0/+2
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>