Skip to content
Snippets Groups Projects
Verified Commit dc439775 authored by Karel Koci's avatar Karel Koci :metal:
Browse files

autopkg: fix paths used to include common parts of scripts

parent 492aff7a
No related merge requests found
# Autopkg tracking given branch
AUTOPKG_VARIANT:=branch
include $(TOPDIR)/feeds/personal/autopkg-head.mk
include $(INCLUDE_DIR)/autopkg-head.mk
ifndef PKG_SOURCE_BRANCH
$(error You have to define PKG_SOURCE_BRANCH before pkgauto.mk include)
......@@ -21,4 +21,4 @@ PKG_RELEASE:=$(shell git $(GIT_ARGS) rev-list --count "$(PKG_VERSION)..$(PKG_SOU
PKG_VERSION:=$(PKG_VERSION:v%=%).9999
endif
include $(TOPDIR)/feeds/personal/autopkg-tail.mk
include $(INCLUDE_DIR)/autopkg-tail.mk
# Autopkg tracking latest version tag
AUTOPKG_VARIANT:=tag
include $(TOPDIR)/feeds/personal/autopkg-head.mk
include $(INCLUDE_DIR)/autopkg-head.mk
ifeq ($(PKG_SOURCE_ALL_TAGS),y)
PKG_SOURCE_VERSION:=$(shell git $(GIT_ARGS) tag | sort -V | tail -1)
......@@ -10,4 +10,4 @@ PKG_SOURCE_VERSION:=$(shell git $(GIT_ARGS) tag | grep '^v' | sort -V | tail -1)
PKG_VERSION:=$(subst v%,%,$(PKG_SOURCE_VERSION))
endif
include $(TOPDIR)/feeds/personal/autopkg-tail.mk
include $(INCLUDE_DIR)/autopkg-tail.mk
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment