kumquat-buildroot/package/sp-oops-extract/sp-oops-extract.mk
Doug Kehn 22212f15e4 package/sp-oops-extract: new package
A tool for extracting OOPS/panic logs from MTD.

Tested using arm-buildroot-linux-gnueabihf toolchain.

[Thomas:
 - use sp-oops-extract instead of sp_oops_extract as the Config.in
   prompt and in the .mk file comment
 - remove @ in front of the build and install commands.
 - use $(TARGET_CONFIGURE_OPTS) instead of manually passing CC, AR,
   LD, CFLAGS and LDFLAGS.]

Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-08-29 23:12:48 +02:00

23 lines
707 B
Makefile

################################################################################
#
# sp-oops-extract
#
################################################################################
SP_OOPS_EXTRACT_VERSION = 0.0.7-1
SP_OOPS_EXTRACT_SITE = http://repository.maemo.org/pool/maemo5.0/free/s/sp-oops-extract/
SP_OOPS_EXTRACT_SOURCE = sp-oops-extract_$(SP_OOPS_EXTRACT_VERSION).tar.gz
SP_OOPS_EXTRACT_LICENSE = GPLv2
SP_OOPS_EXTRACT_LICENSE_FILES = COPYING
define SP_OOPS_EXTRACT_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
endef
define SP_OOPS_EXTRACT_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install \
DESTDIR=$(TARGET_DIR)
endef
$(eval $(generic-package))