瀏覽代碼

- hide atmel target if arch is not arm nor avr32

Bernhard Reutner-Fischer 18 年之前
父節點
當前提交
0eca4b95ed
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      target/device/Atmel/Config.in

+ 6 - 2
target/device/Atmel/Config.in

@@ -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"
 comment "Add Atmel Target here"
 
 
-endmenu
+endif