]> git.mdlowis.com Git - proto/albase.git/commitdiff
Added task to build a stage 1 tarball from the build
authorMike Lowis <mike.lowis@gentex.com>
Wed, 18 May 2016 20:31:42 +0000 (16:31 -0400)
committerMike Lowis <mike.lowis@gentex.com>
Wed, 18 May 2016 20:31:42 +0000 (16:31 -0400)
Makefile
source/kernel/config [new symlink]

index 9470fba6774b2635114117388018ff6beefc195e..0bb34277b7a9cb50d21ba9d8fe654684f56a395d 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -56,15 +56,20 @@ include source/smdev/Rules.mk
 include source/sdhcp/Rules.mk
 include source/iproute2/Rules.mk
 include source/curl/Rules.mk
+include etc/Rules.mk
 
 .PHONY: all headers $(PHONY)
 
 all: $(PHONY)
 
+stage1: all
+       cd $(BUILDDIR) && tar -cJf ../stage1.tar.xz . --exclude obj --exclude dummy
+
 clean:
        @echo cleaning
        @$(RM) $(BUILDDIR)/dummy $(ECLEAN)
        @$(RM) -r $(BUILDDIR)/include
+       @$(RM) stage1.tar.xz
 
 # load dependency files if they exist
 -include $(DEPS)
diff --git a/source/kernel/config b/source/kernel/config
new file mode 120000 (symlink)
index 0000000..2ec2572
--- /dev/null
@@ -0,0 +1 @@
+.config
\ No newline at end of file