ninja: remove ninja-cmake.mk
authorRosen Penev <rosenp@gmail.com>
Fri, 11 Jun 2021 03:21:32 +0000 (20:21 -0700)
committerRosen Penev <rosenp@gmail.com>
Sun, 13 Jun 2021 04:05:09 +0000 (21:05 -0700)
Useless now that stock cmake.mk uses ninja.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
devel/ninja/ninja-cmake.mk [deleted file]

diff --git a/devel/ninja/ninja-cmake.mk b/devel/ninja/ninja-cmake.mk
deleted file mode 100644 (file)
index 89ae72e..0000000
+++ /dev/null
@@ -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