summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlek Du <alek.du@intel.com>2008-05-21 17:14:25 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 20:22:36 -0700
commit6aaa90bb5e6275474fb74bfc6c9d9a4649bb2655 (patch)
treeb5171705420002ee815295fb5170b625cd9b7660
parent071895afa07f5c5eb29890b8c530fe39edd419d4 (diff)
downloadbootstub-6aaa90bb5e6275474fb74bfc6c9d9a4649bb2655.tar.gz
* Add version file
-rw-r--r--Makefile6
-rw-r--r--VERSION1
2 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 0b508a2..58625ce 100644
--- a/Makefile
+++ b/Makefile
@@ -20,9 +20,7 @@ head.o:head.S
clean:
rm -rf *.o *.bin *.elf
-targz:bootstub.tar.gz
-
-bootstub.tar.gz:bootstub.c head.S
- git-archive --prefix=bootstub/ --format=tar HEAD | gzip -c > bootstub.tar.gz
+targz:bootstub.c head.S VERSION
+ git-archive --prefix=bootstub-`head -n 1 VERSION | awk '{print $$1}'`/ --format=tar HEAD | gzip -c > bootstub-`head -n 1 VERSION | awk '{print $$1}'`.tar.gz
.PHONY: all clean targz
diff --git a/VERSION b/VERSION
new file mode 100644
index 0000000..a62568b
--- /dev/null
+++ b/VERSION
@@ -0,0 +1 @@
+0.1 Initial bootstub version for power on. May 21, 2008