summaryrefslogtreecommitdiff
path: root/recipes/ksymoops
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/ksymoops
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
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/ksymoops')
-rw-r--r--recipes/ksymoops/ksymoops-2.4.9/flags.patch55
-rw-r--r--recipes/ksymoops/ksymoops_2.4.9.bb15
2 files changed, 70 insertions, 0 deletions
diff --git a/recipes/ksymoops/ksymoops-2.4.9/flags.patch b/recipes/ksymoops/ksymoops-2.4.9/flags.patch
new file mode 100644
index 0000000000..27e4dda923
--- /dev/null
+++ b/recipes/ksymoops/ksymoops-2.4.9/flags.patch
@@ -0,0 +1,55 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- ksymoops-2.4.9/Makefile~flags
++++ ksymoops-2.4.9/Makefile
+@@ -57,36 +57,36 @@
+ PROGS := ksymoops
+
+ CC := gcc
+-CFLAGS += -Dlinux \
+- -Wall \
++CFLAGS = "-Wall \
+ -Wno-conversion \
+ -Waggregate-return \
+ -Wstrict-prototypes \
+ -Wmissing-prototypes \
++ $(DEBUG)"
++override CFLAGS += -Dlinux \
+ -DINSTALL_PREFIX="\"$(INSTALL_PREFIX)\"" \
+- -DCROSS="\"$(CROSS)\"" \
+- $(DEBUG)
++ -DCROSS="\"$(CROSS)\""
+
+ ifneq ($(DEF_VMLINUX),)
+- CFLAGS += -DDEF_VMLINUX=$(DEF_VMLINUX)
++ override CFLAGS += -DDEF_VMLINUX=$(DEF_VMLINUX)
+ endif
+ ifneq ($(DEF_KSYMS),)
+- CFLAGS += -DDEF_KSYMS=$(DEF_KSYMS)
++ override CFLAGS += -DDEF_KSYMS=$(DEF_KSYMS)
+ endif
+ ifneq ($(DEF_LSMOD),)
+- CFLAGS += -DDEF_LSMOD=$(DEF_LSMOD)
++ override CFLAGS += -DDEF_LSMOD=$(DEF_LSMOD)
+ endif
+ ifneq ($(DEF_OBJECTS),)
+- CFLAGS += -DDEF_OBJECTS=$(DEF_OBJECTS)
++ override CFLAGS += -DDEF_OBJECTS=$(DEF_OBJECTS)
+ endif
+ ifneq ($(DEF_MAP),)
+- CFLAGS += -DDEF_MAP=$(DEF_MAP)
++ override CFLAGS += -DDEF_MAP=$(DEF_MAP)
+ endif
+ ifneq ($(DEF_TARGET),)
+- CFLAGS += -DDEF_TARGET=$(DEF_TARGET)
++ override CFLAGS += -DDEF_TARGET=$(DEF_TARGET)
+ endif
+ ifneq ($(DEF_ARCH),)
+- CFLAGS += -DDEF_ARCH=$(DEF_ARCH)
++ override CFLAGS += -DDEF_ARCH=$(DEF_ARCH)
+ endif
+ ifneq ($(BFD_PREFIX),)
+ CFLAGS += -I$(BFD_PREFIX)/include
diff --git a/recipes/ksymoops/ksymoops_2.4.9.bb b/recipes/ksymoops/ksymoops_2.4.9.bb
new file mode 100644
index 0000000000..0ce64596fe
--- /dev/null
+++ b/recipes/ksymoops/ksymoops_2.4.9.bb
@@ -0,0 +1,15 @@
+SECTION = "console/utils"
+DESCRIPTION = "Kernel oops and error message decoder."
+LICENSE = "GPLv2"
+DEPENDS = "binutils"
+
+SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/ksymoops/v2.4/ksymoops-${PV}.tar.bz2 \
+ file://flags.patch;patch=1"
+S = "${WORKDIR}/ksymoops-${PV}"
+
+do_install () {
+ install -d ${D}${bindir}
+ install -m 0755 ksymoops ${D}${bindir}/ksymoops
+ install -d ${D}${mandir}/man8
+ install -m 0755 ksymoops.8 ${D}${mandir}/man8/ksymoops.8
+}