From c680ae3e95e08dfe539a2771153a2c3aa928d08f Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 22 Oct 2014 17:43:46 -0400 Subject: build, source.mk: New files --- diff --git a/build b/build new file mode 100755 index 0000000..2a40656 --- /dev/null +++ b/build @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +include ../source.mk + +nop: + @: diff --git a/source.mk b/source.mk new file mode 100644 index 0000000..45968a1 --- /dev/null +++ b/source.mk @@ -0,0 +1,10 @@ +upstream_commit = $$(printf '%s\n' '$(OPK_SOURCE_VERSION_UPSTREAM)' | \ + sed 's/^.*~git........~\([0-9a-f]*\).*$$/\1/') +upstream_url_base = https://github.com/qca/open-ath9k-htc-firmware +upstream_url = $(upstream_url_base)/archive/$(upstream_commit).tar.gz +source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.gz + +$(source_archive): + wget -O '$@' "$(upstream_url)" + +source: $(source_archive) -- cgit v0.9.1