From: Rosen Penev Date: Fri, 11 Jun 2021 03:21:32 +0000 (-0700) Subject: ninja: remove ninja-cmake.mk X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=f08eb8552c6bd71124a5407fb37abe6dc4982ac3;p=feed%2Fpackages.git ninja: remove ninja-cmake.mk Useless now that stock cmake.mk uses ninja. Signed-off-by: Rosen Penev --- diff --git a/devel/ninja/ninja-cmake.mk b/devel/ninja/ninja-cmake.mk deleted file mode 100644 index 89ae72ed29..0000000000 --- a/devel/ninja/ninja-cmake.mk +++ /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