summaryrefslogtreecommitdiff
path: root/package/cmake/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-06-26 09:29:20 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2014-06-26 09:29:43 (GMT)
commit1d3eac1e033e3d333d29ea1f32ab9f2b1d11e3f5 (patch)
tree81c9927d7a867311e5c7f82052b252cc95623d8b /package/cmake/Makefile
parentf8c4bf7569c33f0520dd91bf6ce31b9558a57f8e (diff)
add CONFIG_STYLE for cmake based packages, fixup cmake host install
Diffstat (limited to 'package/cmake/Makefile')
-rw-r--r--package/cmake/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/package/cmake/Makefile b/package/cmake/Makefile
index 8d8b14f..2bc2fc4 100644
--- a/package/cmake/Makefile
+++ b/package/cmake/Makefile
@@ -22,19 +22,17 @@ include $(ADK_TOPDIR)/mk/package.mk
$(eval $(call HOST_template,CMAKE,cmake,$(PKG_VERSION)-${PKG_RELEASE}))
HOST_STYLE:= manual
-CONFIG_STYLE:= manual
-XAKE_FLAGS+= GCC_HONOUR_COPTS=s
host-configure:
- (cd $(WRKBUILD); ./configure --prefix=/usr)
+ (cd $(WRKBUILD); ./configure --prefix=${STAGING_HOST_DIR}/usr )
host-build:
(cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
- ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET})
+ ${HOST_MAKE_FLAGS} ${HOST_ALL_TARGET}) $(MAKE_TRACE)
cmake-hostinstall:
- $(INSTALL_BIN) $(WRKBUILD)/bin/cmake \
- $(STAGING_HOST_DIR)/usr/bin
+ cd ${WRKBUILD} && env ${HOST_MAKE_ENV} ${MAKE} -f ${MAKE_FILE} \
+ ${HOST_FAKE_FLAGS} ${HOST_INSTALL_TARGET} $(MAKE_TRACE)
include ${ADK_TOPDIR}/mk/host-bottom.mk
include ${ADK_TOPDIR}/mk/pkg-bottom.mk