summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* image: fix build issue with per-device rootfs and legacy devicesFelix Fietkau2016-07-311-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* perf: prevent build from within the sdk and mark as nonsharedFelix Fietkau2016-07-311-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* sdk: provide a config symbol for detecting builds within the SDKFelix Fietkau2016-07-311-0/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: add a helper variable for getting kernel/rootfs from within image ↵Felix Fietkau2016-07-3113-51/+54
| | | | | | Build/* templates Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove hostap driverFelix Fietkau2016-07-3114-1076/+6
| | | | | | | It has been marked as broken for well over a month now and nobody has complained. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeon: increase block2mtd rootfs probe timeout on ERFelix Fietkau2016-07-301-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: add CMDLINE to DEVICE_VARSFelix Fietkau2016-07-301-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeon: pad squashfs sysupgrade image rootfsFelix Fietkau2016-07-301-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: add support for overriding kernel/rootfs images in sysupgrade-tar ↵Felix Fietkau2016-07-302-2/+3
| | | | | | template Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeon: drop unsupported jffs2 feature flagFelix Fietkau2016-07-301-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeon: fix sysupgrade imagesFelix Fietkau2016-07-301-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix crashlog regression on x86Felix Fietkau2016-07-301-20/+32
| | | | | | | | Check memblock regions for sufficient size before attempting to use them. Allow checks for multiple memblock regions until a suitable one is found. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* include/cmake.mk: fix host buildsFelix Fietkau2016-07-291-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* dnsmasq: drop --interface and --except-interface options when the interface ↵Felix Fietkau2016-07-291-2/+2
| | | | | | cannot be found Signed-off-by: Felix Fietkau <nbd@nbd.name>
* cmake: include/cmake.mk add CMAKE_BINARY_SUBDIR to allow out of source tree ↵Luke McKee2016-07-292-3/+6
| | | | | | | | | | | | builds Some packages need out of source tree building with cmake, for example when building kernel modules. See an example here: https://sourceforge.net/p/accel-ppp/code/ci/master/tree/README Signed-off-by: Luke McKee <hojuruku@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanup, rework]
* netifd: update to the latest version, adds an event handling fixFelix Fietkau2016-07-291-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* dnsmasq: remove use of uci state for getting network ifnameFelix Fietkau2016-07-291-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: remove leftover variable from a previous reworkFelix Fietkau2016-07-291-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath25: rework image buildingJo-Philipp Wich2016-07-291-41/+27
| | | | | | | | * Remove legacy macros * Emit generic LZMA and Gzip kernel images from the combined device recipe * Rename combined device to generic Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* build: rename sysupgrade-nand to sysupgrade-tarJo-Philipp Wich2016-07-2911-13/+13
| | | | | | | Now that the "sysupgrade-nand" step is used by non-NAND targets as well, rename it to "sysupgrade-tar" to make it more generic. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* octeon: clean up image build codeJo-Philipp Wich2016-07-291-13/+2
| | | | | | | Use the generic "sysupgrade-nand" build step to pack the sysupgrade file, it performs the same steps as the inline "tar-file" macro. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* dnsmasq: replace the iface hotplug script with a procd triggerFelix Fietkau2016-07-293-11/+8
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* dnsmasq: make the check for existing DHCP servers more reliableFelix Fietkau2016-07-291-0/+6
| | | | | | If there is no carrier yet, wait for 2 seconds (STP forwarding delay) Signed-off-by: Felix Fietkau <nbd@nbd.name>
* dnsmasq: write atomic config fileUlrich Weber2016-07-291-8/+10
| | | | | | | | | multiple invocation of dnsmasq script (e.g. by procd and hotplugd) might cause procd to restart dnsmasq with an incomplete config file. Config file generation might take quite a long time on larger configs due ubus calls for each listening interface... Signed-off-by: Ulrich Weber <ulrich.weber@riverbed.com>
* netifd: update to the latest versionFelix Fietkau2016-07-291-2/+2
| | | | | | | | Emits an initial event after the first link-up of a force_link interface. This is needed for making the dnsmasq dhcp check more reliable Signed-off-by: Felix Fietkau <nbd@nbd.name>
* procd: add default timeout for reload trigger actionsFelix Fietkau2016-07-291-0/+10
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* igmpproxy: remove procd_open_trigger/procd_close_trigger callsFelix Fietkau2016-07-291-3/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* dropbear: remove procd_open_trigger/procd_close_trigger callsFelix Fietkau2016-07-291-2/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* sysntpd: remove procd_open_trigger/procd_close_trigger callsFelix Fietkau2016-07-291-3/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* procd: rework trigger handlingFelix Fietkau2016-07-291-8/+16
| | | | | | | | | Open/close triggers array around service_triggers call to make using multiple triggers easier to deal with. The API was quite confusing, because some functions contained implicit trigger open/close calls and some didn't. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* procd: update to the latest versionFelix Fietkau2016-07-291-2/+2
| | | | | | Fixes a long standing design issue in handling of delayed triggers Signed-off-by: Felix Fietkau <nbd@nbd.name>
* libubox: update to the latest version, adds a few utility functionsFelix Fietkau2016-07-291-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: add option to enable all profilesFelix Fietkau2016-07-291-0/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: add support for per-device rootfs based on device profile packgesFelix Fietkau2016-07-293-13/+101
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: minor cleanup of redundant codeFelix Fietkau2016-07-292-2/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: set TMPDIR for opkg callsFelix Fietkau2016-07-291-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: add target_params variable for getting root filesystem image parametersFelix Fietkau2016-07-291-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: add template for getting opkg package files from package namesFelix Fietkau2016-07-292-5/+4
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: rework opkg command invocationFelix Fietkau2016-07-292-6/+11
| | | | | | Drop included $(XARGS), add support for passing target dir via parameter Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: remove obsolete variables from opkg commandFelix Fietkau2016-07-292-6/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: rework prepare_rootfs to pass target dir via parameterFelix Fietkau2016-07-292-16/+16
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: add wrapper variable to get the target dir for mkfs commandsFelix Fietkau2016-07-291-8/+10
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: make mkfs template output to $@Felix Fietkau2016-07-291-10/+18
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: move rootfs processing code to include/rootfs.mk so it can be reused ↵Felix Fietkau2016-07-292-74/+80
| | | | | | later Signed-off-by: Felix Fietkau <nbd@nbd.name>
* apm821xx: only attempt to mount /boot on MyBook LiveFelix Fietkau2016-07-291-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: fix switch configuration for EASY80920Hauke Mehrtens2016-07-284-24/+27
| | | | | | | | The device tree description misses some Ethernet ports and there was no model specified for this board. In addition there was no switch specific default configuration created. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: fix crashlog issues on various architecturesFelix Fietkau2016-07-281-13/+25
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: fix WBMR-300HPD switch port assignmentFelix Fietkau2016-07-281-4/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeon: fix image buildJo-Philipp Wich2016-07-281-1/+1
| | | | | | | | | | | | | | After b47f438 "build: remove image prefix from kernel files in KDIR", the kernel image in $(KDIR) has a different name and could not be found by the tar-file build step anymore, leading to the following error on the build servers: cp: cannot stat `.../linux-octeon/lede-octeon-generic-kernel.bin': No such file or directory make[4]: *** [.../linux-octeon/tmp/lede-octeon-generic-ext4-sysupgrade.tar] Error 1 Adjust the path to the source kernel image in order to fix the problem. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: don't use D-Link DIR-505 status LED as ethernet indicatorMatthias Schiffer2016-07-281-4/+0
| | | | | | | | | The stock firmware uses the single LED as status indicator only. Using the same LED both for status and as ethernet indicator is uncommon, and has been confusing users who were using the device as a WLAN mesh node (so the LED was just off, as no ethernet was connected). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>