aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/progear
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/progear
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
downloadopenembedded-709c4d66e0b107ca606941b988bad717c0b45d9b.tar.gz
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/progear')
-rw-r--r--recipes/progear/progear-ac/paths.patch20
-rw-r--r--recipes/progear/progear-ac_0.1.bb3
-rw-r--r--recipes/progear/progear-battery/kernel-update.patch13
-rw-r--r--recipes/progear/progear-battery/paths.patch20
-rw-r--r--recipes/progear/progear-battery_0.3.bb5
-rw-r--r--recipes/progear/progear.inc19
6 files changed, 80 insertions, 0 deletions
diff --git a/recipes/progear/progear-ac/paths.patch b/recipes/progear/progear-ac/paths.patch
new file mode 100644
index 0000000000..f5ccfbae0d
--- /dev/null
+++ b/recipes/progear/progear-ac/paths.patch
@@ -0,0 +1,20 @@
+Index: progear-ac-0.1/Makefile
+===================================================================
+--- progear-ac-0.1.orig/Makefile 2007-01-04 21:58:28.000000000 +0100
++++ progear-ac-0.1/Makefile 2007-01-04 21:58:39.000000000 +0100
+@@ -2,12 +2,12 @@
+ KERNELDIR := /lib/modules/$(shell uname -r)
+
+ all :
+- $(MAKE) -C $(KERNELDIR)/build M=$(PWD) modules
++ $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
+
+ clean :
+- $(MAKE) -C $(KERNELDIR)/build M=$(PWD) clean
++ $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
+
+ install :
+- $(MAKE) INSTALL_MOD_DIR=kernel/drivers/acpi -C $(KERNELDIR)/build M=$(PWD) modules_install
++ $(MAKE) INSTALL_MOD_DIR=kernel/drivers/acpi -C $(KERNELDIR) M=$(PWD) modules_install
+ depmod -a
+
diff --git a/recipes/progear/progear-ac_0.1.bb b/recipes/progear/progear-ac_0.1.bb
new file mode 100644
index 0000000000..8a2c608746
--- /dev/null
+++ b/recipes/progear/progear-ac_0.1.bb
@@ -0,0 +1,3 @@
+require progear.inc
+
+DESCRIPTION += "AC detection support"
diff --git a/recipes/progear/progear-battery/kernel-update.patch b/recipes/progear/progear-battery/kernel-update.patch
new file mode 100644
index 0000000000..89e83aa6ef
--- /dev/null
+++ b/recipes/progear/progear-battery/kernel-update.patch
@@ -0,0 +1,13 @@
+Index: progear-battery-0.3/progear-sbs.c
+===================================================================
+--- progear-battery-0.3.orig/progear-sbs.c 2007-01-04 22:11:19.000000000 +0100
++++ progear-battery-0.3/progear-sbs.c 2007-01-04 22:11:30.000000000 +0100
+@@ -129,8 +129,6 @@
+
+ static struct i2c_driver sbs_driver =
+ {
+- .name ="Progear ACPI-SBS Interface",
+- .flags =I2C_DF_NOTIFY,
+ .attach_adapter =&sbs_attach_adapter,
+ .detach_client =&sbs_detach_client
+ };
diff --git a/recipes/progear/progear-battery/paths.patch b/recipes/progear/progear-battery/paths.patch
new file mode 100644
index 0000000000..850db7fbab
--- /dev/null
+++ b/recipes/progear/progear-battery/paths.patch
@@ -0,0 +1,20 @@
+Index: progear-battery-0.3/Makefile
+===================================================================
+--- progear-battery-0.3.orig/Makefile 2007-01-04 22:10:23.000000000 +0100
++++ progear-battery-0.3/Makefile 2007-01-04 22:10:31.000000000 +0100
+@@ -2,12 +2,12 @@
+ KERNELDIR := /lib/modules/$(shell uname -r)
+
+ all :
+- $(MAKE) -C $(KERNELDIR)/build M=$(PWD) modules
++ $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
+
+ clean :
+- $(MAKE) -C $(KERNELDIR)/build M=$(PWD) clean
++ $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
+
+ install :
+- $(MAKE) INSTALL_MOD_DIR=kernel/drivers/acpi -C $(KERNELDIR)/build M=$(PWD) modules_install
++ $(MAKE) INSTALL_MOD_DIR=kernel/drivers/acpi -C $(KERNELDIR) M=$(PWD) modules_install
+ depmod -a
+
diff --git a/recipes/progear/progear-battery_0.3.bb b/recipes/progear/progear-battery_0.3.bb
new file mode 100644
index 0000000000..65d682e43c
--- /dev/null
+++ b/recipes/progear/progear-battery_0.3.bb
@@ -0,0 +1,5 @@
+require progear.inc
+
+DESCRIPTION += "Battery support"
+
+SRC_URI += "file://kernel-update.patch;patch=1"
diff --git a/recipes/progear/progear.inc b/recipes/progear/progear.inc
new file mode 100644
index 0000000000..2dbfcdafbe
--- /dev/null
+++ b/recipes/progear/progear.inc
@@ -0,0 +1,19 @@
+DESCRIPTION = "Progear support module:"
+LICENSE = "GPL"
+SECTION = "kernel/modules"
+HOMEPAGE = "http://spe.midco.net/mschacht/LinuxOnProgear/"
+AUTHOR = "Mike Schacht <mschacht at alumni dot washington dot edu>"
+
+COMPATIBLE_MACHINE = "progear"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/progear/${PN}-${PV}.tar.gz \
+ file://paths.patch;patch=1"
+
+inherit module
+
+EXTRA_OEMAKE += "KERNELDIR=${STAGING_KERNEL_DIR}"
+
+do_install() {
+ install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/progear/
+ install -m 0644 *${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/progear/
+}