From 071895afa07f5c5eb29890b8c530fe39edd419d4 Mon Sep 17 00:00:00 2001 From: Alek Du Date: Wed, 21 May 2008 13:47:13 +0800 Subject: * add make targz function, that's easy for later on build process with RPM spec file --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3