aboutsummaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Fix build when TAR_OPTIONS env variable is setJohn Crispin2014-10-061-0/+2
| | | | | | | | | | | | | | | | | | The build system sets a make variable TAR_OPTIONS to the unpacking command, i.e. "-xf -". Now if an environment variable with the same name is set, the make variable is automatically exported to the environment. The make variable is added to the tar command in the makefile, and tar adds the environment variable. This results in a command like "tar -c /some/dir -xf - -xf -" which of course doesn't work. It is also difficult to spot as the second "-xf -" is not visible on the command line. I suggest this is fixed by unexporting TAR_OPTIONS as I see no use of the evironment variable, and it is changed from the original value anyway. Signed-off-by: Jan Kardell <jan.kardell@telliq.com> SVN-Revision: 42794
* build: remove useless quote stripping for KERNELNAME, add fallback for it in ↵Felix Fietkau2014-10-051-9/+4
| | | | | | | | the kernel build command line Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42781
* lantiq: remove the useless ltqtapi.mk include fileFelix Fietkau2014-10-051-12/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42778
* build: make sure modules are modposted after initramfs image is builtFelix Fietkau2014-10-051-2/+2
| | | | | | | | | | | | | | Otherwise the modpost steps for individual modules that are compiled manually (using make package/<name_of_module>/install) will give warning of missing symbols when that module depends other modules. This is caused by the Module.symvers file not containing any symbols anymore of external modules when the initramfs image is built without specifically giving the modules target. Signed-off-by: Tjalling Hattink <t.hattink@fugro.nl> SVN-Revision: 42773
* build: propagate package conflicts to opkg metadataFelix Fietkau2014-10-051-0/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42771
* build: add support for declaring package CONFLICTS which only affect ↵Felix Fietkau2014-10-052-0/+2
| | | | | | | | selecting built-in packages Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42770
* netfilter: unbreak kmod-ipt-nat for <3.7Steven Barth2014-09-291-0/+1
| | | | SVN-Revision: 42696
* build: allow packages with build variants to explicitly select a default variantFelix Fietkau2014-09-232-1/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42654
* netfilter: fix a typo in TTL-match moduleSteven Barth2014-09-181-1/+1
| | | | SVN-Revision: 42611
* netfilter: remove redundant CONFIG_IP_NF_IPTABLESSteven Barth2014-09-171-1/+0
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42599
* Reorganize netfilter kernel modules and package nftables kernel supportSteven Barth2014-09-172-41/+76
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42596
* postinst trigger: the new postinst trigger broke IBJohn Crispin2014-09-161-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42571
* kernel-build: fix STRIP_KERNEL_EXPORTS for recent kernelsJohn Crispin2014-09-151-1/+1
| | | | | | | | | | Recent kernels started to mark exported symbols as global. Adapt expressions in kernel-build.mk to also match global symbols when grep'ing through nm output. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 42555
* include: remove file before overwritting it with replace_scriptJohn Crispin2014-09-151-1/+3
| | | | | | | | | | | | | | | | | | | | config.{sub,guess} could be symlinks to a shared common version of this file (e.g. in staging). So we remove the destination file via --remove-destination option of cp. This prevents replaceing the common file that other packages could be build with if running at the same time. This fixes a class of errors where config.sub is missing, or only partially present when running configure because a cp is currently in progress This is commonly seen building with a lot of parallel jobs and on packages that use 'PKG_FIXUP:=autoreconf' Signed-off-by: Matthew McClintock <mmcclint@qca.qualcomm.com> Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com> SVN-Revision: 42547
* ipkg: add a default postinst/prerm scriptJohn Crispin2014-09-111-3/+14
| | | | | | | | | | | the postinst script enables/starts the init.d scripts upon package installation and installs the users required by the package. the prerm script stops and disables the init.d scripts. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42470
* include: add a meta data field for required system user:groupJohn Crispin2014-09-113-1/+4
| | | | | | | | | this is in preparation of having services run as !root with ACL'ed access to ubus. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42469
* kernel: update 3.14 to 3.14.18Luka Perkov2014-09-101-2/+2
| | | | | | | | Targets were build tested and patches are refreshed. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42463
* kernel: remove unused versionsLuka Perkov2014-09-101-6/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42462
* include: add Cortex-A5 CPU_TYPEFlorian Fainelli2014-09-031-0/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 42409
* PKG_CHECK_FORMAT_SECURITY: add a menuconfig option, disable by defaultJohn Crispin2014-08-251-3/+5
| | | | | | | | | | | The idea is still to enable it by default at some point I've tested all ar71xx packages (except oldpackages) using CONFIG_ALL=y Failing packages have been marked with PKG_CHECK_FORMAT_SECURITY:=0 for now I can test more targets but i have no idea which are the most used Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com> SVN-Revision: 42282
* build: fix removal of old .ipk files with CONFIG_PER_FEED_REPOJo-Philipp Wich2014-08-091-1/+1
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42090
* kernel: update 3.14 to 3.14.16Luka Perkov2014-08-081-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 42070
* iptables: NFLOG and NFQUEUE targets' full supportSteven Barth2014-08-071-0/+27
| | | | | | | | | | | | | | | | NFLOG and NFQUEUE targets' full support for iptables. Includes all needed kernel modules (Xtables's and Netlink's) and userspace libraries. All added kernel modules can be individually disabled, all other new libraries get their own individual packages. Reported-by: Fabian Hugelshofer <hugelshofer2006@gmx.ch> Reported-by: Rainer Poisel <rainer.poisel@fhstp.ac.at> Reported-by: Derek LaHousse <dlahouss@mtu.edu> Signed-off-by: Guillaume Déflache <guillaume.deflache@ibwag.com> SVN-Revision: 42022
* include: fix detection of installed feedsJo-Philipp Wich2014-08-061-1/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42003
* build: introduce per feed repository supportJo-Philipp Wich2014-08-055-5/+39
| | | | | | | | | This changeset implements a new menuconfig option to generate separate repositories for each enabled package feed instead of one monolithic one. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 42002
* netfilter: introduce xt_id matchJo-Philipp Wich2014-08-011-1/+2
| | | | | | | | | This commit implements a new netfilter match "xt_id" which can be used to attach unsigned 32bit IDs to iptables rules. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 41945
* image: only call Image/BuildKernel/Initramfs if initramfs is actually enabledFelix Fietkau2014-07-311-9/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41914
* kernel: update 3.14 to 3.14.14Luka Perkov2014-07-301-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41898
* base-files: properly escape strings for version infoFelix Fietkau2014-07-291-8/+13
| | | | | | | | | Make sure they don't break the sed command, and also make device_info and openwrt_release more robust for parsing by scripts Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41885
* base-files: add extra version configuration options for OEM manufacturer infoFelix Fietkau2014-07-291-1/+15
| | | | | | | | | | | Creates /etc/device_info which will be used to fill in information for WPS and other protocols that need manufacturer/device information This helps with creating OpenWrt firmware for OEM or rebranded devices. Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41884
* include/toplevel.mk: more chaos calmer renamingJohn Crispin2014-07-291-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41871
* target/linux/*/image/Makefile: eliminate more LINUX_DIR usersJohn Crispin2014-07-211-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41792
* include/image.mk: add a path variable for the dts folderJohn Crispin2014-07-211-0/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41789
* kernel: update to 3.10.49 Signed-off-by: John Crispin <blogic@openwrt.org>John Crispin2014-07-201-2/+2
| | | | SVN-Revision: 41776
* kernel: update 3.14 to 3.14.12Luka Perkov2014-07-111-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41582
* kernel: remove 3.12 support since none of the targets is using itLuka Perkov2014-07-101-3/+0
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41581
* kernel: update 3.14 to 3.14.11Luka Perkov2014-07-081-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41551
* kernel: update 3.14 to 3.14.10Luka Perkov2014-07-061-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41533
* build: temporarily disable PKG_CHECK_FORMAT_SECURITY until after the releaseFelix Fietkau2014-07-041-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 41504
* include: remove SDK exception from package install targetsJo-Philipp Wich2014-07-022-4/+4
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 41459
* build: Introduce PKG_CHECK_FORMAT_SECURITYFelix Fietkau2014-06-301-0/+4
| | | | | | | | | | The idea is to get rid of http://en.wikipedia.org/wiki/Uncontrolled_format_string by using "-Wformat -Werror=format-security" by default Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr> SVN-Revision: 41412
* kernel: update 3.14 to 3.14.9Luka Perkov2014-06-271-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41362
* make UbinizeImage work nicely without a kernel volumeImre Kaloz2014-06-271-5/+4
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41359
* include UbinizeImage parameters' description in the fileImre Kaloz2014-06-271-0/+5
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 41356
* kernel: update 3.10.36->3.10.44John Crispin2014-06-261-2/+2
| | | | | | | | 205-fix-headers_install.patch is obseleted by upstream commit 3246a0352e3d58380b9386570f1db1faf7edf8a8 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41351
* SysupgradeNAND: include rootfs-type in image nameJohn Crispin2014-06-241-8/+8
| | | | | | | | also add quotes to paths Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 41326
* image.mk: introduce Image/Build/UbinizeImage make targetJohn Crispin2014-06-241-0/+7
| | | | | | | | | | | | | paramters: $(1) board name $(2) ubinize-image options (e.g. --no-kernel and/or --uboot-env) $(3) rootfstype (e.g. squashfs or ubifs) $(4) kernel image file $(5) options to pass-through to ubinize (i.e. $($(PROFILE)_UBI_OPTS))) Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 41311
* kernel: update 3.14 to 3.14.8Luka Perkov2014-06-241-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41309
* include/target.mk: add CPU_CFLAGS_octeonJohn Crispin2014-06-181-0/+1
| | | | | | Signed-off-by: Martin Fäcknitz <faecknitz@hotsplots.de> SVN-Revision: 41250
* procd: some cleanup for SysupgradeNANDJohn Crispin2014-06-171-2/+0
| | | | | | | | | | Removed unused ubi file file from template as ubinized images are passed directly and not inside the tarball. Also removed left-over white-space. Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 41237