fixes module-branch
[build.git] / planetlab.mk
index 355072c..a2f679a 100644 (file)
@@ -223,17 +223,21 @@ IN_BOOTSTRAPFS += iproute
 #
 # vsys
 #
-vsys-MODULES := vsys
-vsys-SPEC := vsys.spec
-ifeq "$(DISTRONAME)" "f7"
-IN_BOOTSTRAPFS += vsys
-ALL += vsys
+vsys_support=yes
+ifeq "$(DISTRONAME)" "fc4"
+vsys_support=
 endif
-ifeq "$(DISTRONAME)" "f8"
-IN_BOOTSTRAPFS += vsys
-ALL += vsys
+ifeq "$(DISTRONAME)" "fc6"
+vsys_support=
 endif
+# cannot find the required packages (see devel.pkgs) on centos5
 ifeq "$(DISTRONAME)" "centos5"
+vsys_support=
+endif
+
+ifeq "$(vsys_support)" "yes"
+vsys-MODULES := vsys
+vsys-SPEC := vsys.spec
 IN_BOOTSTRAPFS += vsys
 ALL += vsys
 endif