Felix Fietkau
4acc2a3947
build: add support for adding a per-device compile step in the new image building code
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45670
10 years ago
Felix Fietkau
2be2604a19
include: make dtb argument optional in MkFIT
...
As mkits.sh makes the -d argument optional, we'll make this same
argument optional in the MkFIT function as well.
With this change, MkFIT can be used both to generate FIT images with DT,
and without DT.
Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 45660
10 years ago
Felix Fietkau
5868331214
build: don't call prereq for any package/symlinks rules
...
Most of the time, we want to make sure OpenWrt has been configured and
setup before start running make. However, in case of package/symlinks,
forcing prereq as a dependency creates multiple issues:
*when executed on a clean workspace, it will prompt for user input
and open a menuconfig window before executing the feeds command
*the only way around that is to provide a .config. However, the "prereq"
target would then run a "make defconfig", which will remove all the
packages in the .config but from external feeds, as feeds have not been
installed yet.
The only way to currently work around this, is to generate a fake config
by running "make defconfig", then "make package/symlinks", copy the real
config (which at this point disregards the previously generated config),
and run make defconfig again. Something like this:
make defconfig
make package/symlinks
cp real.config .config
make defconfig
This change is removing the need for the first defconfig, making the
process more logical for OpenWrt users using the package/symlinks target.
Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com>
SVN-Revision: 45657
10 years ago
Imre Kaloz
aea93173d1
generic/4.0: update to 4.0.1
...
Also refresh one patch.
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 45601
10 years ago
Felix Fietkau
e597a4190e
package-ipkg.mk: fix typo (patch from #19540 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45568
10 years ago
Imre Kaloz
c7d5fee204
generic/4.0: bump to final version
...
Linux 4.0 was released on 2014-04-12
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 45559
10 years ago
Jo-Philipp Wich
0ee9504911
all: replace genext2fs with make_ext4fs
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 45517
10 years ago
Felix Fietkau
3edc273a33
netfilter.mk: remove obsolete ip_nat_ftp related line
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45516
10 years ago
Felix Fietkau
391387eb69
netfilter.mk: move IRC conntrack/nat helpers to kmod-nf-nathelper-extra
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45515
10 years ago
Felix Fietkau
d2ecd10f2f
cmake.mk: enable -Bsymbolic-functions by default for linking shared libs, slightly improves performance and compression
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45508
10 years ago
Felix Fietkau
2f49517c2f
image.mk: do not emit multiple target definitions for kernel images
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45498
10 years ago
Felix Fietkau
8ca1e211df
image.mk: force rebuild of kernel dependent parts - fixes auto-rebuild on DTS changes
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45495
10 years ago
Felix Fietkau
a0ced5164a
build: tell users to do non-paralle builds on errors
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45457
10 years ago
John Crispin
cc9a392e49
opkg: drop md5 in favour of sha256
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45437
10 years ago
Felix Fietkau
1ea8e3caca
build: replace the deprecated find argument -perm +0100 with /0100 ( #19480 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45434
10 years ago
Felix Fietkau
c99c9f875e
build: set CCACHE_DIR for host builds
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45427
10 years ago
Felix Fietkau
d0ba3bb1e2
kernel: finally remove layer7 filter support
...
it has been non-functional for years and caused numerous memleaks and
crashes for people that tried to enable it.
it has no maintained upstream source, and it does not look like it's
going to be fixed any time soon
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45423
10 years ago
Felix Fietkau
54a7ce626d
netfilter.mk: remove bogus NAT related kernel module entries ( #19451 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45382
10 years ago
Felix Fietkau
da7ef81ad4
netfilter.mk: drop obsolete kernel version dependencies
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45381
10 years ago
Luka Perkov
f4af7fe134
include: drop old kernel versions
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 45376
10 years ago
John Crispin
bbad3f360e
modules: fix postinst generation for kernel modules
...
Fixes ticket #19352 .
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45367
10 years ago
Felix Fietkau
d0c0cc9a9a
image.mk: rework FILESYSTEM evaluation order to fix some build issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45312
10 years ago
Imre Kaloz
8100b227a9
generic/4.0: upgrade to 4.0-rc7
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 45305
10 years ago
Imre Kaloz
7a9fe56452
generic/3.18: upgrade to 3.18.11
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 45303
10 years ago
Felix Fietkau
4cfc7b50ae
cmake.mk: add host build support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45282
10 years ago
Felix Fietkau
d42be88915
build: include variant name in STAMP_INSTALLED
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45253
10 years ago
Felix Fietkau
fa6d92f407
image.mk: export the FILESYSTEM variable to build commands
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45251
10 years ago
Nicolas Thill
5b1d880949
include/kernel.mk: add KernelPackage/conffiles macro
...
Signed-off-by: Nicolas Thill <nico@openwrt.org>
SVN-Revision: 45245
10 years ago
John Crispin
3ec7ccf501
config: add an option to enable KPROBE
...
Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>
SVN-Revision: 45212
10 years ago
John Crispin
d542c038c5
nls.mk: fix typo
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
SVN-Revision: 45207
10 years ago
Imre Kaloz
9bb302ff9e
generic/4.0: upgrade to 4.0-rc6
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 45198
10 years ago
Imre Kaloz
35df52f89f
generic/3.18: upgrade to 3.18.10
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 45197
10 years ago
Felix Fietkau
d600f9e957
package-ipkg.mk: fix typo
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45194
10 years ago
Felix Fietkau
765c73f309
package-ipkg.mk: add missing semicolon ( #19381 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45193
10 years ago
Felix Fietkau
14a54ed18d
build: make device image kernels depend on Image/Prepare step
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45190
10 years ago
Felix Fietkau
640318e620
build: ensure that preinst and postrm are executable ( fixes #19372 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45187
10 years ago
Felix Fietkau
6d7dff8596
image.mk: fix initramfs kernel build instructions leaking across device sections
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45156
10 years ago
Felix Fietkau
ed1e783aa1
kernel: only run kernel module list through version filter where version specific items are present - cuts package/kernel/linux/compile time in half
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45131
10 years ago
Felix Fietkau
55c5d10ca9
tools: replace ipkg-utils with a reduced ipkg-build variant in scripts/
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45129
10 years ago
Felix Fietkau
61dd3c8013
build: make postinst/prerm scripts executable
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45128
10 years ago
Luka Perkov
7002f6326e
include: remove trailing whitespaces
...
Signed-off-by: Luka Perkov <luka@openwrt.org>
SVN-Revision: 45127
10 years ago
Felix Fietkau
c901f4fcbb
netfilter: add missing module/symbol
...
ipv4 symbol was added but ipv6 symbol is missing
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 45122
10 years ago
Felix Fietkau
a5422864f5
build: fix CMake assembly builds with ccache
...
CMAKE_ASM_COMPILER is automatically set to CMAKE_C_COMPILER by CMake, but
CMAKE_C_COMPILER_ARG1 is lost. This causes assembly builds to fail when ccache
is enabled (for example the package fastd on x86).
Fix this by explicitly defining CMAKE_ASM_COMPILER and CMAKE_ASM_COMPILER_ARG1.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
SVN-Revision: 45119
10 years ago
Felix Fietkau
437e423c44
build: add missing sitefile for i386
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45097
10 years ago
Felix Fietkau
74ca7e9af3
build: clean up sitefiles, make them per-arch
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45090
10 years ago
Felix Fietkau
a1b725bba5
build: ignore errors on copying firmware binaries from $(KDIR) to $(BIN_DIR)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45029
10 years ago
Imre Kaloz
4bac1253c1
generic/4.0: upgrade to 4.0-rc5
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 45025
10 years ago
John Crispin
d95e0687aa
include: add a seccomp filter install wrapper
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 45006
10 years ago
Imre Kaloz
af69bf56b6
drop 3.19 support
...
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 45002
10 years ago
Felix Fietkau
d973d160bf
include/image.mk: define variable FILESYSTEM
...
Set it to the filesystem which is build. mktplinkfw need to know which filesystem
is used.
FILESYSTEM can be squashfs, jffs2-64k, ...
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 44997
10 years ago