Skip to content

Commit

Permalink
rules: fix github archive download
Browse files Browse the repository at this point in the history
  • Loading branch information
tsl0922 committed Oct 11, 2023
1 parent 79bb5e8 commit 8775a84
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion trunk/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ stamp-h1
/download
/romfs
/images
/stage
/stage
/tmp
2 changes: 1 addition & 1 deletion trunk/include/download.mk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

ifdef PKG_SOURCE_VERSION
ifndef PKG_VERSION
PKG_VERSION := $(if $(PKG_SOURCE_DATE),$(PKG_SOURCE_DATE)-)$(call version_abbrev,$(PKG_SOURCE_VERSION))
PKG_VERSION := $(if $(PKG_SOURCE_DATE),$(PKG_SOURCE_DATE)-)$(shell printf '%.8s' $(PKG_SOURCE_VERSION))
endif
PKG_SOURCE_SUBDIR ?= $(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE ?= $(PKG_SOURCE_SUBDIR).tar.xz
Expand Down
1 change: 1 addition & 0 deletions trunk/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ TOOLCHAIN_DIR=$(CONFIG_CROSS_COMPILER_ROOT)
PKG_CONFIG_LIBDIR=$(STAGING_DIR)/lib/pkgconfig:$(STAGING_DIR)/share/pkgconfig

export TOPDIR PKG_CONFIG_LIBDIR
export TMP_DIR:=$(TOPDIR)/tmp

CP:=cp -fpR
LN:=ln -sf
Expand Down

0 comments on commit 8775a84

Please sign in to comment.