kumquat-buildroot/package/emlog/emlog.mk
Joris Lijssens 6c95124b96 emlog: new package
[Thomas:
 - update to the latest github version, which has a number of
   fixes/improvements compared to the latest tag.
 - add a patch to fix the build of the kernel module with recent
   kernel versions (>= 3.19).
 - use $(INSTALL) -D with a full destination path.
 - rewrap Config.in help text, lines were too long.]

Signed-off-by: Joris Lijssens <joris.lijssens@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-12-22 17:58:55 +01:00

24 lines
660 B
Makefile

################################################################################
#
# emlog
#
################################################################################
EMLOG_VERSION = bd32494ad757c3d37469877aaf99ced3ee6ca3f8
EMLOG_SITE = $(call github,nicupavel,emlog,$(EMLOG_VERSION))
EMLOG_DEPENDENCIES = linux
EMLOG_LICENSE = GPLv2
EMLOG_LICENSE_FILES = COPYING
define EMLOG_BUILD_CMDS
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) nbcat
endef
# make install tries to strip, so install manually.
define EMLOG_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/nbcat $(TARGET_DIR)/usr/bin/nbcat
endef
$(eval $(kernel-module))
$(eval $(generic-package))