]> git.plutz.net Git - blast/blobdiff - modules/approx.mk
enable config selection, enable release switch
[blast] / modules / approx.mk
index ca3f34ad01820ad648a7acb41f0ce95c77422aa3..8e4fd78f4e9a40f0f8a08c24fb8d41c39f133e38 100644 (file)
@@ -4,22 +4,20 @@ 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
+  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
+  deb http://localhost/debian ${release} main
   endef
 endif