summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBoris Pek <tehnick-8@yandex.ru>2017-03-14 21:04:48 (GMT)
committerBoris Pek <tehnick-8@yandex.ru>2017-03-14 21:04:48 (GMT)
commit3d45f5a57f0aab9c100f761f5ed0b6421b04e9e3 (patch)
tree29506709f40530f22e89b2ea2616f16b2696d95d
parentb53199944f321dffc9cd2aeeddad5cf89ec6981f (diff)
downloadmxe-3d45f5a57f0aab9c100f761f5ed0b6421b04e9e3.zip
mxe-3d45f5a57f0aab9c100f761f5ed0b6421b04e9e3.tar.gz
mxe-3d45f5a57f0aab9c100f761f5ed0b6421b04e9e3.tar.bz2
qca: small improvements
-rw-r--r--src/qca.mk12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/qca.mk b/src/qca.mk
index 00e2f22..00ac124 100644
--- a/src/qca.mk
+++ b/src/qca.mk
@@ -18,14 +18,12 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
- mkdir '$(1).build'
- cd '$(1).build' && $(TARGET)-cmake '$(1)' \
+ cd '$(BUILD_DIR)' && $(TARGET)-cmake '$(SOURCE_DIR)' \
-DBUILD_TESTS=OFF \
-DBUILD_TOOLS=OFF \
-DUSE_RELATIVE_PATHS=OFF \
- -DBUILD_PLUGINS="auto"
- -DBUILD_STATIC_LIBS=$(CMAKE_STATIC_BOOL) \
- -DBUILD_SHARED_LIBS=$(CMAKE_SHARED_BOOL)
- $(MAKE) -C '$(1).build' -j '$(JOBS)'
- $(MAKE) -C '$(1).build' -j 1 install
+ -DBUILD_PLUGINS="auto" \
+ -DQCA_MAN_INSTALL_DIR="$(BUILD_DIR)/null"
+ $(MAKE) -C '$(BUILD_DIR)' -j $(JOBS)
+ $(MAKE) -C '$(BUILD_DIR)' -j 1 install
endef