source: branches/contrib/openwrt/patches/all/031.set_kernel_version.DISABLED @ 349

Last change on this file since 349 was 349, checked in by ehem, 10 years ago

Rework the openwrt/patch target. Instead of patching with a hand-rolled
list of patches, scan the appropriate directories for patch files. Patch
filenames now MUST match the pattern [0-9]+(-[0-9]*:[0-9]*)_<name>. The
lead digits specify order of application, lower numbers are applied
first. If present, the two subsequent numbers indicate a range of
Subversion revisions that a given patch applies to. If a number is
absent, the range is interpreted to include all older revisions or all
newer revisions as appropriate.

Adjust openwrt/unpatch target to match (patches are now removed in
reverse order). Adjust the generate script to match.

File size: 398 bytes
Line 
1--- include/target.mk.org       2010-01-09 13:31:26.122174490 +0100
2+++ include/target.mk   2010-01-09 13:30:59.542175216 +0100
3@@ -8,6 +8,11 @@
4 ifneq ($(__target_inc),1)
5 __target_inc=1
6 
7+USE_DEFAULT_KERNEL:=$(call qstrip,$(CONFIG_DEBWRT_KERNEL_DEFAULT))
8+ifneq ($(USE_DEFAULT_KERNEL),y)
9+    LINUX_VERSION:=$(call qstrip,$(DEBWRT_KERNEL_VERSION))
10+endif
11+
12 # default device type
13 DEVICE_TYPE?=router
14 
Note: See TracBrowser for help on using the repository browser.