diff options
| author | Eric Le Bihan <eric.le.bihan.dev@free.fr> | 2018-02-04 19:07:45 +0100 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2018-02-05 14:57:48 +0100 |
| commit | 31847c297d412f1e97d51d6d1526d2bfab6031ae (patch) | |
| tree | 723369d8cb1c4a988d7f92cf1e513ead3a0483dc | |
| parent | 93a911fd5b14536e5c32298f0aa264c285015bcd (diff) | |
| download | buildroot-31847c297d412f1e97d51d6d1526d2bfab6031ae.tar.gz buildroot-31847c297d412f1e97d51d6d1526d2bfab6031ae.zip | |
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>
| -rw-r--r-- | package/libhttpparser/libhttpparser.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/package/libhttpparser/libhttpparser.mk b/package/libhttpparser/libhttpparser.mk index 8ff0413322..1df26017e7 100644 --- a/package/libhttpparser/libhttpparser.mk +++ b/package/libhttpparser/libhttpparser.mk @@ -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)) |

