- hide atmel target if arch is not arm nor avr32
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 7 Jun 2007 10:48:01 +0000 (10:48 -0000)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Thu, 7 Jun 2007 10:48:01 +0000 (10:48 -0000)
target/device/Atmel/Config.in

index e1f1dfb4e4c66f24d838aba3c0d4cd34ff9b9d01..28ab8f08da221d085b2778078f4283654a742de6 100644 (file)
@@ -1,5 +1,9 @@
-menu "Atmel Target"
+menuconfig BR2_TARGET_ATMEL
+       bool "Atmel Target"
+       depends on BR2_arm || BR2_avr32
+       default n
 
+if BR2_TARGET_ATMEL
 comment "Add Atmel Target here"
 
-endmenu
+endif