Commit Graph

49 Commits (1675d3bed9cd0db97dbf777dcc3a4b57fa42e28c)

Author SHA1 Message Date
Felix Fietkau 0a5976b604 fix quilt variable and stampfile usage for host builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 03:21:52 +00:00
Felix Fietkau 353386a643 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-17 02:20:34 +00:00
Felix Fietkau 937f1820f2 replace a few unnecessary $(shell) calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14739 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 14:55:53 +00:00
Felix Fietkau 87fcd635fe speed up metadata scanning a lot by avoiding unnecessary shell commands and make recursions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-03-03 13:54:29 +00:00
Felix Fietkau 835b12f4ad allow a separate patch directory for host patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14630 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 23:54:17 +00:00
Felix Fietkau 1ca982f27c eliminate redundancy by creating the quilt_used stampfile in the right place
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 17:50:31 +00:00
Felix Fietkau cb4bea1db2 fix missing change from r14610
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 16:49:21 +00:00
Felix Fietkau b892e1fb85 build system refactoring in preparation for allowing packages to do host-build steps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14610 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-22 04:37:20 +00:00
Nicolas Thill ae9ef08eb7 prevent quilt from loading any configuration file (closes: #4520)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-02-02 07:41:01 +00:00
John Crispin 2330d65a05 if quilt failed whilst patching, no output was shown
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-25 17:28:11 +00:00
Mirko Vogt 554c71bf6e do not ignore exit codes of quilt anymore (by nbd)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14149 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-22 22:01:39 +00:00
Felix Fietkau 361ef0211c fix prepare error with brcm-2.4 and missing files/ (thx, thepeople)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-21 19:26:36 +00:00
Felix Fietkau af835ce516 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13010 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-18 21:43:30 +00:00
Felix Fietkau 2351e523b9 add function names to quilt-generated patch files to make patches more readable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-10-10 01:44:55 +00:00
Felix Fietkau feb2913734 enable quilt by default for the kernel tree
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12400 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-27 14:14:00 +00:00
Imre Kaloz 3651e2a28b upstream style quilt refresh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11350 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-06-04 13:10:52 +00:00
Imre Kaloz 2004a63a81 override user/system specific quilt configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-05-30 13:51:06 +00:00
Felix Fietkau ef0a202a8f add optional version suffix to kernel files/ directories
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-28 22:01:14 +00:00
Felix Fietkau fc626a33aa clean up reject files after copying target/linux/*/files to the kernel tree
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-04-03 18:37:30 +00:00
Felix Fietkau 91958baf87 fix quilt apply for packages that change STAMP_*
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9531 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-11-10 22:51:02 +00:00
Felix Fietkau ceb283be2a fix accidental double slash in prefixed quilt patchsets
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-07 00:16:50 +00:00
Felix Fietkau 9e8d16ab3f fix quilt patch check
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-04 17:58:12 +00:00
Felix Fietkau 64722c42b5 separate series file fixup from quilt check to avoid series file breakages after fixing a broken patch stack with quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-04 15:32:55 +00:00
Tim Yardley 619ab61b95 fix quilt integration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-10-02 21:54:22 +00:00
Felix Fietkau 8a6e77c006 fixes for refresh/update handling
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 04:29:11 +00:00
Felix Fietkau 19e38ca2d4 move a stampfile to make it easier to override the patch template
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 03:39:57 +00:00
Felix Fietkau 6e3b88381a refactor quilt patching code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 03:28:03 +00:00
Felix Fietkau ccff8348de proper series file support for regular packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-29 00:25:38 +00:00
Felix Fietkau 499485004b some minor fixes, cleanups, package build abstraction
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-28 01:23:56 +00:00
Felix Fietkau 8e682d617b fix spontaneous rebuilds caused by make package/<name>/update with quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-20 16:17:50 +00:00
Felix Fietkau 92babe74a0 fix custom series files in kernel patch directories
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-10 23:01:45 +00:00
Felix Fietkau f22594c434 fix kernel build with quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-10 04:21:21 +00:00
Felix Fietkau beaa7e3c37 allow the kernel to provide own series files for specific subdirs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-08-30 21:11:17 +00:00
Felix Fietkau 7f5129c7d9 next round of build system cleanup - convert package/ to new structure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-30 18:22:01 +00:00
Felix Fietkau 2d1d4476c6 fail in .quilt_patched when there were patches that didn't apply
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8024 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18 07:28:31 +00:00
Peter Denison 0cab184232 cope with QUILT=1 when there are no patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8022 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-17 20:05:08 +00:00
Felix Fietkau 5675353c3a clean up some leftover junk
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-13 08:33:20 +00:00
Felix Fietkau d6c65088f3 fix unwanted automatic package cleaning when using quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-13 07:17:17 +00:00
Felix Fietkau 10802e0b00 allow packages to override the patch directory using the PATCH_DIR variable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-28 07:14:22 +00:00
Felix Fietkau 7e119ed006 make sure quilt starts with the correct patch order in series
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7658 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-18 00:11:27 +00:00
Felix Fietkau f46b6a0195 prepare for the transition to linux 2.6.22 - make it possible to override the kernel version in the target makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-16 01:56:04 +00:00
Felix Fietkau 7e1d618fd8 force build of packages when using quilt
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-08 19:01:55 +00:00
Felix Fietkau 80d2beea9d Rename 'refresh' to 'update' and make the new 'refresh' actually refresh all the patches.
Also added a target package/refresh which will do this to all packages in the buildroot


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-04 11:14:08 +00:00
Felix Fietkau e9531fed6e more fixes for the patching stuff (was testing it on the wrong target)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7483 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 19:52:54 +00:00
Felix Fietkau 09bf6dec79 fix quilt related unpack/patch error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 19:39:34 +00:00
Felix Fietkau 773d1fc4f6 implement quilt handling for the kernel tree ... and there was much rejoicing!
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 08:28:05 +00:00
Felix Fietkau 84c301cf9a enable quilt for host builds and add some additional checks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 07:33:00 +00:00
Felix Fietkau 2ded298669 Improve quilt patch handling: All quilt managed patches are checked before the package compile is attempted
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7472 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 06:54:46 +00:00
Felix Fietkau 414e3ef71a Add quilt integration for packages
make package/<package>-prepare QUILT=1 will apply all patches using quilt
Autorebuild will be disabled, so that you can edit all patches in the build dir.
When you're done editing patches and everything works, you can call:
make package/<package>-refresh
That will copy the updated patches from quilt into package/<package>/patches,
and remove all old patches.
Before the patches are overwritten, the correct order of the patches is verified
('cat series' is compared against 'sort series').


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-03 06:16:08 +00:00