summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2017-02-20 12:32:45 +0100
committerJo-Philipp Wich <jo@mein.io>2017-04-08 14:49:05 +0200
commit5866ff8be8ef961cf17c4469f5afb54f91570b95 (patch)
tree15ca9bff9aab2386944ad9bcec5ae0d06b830a0c
parent293c54c5677cb7db21a53df7fae0a1fd2f663b04 (diff)
downloadmtk-20170518-5866ff8be8ef961cf17c4469f5afb54f91570b95.zip
mtk-20170518-5866ff8be8ef961cf17c4469f5afb54f91570b95.tar.gz
mtk-20170518-5866ff8be8ef961cf17c4469f5afb54f91570b95.tar.bz2
libubox: fix host build on macOS
Use the defaults instead of a custom non-portable Host/Install section Signed-off-by: Felix Fietkau <nbd@nbd.name>
-rw-r--r--package/libs/libubox/Makefile7
1 files changed, 0 insertions, 7 deletions
diff --git a/package/libs/libubox/Makefile b/package/libs/libubox/Makefile
index 8eeb935..fa7107e 100644
--- a/package/libs/libubox/Makefile
+++ b/package/libs/libubox/Makefile
@@ -96,13 +96,6 @@ CMAKE_HOST_OPTIONS += \
-DBUILD_LUA=OFF \
-DBUILD_EXAMPLES=OFF \
-define Host/Install
- $(INSTALL_DIR) $(STAGING_DIR_HOST)/include/libubox
- $(INSTALL_BIN) $(HOST_BUILD_DIR)/*.h $(STAGING_DIR_HOST)/include/libubox/
- $(INSTALL_DIR) $(STAGING_DIR_HOST)/lib
- $(INSTALL_BIN) $(HOST_BUILD_DIR)/libubox.{a,so} $(STAGING_DIR_HOST)/lib/
-endef
-
$(eval $(call BuildPackage,libubox))
$(eval $(call BuildPackage,libblobmsg-json))
$(eval $(call BuildPackage,jshn))