source: debwrt/trunk/openwrt/patches/003_set_kernel_version @ 2

Last change on this file since 2 was 2, checked in by amain, 9 years ago

Add OpenWrt checkout, patch and menuconfig.
Add general support for shell scripts and make functions
Set DebWrt RELEASE and REVISION

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.