summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Gilbert <greg@treke.net>2004-11-23 05:42:49 +0000
committerGreg Gilbert <greg@treke.net>2004-11-23 05:42:49 +0000
commit1380eec08305c8c375e9c29b1486959210cd7c8d (patch)
tree643185686d5c60d9687a300f0bfaa68530549448
parentdc5ac16915bbd67a7467153f9e555b65416ebc57 (diff)
openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe:
openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe: Set ENABLE_SYSREQ="yes" to enable using the home button as a sysreq key BKrev: 41a2cdd9kb3a8I1weT-BvX8HNivkkg
-rw-r--r--linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe8
1 files changed, 7 insertions, 1 deletions
diff --git a/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe b/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe
index 556af61d30..fa105d3f4b 100644
--- a/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe
+++ b/linux/openzaurus-pxa_2.4.18-rmk7-pxa3-embedix20031107.oe
@@ -27,7 +27,7 @@ SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2 \
file://sharpsl_battery.patch;patch=1 \
file://irda-qos.patch;patch=1 \
file://buffered-fbmem.patch;patch=1 \
- file://enable-sysrq.patch;patch=1 \
+ ${@get_sysreq_setting(oe, d)} \
file://compile.patch;patch=1 \
file://idecs.patch;patch=1 \
file://logo.patch;patch=1 \
@@ -43,6 +43,12 @@ SRC_URI = "ftp://ftp.kernel.org/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2 \
file://1764-1.patch;patch=1 \
file://module_licence.patch;patch=1 \
file://defconfig-${MACHINE}"
+
+def get_sysreq_setting(oe, d):
+ if oe.data.getVar('ENABLE_SYSREQ', d, 1) in [ 'yes' ]:
+ return "file://enable-sysrq.patch;patch=1 "
+ return ""
+
SRC_URI_append_poodle += " file://smallfonts.diff;patch=1"
# apply this when we have a kernel that builds with gcc 3.x:
# SRC_URI_append = file://machtune-args.patch;patch=1