diff --git a/daed-next/Makefile b/daed-next/Makefile index bf2a0a9b8..702f8411c 100644 --- a/daed-next/Makefile +++ b/daed-next/Makefile @@ -70,6 +70,8 @@ define Build/Prepare ( \ $(TAR) --strip-components=1 -C $(PKG_BUILD_DIR)/../ -xzf $(DL_DIR)/$(PKG_NAME)-$(PKG_VERSION).tar.gz ; \ rm -rf $(PKG_BUILD_DIR) && git clone https://github.com/daeuniverse/dae-wing $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)/wing ; \ + rm -rf $(PKG_BUILD_DIR)/dae-core && git clone https://github.com/daeuniverse/dae $(PKG_BUILD_DIR)/dae-core ; \ + rm -rf $(PKG_BUILD_DIR)/dae-core/control/kern/headers && git clone https://github.com/daeuniverse/dae_bpf_headers $(PKG_BUILD_DIR)/dae-core/control/kern/headers ; \ ) endef @@ -86,8 +88,6 @@ endif define Build/Compile ( \ pushd $(PKG_BUILD_DIR) ; \ - rm -rf dae-core && git clone https://github.com/daeuniverse/dae dae-core ; \ - rm -rf dae-core/control/kern/headers && git clone https://github.com/daeuniverse/dae_bpf_headers dae-core/control/kern/headers ; \ go mod tidy ; \ $(MAKE) deps ; \ $(GO_GENERAL_BUILD_CONFIG_VARS) \ @@ -95,7 +95,6 @@ define Build/Compile $(GO_PKG_BUILD_VARS) \ go generate ./... ; \ cd dae-core ; \ - go mod tidy ; \ $(GO_GENERAL_BUILD_CONFIG_VARS) \ $(GO_PKG_BUILD_CONFIG_VARS) \ $(GO_PKG_BUILD_VARS) \