aboutsummaryrefslogtreecommitdiffstats
path: root/include/quilt.mk
Commit message (Collapse)AuthorAgeFilesLines
* build: introduce $(MKHASH)Leonardo Mörlein2021-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before this commit, it was assumed that mkhash is in the PATH. While this was fine for the normal build workflow, this led to some issues if make TOPDIR="$(pwd)" -C "$pkgdir" compile was called manually. In most of the cases, I just saw warnings like this: make: Entering directory '/home/.../package/gluon-status-page' bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found bash: line 1: mkhash: command not found [...] While these were only warnings and the package still compiled sucessfully, I also observed that some package even fail to build because of this. After applying this commit, the variable $(MKHASH) is introduced. This variable points to $(STAGING_DIR_HOST)/bin/mkhash, which is always the correct path. Signed-off-by: Leonardo Mörlein <me@irrelefant.net>
* build: use SPDX license tagsPaul Spooren2021-02-051-4/+2
| | | | | | | | | The license folder is a core part of OpenWrt and all GPL-2.0 licensed. Use SPDX license tags to allow machines to check licenses. Signed-off-by: Paul Spooren <mail@aparcar.org> [rebase, keep some Copyright lines, sharpen commit message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* build: Use LINUX_DIR for Kernel/PatchMichal Hrusecky2019-01-301-5/+5
| | | | | | | | 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>
* kernel: split patches folder up into backport, pending and hack foldersJohn Crispin2017-08-051-0/+8
| | | | | | | | | | | | | | | | | | | | * 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>
* build: fix kernel refresh failure on first runJonas Gorski2017-06-041-5/+5
| | | | | | | | Override {HOST_}QUILT before making decisions based on it, else it will cause target/linux/refresh to fail on first run. Fixes: 36ba6237d6e3a23fbeadcc1812a892faa4b07cbe ("build: fix quilt for mixed package/host builds") Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* build: fix quilt for mixed package/host buildsFelix Fietkau2017-05-251-23/+24
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: set QUILT=1 automatically when calling package host build refreshFelix Fietkau2017-05-251-1/+1
| | | | | | Makes behavor consistent with package builds and regular host builds Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: disable CONFIG_AUTOREMOVE for packages/tools where QUILT is usedFelix Fietkau2017-01-191-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: use mkhash to replace various quirky md5sum/openssl callsFelix Fietkau2017-01-051-1/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: make the kernel build auto-clean the build dir like package buildsFelix Fietkau2016-08-051-1/+1
| | | | | | Previous behavior can be restored by using QUILT=1 on target/prepare Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: for refresh, override HOST_QUILT like QUILTFelix Fietkau2015-12-111-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 47868
* include: remove trailing whitespacesLuka Perkov2015-03-291-1/+1
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 45127
* quilt: add a NO_RECONFIGURE override for compiling a package without ↵Felix Fietkau2012-02-131-1/+2
| | | | | | re-running Build/Configure SVN-Revision: 30500
* silence error when package has no patches (patchwork 321)Jo-Philipp Wich2011-04-121-1/+1
| | | | SVN-Revision: 26627
* quilt.mk: export PATCH for patch-kernel.shJo-Philipp Wich2010-10-081-0/+1
| | | | SVN-Revision: 23315
* rename PATCH to KPATCHJo-Philipp Wich2010-10-071-2/+2
| | | | SVN-Revision: 23286
* fix the path to the build dir for host packagesFelix Fietkau2009-03-231-2/+2
| | | | SVN-Revision: 14998
* fix HOST_QUILT overrideFelix Fietkau2009-03-231-1/+1
| | | | SVN-Revision: 14996
* speed up quilt importsFelix Fietkau2009-03-231-32/+5
| | | | SVN-Revision: 14987
* fix quilt variable and stampfile usage for host buildsFelix Fietkau2009-03-171-3/+7
| | | | SVN-Revision: 14910
* move host build in packages into a separate namespace: ↵Felix Fietkau2009-03-171-1/+1
| | | | | | 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
* replace a few unnecessary $(shell) callsFelix Fietkau2009-03-031-2/+2
| | | | SVN-Revision: 14739
* speed up metadata scanning a lot by avoiding unnecessary shell commands and ↵Felix Fietkau2009-03-031-2/+1
| | | | | | make recursions SVN-Revision: 14734
* allow a separate patch directory for host patchesFelix Fietkau2009-02-221-1/+3
| | | | SVN-Revision: 14630
* eliminate redundancy by creating the quilt_used stampfile in the right placeFelix Fietkau2009-02-221-0/+2
| | | | SVN-Revision: 14620
* fix missing change from r14610Felix Fietkau2009-02-221-1/+1
| | | | SVN-Revision: 14617
* build system refactoring in preparation for allowing packages to do ↵Felix Fietkau2009-02-221-53/+82
| | | | | | host-build steps SVN-Revision: 14610
* prevent quilt from loading any configuration file (closes: #4520)Nicolas Thill2009-02-021-9/+11
| | | | SVN-Revision: 14351
* if quilt failed whilst patching, no output was shownJohn Crispin2009-01-251-1/+1
| | | | SVN-Revision: 14178
* do not ignore exit codes of quilt anymore (by nbd)Mirko Vogt2009-01-221-1/+1
| | | | SVN-Revision: 14149
* fix prepare error with brcm-2.4 and missing files/ (thx, thepeople)Felix Fietkau2008-10-211-1/+2
| | | | SVN-Revision: 13021
* change the way ./files* and the generic kernel files are applied. ./files ↵Felix Fietkau2008-10-181-5/+2
| | | | | | 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
* add function names to quilt-generated patch files to make patches more readableFelix Fietkau2008-10-101-1/+1
| | | | SVN-Revision: 12938
* enable quilt by default for the kernel treeFelix Fietkau2008-08-271-1/+1
| | | | SVN-Revision: 12400
* upstream style quilt refreshImre Kaloz2008-06-041-1/+1
| | | | SVN-Revision: 11350
* override user/system specific quilt configurationImre Kaloz2008-05-301-1/+1
| | | | SVN-Revision: 11295
* add optional version suffix to kernel files/ directoriesFelix Fietkau2008-04-281-3/+4
| | | | SVN-Revision: 10972
* clean up reject files after copying target/linux/*/files to the kernel treeFelix Fietkau2008-04-031-1/+4
| | | | SVN-Revision: 10722
* fix quilt apply for packages that change STAMP_*Felix Fietkau2007-11-101-11/+11
| | | | SVN-Revision: 9531
* fix accidental double slash in prefixed quilt patchsetsFelix Fietkau2007-10-071-4/+4
| | | | SVN-Revision: 9166
* fix quilt patch checkFelix Fietkau2007-10-041-1/+1
| | | | SVN-Revision: 9121
* separate series file fixup from quilt check to avoid series file breakages ↵Felix Fietkau2007-10-041-2/+6
| | | | | | after fixing a broken patch stack with quilt SVN-Revision: 9120
* fix quilt integrationTim Yardley2007-10-021-1/+1
| | | | SVN-Revision: 9100
* fixes for refresh/update handlingFelix Fietkau2007-09-291-32/+42
| | | | SVN-Revision: 9063
* move a stampfile to make it easier to override the patch templateFelix Fietkau2007-09-291-2/+0
| | | | SVN-Revision: 9062
* refactor quilt patching codeFelix Fietkau2007-09-291-48/+46
| | | | SVN-Revision: 9061
* proper series file support for regular packagesFelix Fietkau2007-09-291-1/+6
| | | | SVN-Revision: 9059
* some minor fixes, cleanups, package build abstractionFelix Fietkau2007-09-281-0/+4
| | | | SVN-Revision: 9051
* fix spontaneous rebuilds caused by make package/<name>/update with quiltFelix Fietkau2007-09-201-1/+0
| | | | SVN-Revision: 8879
* fix custom series files in kernel patch directoriesFelix Fietkau2007-09-101-2/+2
| | | | SVN-Revision: 8736