diff options
-rwxr-xr-x | build | 2 | ||||
-rw-r--r-- | source.mk | 16 |
2 files changed, 0 insertions, 18 deletions
@@ -1,7 +1,5 @@ #!/usr/bin/make -f -include ../source.mk - configs = internal nop: diff --git a/source.mk b/source.mk deleted file mode 100644 index 3b074df..0000000 --- a/source.mk +++ /dev/null @@ -1,16 +0,0 @@ -upstream_svn_uri = svn://flashrom.org/flashrom/trunk -upstream_svn_rev = $$(printf '%s\n' '$(OPK_SOURCE_VERSION_UPSTREAM)' | \ - sed 's/^.*[~+]r\([0-9][0-9]*\).*$$/\1/') -upstream_releasename = $$(printf '%s\n' '$(OPK_SOURCE_VERSION_UPSTREAM)' | \ - sed 's/[~+]r/-r/') -source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.bz2 - -$(source_archive): - svn co -r "$(upstream_svn_rev)" "$(upstream_svn_uri)" flashrom - (cd flashrom && make export) - (cd flashrom && tar -cjf '../$(@)' "flashrom-$(upstream_releasename)") - rm -Rf src - mv "flashrom/flashrom-$(upstream_releasename)" src - rm -Rf flashrom - -source: $(source_archive) |