libhttpparser: add host variant
Allow build of host variant of libhttpparser. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
93a911fd5b
commit
31847c297d
@ -23,4 +23,13 @@ define LIBHTTPPARSER_INSTALL_TARGET_CMDS
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) PREFIX=$(TARGET_DIR)/usr install
|
||||
endef
|
||||
|
||||
define HOST_LIBHTTPPARSER_BUILD_CMDS
|
||||
$(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) library package
|
||||
endef
|
||||
|
||||
define HOST_LIBHTTPPARSER_INSTALL_CMDS
|
||||
$(MAKE) $(HOST_CONFIGURE_OPTS) -C $(@D) PREFIX=$(HOST_DIR)/usr install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
$(eval $(host-generic-package))
|
||||
|
Loading…
Reference in New Issue
Block a user