diff options
author | Karel Kočí <karel.koci@nic.cz> | 2019-02-04 12:55:45 +0100 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2019-02-04 12:55:45 +0100 |
commit | 42042f7fb27086042a983a247a34222ead9eae82 (patch) | |
tree | 8b6080a51a26c027152cdc55418d301e0e184420 /autopkg-head.mk | |
parent | 896430931c3a1aa9607b0709163f085de3a16064 (diff) | |
download | openwrt-personal-pkgs-42042f7fb27086042a983a247a34222ead9eae82.tar.gz openwrt-personal-pkgs-42042f7fb27086042a983a247a34222ead9eae82.tar.bz2 openwrt-personal-pkgs-42042f7fb27086042a983a247a34222ead9eae82.zip |
Drop autopkg
This is now part of turris-build repository so need to have it here.
Diffstat (limited to 'autopkg-head.mk')
-rw-r--r-- | autopkg-head.mk | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/autopkg-head.mk b/autopkg-head.mk deleted file mode 100644 index a61c964..0000000 --- a/autopkg-head.mk +++ /dev/null @@ -1,21 +0,0 @@ -ifndef AUTOPKG_VARIANT - $(error "Don't include autopkg-head.mk directly!") -endif - -ifndef PKG_NAME -$(error You have to define PKG_NAME before pkgauto.mk include) -endif -ifndef PKG_SOURCE_URL -$(error You have to define PKG_SOURCE_URL before pkgauto.mk include) -endif - -TMP_REPO_PATH=$(DL_DIR)/autopkg/$(PKG_NAME) -GIT_ARGS=--git-dir='$(TMP_REPO_PATH)' --bare - -# Clone/update git history to bare repository -$(info $(shell \ - if [ ! -d "$(TMP_REPO_PATH)" ]; then \ - git clone --mirror "$(PKG_SOURCE_URL)" "$(TMP_REPO_PATH)"; \ - else \ - git $(GIT_ARGS) remote update origin; \ - fi)) |