diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-26 11:29:20 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-26 11:29:43 +0200 |
commit | 1d3eac1e033e3d333d29ea1f32ab9f2b1d11e3f5 (patch) | |
tree | 81c9927d7a867311e5c7f82052b252cc95623d8b /package/cmake | |
parent | f8c4bf7569c33f0520dd91bf6ce31b9558a57f8e (diff) |
add CONFIG_STYLE for cmake based packages, fixup cmake host install
Diffstat (limited to 'package/cmake')
-rw-r--r-- | package/cmake/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/package/cmake/Makefile b/package/cmake/Makefile index 8d8b14f86..2bc2fc468 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 |