22212f15e4
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>
23 lines
707 B
Makefile
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))
|