Live - DSL: Damn Small Linux Makefile changes
authorJohn 'Warthog9' Hawley <warthog9@eaglescrag.net>
Thu, 1 Oct 2009 00:52:09 +0000 (17:52 -0700)
committerJohn 'Warthog9' Hawley <warthog9@eaglescrag.net>
Thu, 1 Oct 2009 00:52:09 +0000 (17:52 -0700)
Again more boilerplate Makefile setups same as all the other Live images

bko/live/dsl/.gitignore [new file with mode: 0644]
bko/live/dsl/Makefile [new file with mode: 0644]
bko/live/dsl/dsl.bko.tmpl
bko/live/dsl/make-conf [new symlink]
bko/live/dsl/make-urls [new symlink]
bko/live/dsl/urls [new file with mode: 0644]

diff --git a/bko/live/dsl/.gitignore b/bko/live/dsl/.gitignore
new file mode 100644 (file)
index 0000000..fee9217
--- /dev/null
@@ -0,0 +1 @@
+*.conf
diff --git a/bko/live/dsl/Makefile b/bko/live/dsl/Makefile
new file mode 100644 (file)
index 0000000..dda725e
--- /dev/null
@@ -0,0 +1,26 @@
+SHELL = /bin/bash
+
+#.SILENT:
+
+ifdef BKO_CONFIG
+include $(BKO_CONFIG)
+NEWCONFIG="../$(CONFIG)"
+else
+NEWCONFIG=""
+endif
+
+all: make_statement configfile
+
+make_statement:
+       echo "--> Generating DSL"
+
+configfile: $(DIRS) dsl.conf
+dsl.conf: dsl.bko.tmpl urls
+       ./make-conf dsl ../../../config
+
+urls: make_statement
+       ./make-urls
+
+clean: make_statement $(patsubst %,%.clean,$(DIRS))
+       -rm -rf *.conf
+
index c5400c0..6984ef1 100644 (file)
@@ -22,7 +22,7 @@ LABEL dsl-http-localhost
        Boots DSL, small linux distribution
        It has GUI and mostly needed tools
     ENDTEXT
-       KERNEL live/dsl/linux24 httpfs=P_ISO_LOCATION_LOCAL/dsl.iso
+       KERNEL live/dsl/linux24 httpfs=@DSL_HTTPFS_ISO@
        APPEND ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=791 initrd=live/dsl/minirt24.gz nomce noapic BOOT_IMAGE=knoppix
     IPAPPEND 1
 
diff --git a/bko/live/dsl/make-conf b/bko/live/dsl/make-conf
new file mode 120000 (symlink)
index 0000000..c39dfe0
--- /dev/null
@@ -0,0 +1 @@
+../../../install_help/make-conf
\ No newline at end of file
diff --git a/bko/live/dsl/make-urls b/bko/live/dsl/make-urls
new file mode 120000 (symlink)
index 0000000..3782855
--- /dev/null
@@ -0,0 +1 @@
+../../../install_help/make-urls
\ No newline at end of file
diff --git a/bko/live/dsl/urls b/bko/live/dsl/urls
new file mode 100644 (file)
index 0000000..8f0bbba
--- /dev/null
@@ -0,0 +1 @@
+DSL_HTTPFS_ISO=http://rom.etherboot.org/share/pravin/ISO/dsl.iso