]> git.plutz.net Git - blast/blobdiff - modules/approx.mk
enable config selection, enable release switch
[blast] / modules / approx.mk
index c8ed445096bc2cf8c5397dabd472e258b614692e..8e4fd78f4e9a40f0f8a08c24fb8d41c39f133e38 100644 (file)
@@ -4,27 +4,21 @@ endef
 export approx_original_sources
 
 ifdef approx
-
-BOOTSTRAP := ${approx}
-define SOURCES =
-deb ${approx} stretch main
-endef
-
+  BOOTSTRAP := ${approx}
+  define SOURCES =
+  deb ${approx} ${release} main
+  endef
 else ifdef raspi
-
-BOOTSTRAP := http://localhost/raspbian
-define SOURCES =
-deb http://localhost/raspbian stretch main non-free firmware rpi
-deb http://localhost/rpidebian stretch main
-endef
-
+  BOOTSTRAP := http://localhost/raspbian
+  define SOURCES :=
+  deb http://localhost/raspbian ${release} main non-free firmware rpi
+  deb http://localhost/rpidebian ${release} main
+  endef
 else
-
-BOOTSTRAP := http://localhost/debian
-define SOURCES =
-deb http://localhost/debian stretch main
-endef
-
+  BOOTSTRAP := http://localhost/debian
+  define SOURCES :=
+  deb http://localhost/debian ${release} main
+  endef
 endif
 
 .PHONY: _approx_restore_sources