summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAlek Du <alek.du@intel.com>2008-05-21 13:47:13 +0800
committerPatrick Tjin <pattjin@google.com>2014-07-21 20:22:36 -0700
commit071895afa07f5c5eb29890b8c530fe39edd419d4 (patch)
treece5a938cae2fd0d13786b0824f7b085c6cd84e10 /Makefile
parentb379eef67dee68c84b67518aefacb87df3ca914c (diff)
downloadbootstub-071895afa07f5c5eb29890b8c530fe39edd419d4.tar.gz
* add make targz function, that's easy for later on build process with RPM spec file
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e296897..0b508a2 100644
--- a/Makefile
+++ b/Makefile
@@ -20,4 +20,9 @@ head.o:head.S
clean:
rm -rf *.o *.bin *.elf
-.PHONY: all clean
+targz:bootstub.tar.gz
+
+bootstub.tar.gz:bootstub.c head.S
+ git-archive --prefix=bootstub/ --format=tar HEAD | gzip -c > bootstub.tar.gz
+
+.PHONY: all clean targz