[package] ppp: prevent duplicate hotplug for non uci managed ppp interfaces (#9275)
[openwrt.git] / toolchain / gcc / Config.version
index 26081b99370a064ae6ca93ad81798ad012259973..14712d949b271568d8e382f0b58cc68a93bd3c8a 100644 (file)
@@ -1,3 +1,25 @@
+config GCC_DEFAULT_VERSION
+       bool
+
+config GCC_DEFAULT_VERSION_4_3_3_CS
+       select GCC_DEFAULT_VERSION
+       bool
+
+config GCC_DEFAULT_VERSION_4_3_5
+       select GCC_DEFAULT_VERSION
+       default y if (avr32 || powerpc64 || TARGET_coldfire || TARGET_etrax)
+       bool
+
+config GCC_DEFAULT_VERSION_4_4_5
+       select GCC_DEFAULT_VERSION
+       default y if (powerpc || ubicom32)
+       bool
+
+config GCC_DEFAULT_VERSION_LINARO
+       default y if !(GCC_DEFAULT_VERSION)
+       bool
+
+
 config GCC_VERSION
        string
        default "4.3.3+cs"  if GCC_VERSION_4_3_3_CS
@@ -27,23 +49,20 @@ config GCC_VERSION_4_5
 if !TOOLCHAINOPTS
 
        config GCC_VERSION_4_3_3_CS
-               default y if (mips || mipsel) && !(TARGET_octeon || TARGET_sibyte)
-               default y if (arm || armeb) && !(TARGET_gemini || TARGET_cns21xx || TARGET_omap35xx)
+               default y if GCC_DEFAULT_VERSION_4_3_3_CS
+               bool
 
        config GCC_VERSION_4_3_5
-               default y if avr32
-               default y if powerpc64
-               default y if TARGET_etrax
-               default y if TARGET_coldfire
-               default y if TARGET_gemini
-               default y if TARGET_cns21xx
+               default y if GCC_DEFAULT_VERSION_4_3_5
+               bool
 
        config GCC_VERSION_4_4_5
-               default y if (TARGET_octeon || TARGET_sibyte || TARGET_omap35xx)
-               default y if powerpc
-               default y if ubicom32
+               default y if GCC_DEFAULT_VERSION_4_4_5
+               bool
 
        config GCC_VERSION_LINARO
-               default y
+               default y if GCC_DEFAULT_VERSION_LINARO
+               bool
+
 
 endif