diff options
Diffstat (limited to 'recipes/ksymoops')
-rw-r--r-- | recipes/ksymoops/ksymoops-2.4.9/flags.patch | 55 | ||||
-rw-r--r-- | recipes/ksymoops/ksymoops_2.4.9.bb | 15 |
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 +} |