![Misha Komarovskiy](/assets/img/avatar_default.png)
This allow bootloader modification online on Tegra-targets Signed-off-by: Misha Komarovskiy <zombah@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
709 B
Makefile
25 lines
709 B
Makefile
################################################################################
|
|
#
|
|
# jsmn
|
|
#
|
|
################################################################################
|
|
|
|
JSMN_VERSION = 6021415cc75e7922d45b12935f56348b064d8a7f
|
|
JSMN_SITE = $(call github,zserge,jsmn,$(JSMN_VERSION))
|
|
JSMN_LICENSE = MIT
|
|
JSMN_LICENSE_FILES = LICENSE
|
|
# static library only
|
|
JSMN_INSTALL_STAGING = YES
|
|
JSMN_INSTALL_TARGET = NO
|
|
|
|
define JSMN_BUILD_CMDS
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
|
endef
|
|
|
|
define JSMN_INSTALL_STAGING_CMDS
|
|
$(INSTALL) -D -m 0644 $(@D)/libjsmn.a $(STAGING_DIR)/usr/lib/libjsmn.a
|
|
$(INSTALL) -D -m 0644 $(@D)/jsmn.h $(STAGING_DIR)/usr/include/jsmn.h
|
|
endef
|
|
|
|
$(eval $(generic-package))
|