1 ################################################################################
5 ################################################################################
7 JSMN_VERSION
= 6021415cc75e7922d45b12935f56348b064d8a7f
8 JSMN_SITE
= $(call github
,zserge
,jsmn
,$(JSMN_VERSION
))
10 JSMN_LICENSE_FILES
= LICENSE
12 JSMN_INSTALL_STAGING
= YES
13 JSMN_INSTALL_TARGET
= NO
15 define JSMN_BUILD_CMDS
16 $(TARGET_MAKE_ENV
) $(MAKE
) $(TARGET_CONFIGURE_OPTS
) -C
$(@D
)
19 define JSMN_INSTALL_STAGING_CMDS
20 $(INSTALL
) -D
-m
0644 $(@D
)/libjsmn.a
$(STAGING_DIR
)/usr
/lib
/libjsmn.a
21 $(INSTALL
) -D
-m
0644 $(@D
)/jsmn.h
$(STAGING_DIR
)/usr
/include/jsmn.h
24 $(eval
$(generic-package
))