Commit Graph

66 Commits (1634461bd208f4bd108ea5c3d3f1cf9eb56d4a7e)

Author SHA1 Message Date
Michal Hrusecky 37e91861cc build: Use LINUX_DIR for Kernel/Patch
Use LINUX_DIR as a path when patching kernel. Doesn't break the current usage,
but allows to create packages that will contain variation of a kernel with
kernel being build in some subdirectory of PKG_BUILD_DIR.

Signed-off-by: Michal Hrusecky <michal.hrusecky@nic.cz>
5 years ago
John Crispin 74d00a8c38 kernel: split patches folder up into backport, pending and hack folders
* properly format/comment all patches
* merge debloat patches
* merge Kconfig patches
* merge swconfig patches
* merge hotplug patches
* drop 200-fix_localversion.patch - upstream
* drop 222-arm_zimage_none.patch - unused
* drop 252-mv_cesa_depends.patch - no longer required
* drop 410-mtd-move-forward-declaration-of-struct-mtd_info.patch - unused
* drop 661-fq_codel_keep_dropped_stats.patch - outdated
* drop 702-phy_add_aneg_done_function.patch - upstream
* drop 840-rtc7301.patch - unused
* drop 841-rtc_pt7c4338.patch - upstream
* drop 921-use_preinit_as_init.patch - unused
* drop spio-gpio-old and gpio-mmc - unused

Signed-off-by: John Crispin <john@phrozen.org>
7 years ago
Jonas Gorski 2ab0963971 build: fix kernel refresh failure on first run
Override {HOST_}QUILT before making decisions based on it, else it will
cause target/linux/refresh to fail on first run.

Fixes: 36ba6237d6 ("build: fix quilt for mixed package/host builds")
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
7 years ago
Felix Fietkau 36ba6237d6 build: fix quilt for mixed package/host builds
Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau 221f323782 build: set QUILT=1 automatically when calling package host build refresh
Makes behavor consistent with package builds and regular host builds

Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau 5aa03e16a7 build: disable CONFIG_AUTOREMOVE for packages/tools where QUILT is used
Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau 84bd74057f build: use mkhash to replace various quirky md5sum/openssl calls
Signed-off-by: Felix Fietkau <nbd@nbd.name>
7 years ago
Felix Fietkau 22ef1c83b3 kernel: make the kernel build auto-clean the build dir like package builds
Previous behavior can be restored by using QUILT=1 on target/prepare

Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau e5c1cc5545 build: for refresh, override HOST_QUILT like QUILT
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47868
9 years ago
Luka Perkov 7002f6326e include: remove trailing whitespaces
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45127
9 years ago
Felix Fietkau 9cf5926eff quilt: add a NO_RECONFIGURE override for compiling a package without re-running Build/Configure
SVN-Revision: 30500
12 years ago
Jo-Philipp Wich 149341faf1 silence error when package has no patches (patchwork 321)
SVN-Revision: 26627
13 years ago
Jo-Philipp Wich 38e3474542 quilt.mk: export PATCH for patch-kernel.sh
SVN-Revision: 23315
14 years ago
Jo-Philipp Wich d3f412f4ec rename PATCH to KPATCH
SVN-Revision: 23286
14 years ago
Felix Fietkau 9d8f81149f fix the path to the build dir for host packages
SVN-Revision: 14998
15 years ago
Felix Fietkau 3616727c87 fix HOST_QUILT override
SVN-Revision: 14996
15 years ago
Felix Fietkau 24dee6de52 speed up quilt imports
SVN-Revision: 14987
15 years ago
Felix Fietkau 9b96b24e32 fix quilt variable and stampfile usage for host builds
SVN-Revision: 14910
15 years ago
Felix Fietkau ddcfaeb1e5 move host build in packages into a separate namespace: package/<name>/host/<target> this allows dependencies between host and target packages, and saves unnecessary host builds for packages that contain both variants
SVN-Revision: 14905
15 years ago
Felix Fietkau 431c9267b4 replace a few unnecessary $(shell) calls
SVN-Revision: 14739
15 years ago
Felix Fietkau 127296bc45 speed up metadata scanning a lot by avoiding unnecessary shell commands and make recursions
SVN-Revision: 14734
15 years ago
Felix Fietkau f684d0a47b allow a separate patch directory for host patches
SVN-Revision: 14630
15 years ago
Felix Fietkau bc6fcb0067 eliminate redundancy by creating the quilt_used stampfile in the right place
SVN-Revision: 14620
15 years ago
Felix Fietkau e7b01c6aa1 fix missing change from r14610
SVN-Revision: 14617
15 years ago
Felix Fietkau 7eb1589875 build system refactoring in preparation for allowing packages to do host-build steps
SVN-Revision: 14610
15 years ago
Nicolas Thill 1f5c64d436 prevent quilt from loading any configuration file (closes: #4520)
SVN-Revision: 14351
15 years ago
John Crispin 3ec3f111ff if quilt failed whilst patching, no output was shown
SVN-Revision: 14178
15 years ago
Mirko Vogt 35e3dbab79 do not ignore exit codes of quilt anymore (by nbd)
SVN-Revision: 14149
15 years ago
Felix Fietkau 40b5e7a30d fix prepare error with brcm-2.4 and missing files/ (thx, thepeople)
SVN-Revision: 13021
16 years ago
Felix Fietkau 1e570a9288 change the way ./files* and the generic kernel files are applied. ./files now applies to *ALL* kernel versions, and is copied along with ./files-* - this gets rid of quite a bit of redundancy in the extra kernel drivers.
SVN-Revision: 13010
16 years ago
Felix Fietkau beb83c1e59 add function names to quilt-generated patch files to make patches more readable
SVN-Revision: 12938
16 years ago
Felix Fietkau ab8c8b019f enable quilt by default for the kernel tree
SVN-Revision: 12400
16 years ago
Imre Kaloz 40a175150e upstream style quilt refresh
SVN-Revision: 11350
16 years ago
Imre Kaloz 83072a149a override user/system specific quilt configuration
SVN-Revision: 11295
16 years ago
Felix Fietkau 2448cb8a15 add optional version suffix to kernel files/ directories
SVN-Revision: 10972
16 years ago
Felix Fietkau 03354353af clean up reject files after copying target/linux/*/files to the kernel tree
SVN-Revision: 10722
16 years ago
Felix Fietkau 2cb6cbf061 fix quilt apply for packages that change STAMP_*
SVN-Revision: 9531
17 years ago
Felix Fietkau 4af66e8866 fix accidental double slash in prefixed quilt patchsets
SVN-Revision: 9166
17 years ago
Felix Fietkau 5f87e72dae fix quilt patch check
SVN-Revision: 9121
17 years ago
Felix Fietkau 7d179076ca separate series file fixup from quilt check to avoid series file breakages after fixing a broken patch stack with quilt
SVN-Revision: 9120
17 years ago
Tim Yardley 458ce0cb5c fix quilt integration
SVN-Revision: 9100
17 years ago
Felix Fietkau e2f7a60283 fixes for refresh/update handling
SVN-Revision: 9063
17 years ago
Felix Fietkau d1933f9761 move a stampfile to make it easier to override the patch template
SVN-Revision: 9062
17 years ago
Felix Fietkau 5f1d42ea7c refactor quilt patching code
SVN-Revision: 9061
17 years ago
Felix Fietkau 03543ec4a4 proper series file support for regular packages
SVN-Revision: 9059
17 years ago
Felix Fietkau 800ef0f56c some minor fixes, cleanups, package build abstraction
SVN-Revision: 9051
17 years ago
Felix Fietkau e554dafa93 fix spontaneous rebuilds caused by make package/<name>/update with quilt
SVN-Revision: 8879
17 years ago
Felix Fietkau 749cefa063 fix custom series files in kernel patch directories
SVN-Revision: 8736
17 years ago
Felix Fietkau e83d637f65 fix kernel build with quilt
SVN-Revision: 8727
17 years ago
Felix Fietkau 9566fb1f07 allow the kernel to provide own series files for specific subdirs
SVN-Revision: 8557
17 years ago