Browse Source

ninja: remove ninja-cmake.mk

Useless now that stock cmake.mk uses ninja.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
f08eb8552c
1 changed files with 0 additions and 25 deletions
  1. +0
    -25
      devel/ninja/ninja-cmake.mk

+ 0
- 25
devel/ninja/ninja-cmake.mk View File

@ -1,25 +0,0 @@
include $(INCLUDE_DIR)/cmake.mk
include ../../devel/ninja/ninja.mk
CMAKE_HOST_OPTIONS += -DCMAKE_GENERATOR="Ninja"
CMAKE_OPTIONS += -DCMAKE_GENERATOR="Ninja"
define Host/Compile/Default
$(call Ninja,-C $(HOST_BUILD_DIR)/$(CMAKE_BINARY_SUBDIR) $(1),)
endef
define Host/Install/Default
$(call Ninja,-C $(HOST_BUILD_DIR)/$(CMAKE_BINARY_SUBDIR) install,)
endef
define Host/Uninstall/Default
-$(call Ninja,-C $(HOST_BUILD_DIR)/$(CMAKE_BINARY_SUBDIR) uninstall,)
endef
define Build/Compile/Default
$(call Ninja,-C $(PKG_BUILD_DIR)/$(CMAKE_BINARY_SUBDIR) $(1),)
endef
define Build/Install/Default
$(call Ninja,-C $(PKG_BUILD_DIR)/$(CMAKE_BINARY_SUBDIR) install,DESTDIR="$(PKG_INSTALL_DIR)")
endef

Loading…
Cancel
Save