add hw menuconfig
This commit is contained in:
parent
da93430293
commit
77f086ad6c
|
@ -0,0 +1,38 @@
|
||||||
|
# Copyright (C) 2006-2013 OpenWrt.org
|
||||||
|
#
|
||||||
|
# This is free software, licensed under the GNU General Public License v2.
|
||||||
|
# See /LICENSE for more information.
|
||||||
|
#
|
||||||
|
|
||||||
|
menu "Hardward Version"
|
||||||
|
comment "Choise the board hardware version"
|
||||||
|
|
||||||
|
choice
|
||||||
|
prompt "Hardware Version"
|
||||||
|
default BOARD_HARDWARE_VERSION_DVT
|
||||||
|
help
|
||||||
|
Select hardware version.
|
||||||
|
|
||||||
|
config BOARD_HARDWARE_VERSION_DVT
|
||||||
|
bool "Build for DVT board"
|
||||||
|
help
|
||||||
|
This will set hardware version to DVT.
|
||||||
|
|
||||||
|
config BOARD_HARDWARE_VERSION_EVT
|
||||||
|
bool "Build for EVT board"
|
||||||
|
help
|
||||||
|
This will set hardware version to EVT.
|
||||||
|
|
||||||
|
config BOARD_HARDWARE_VERSION_R311_PV1
|
||||||
|
bool "Build for R311 PV1 board"
|
||||||
|
help
|
||||||
|
This will set hardware version to r311 pv1.
|
||||||
|
|
||||||
|
config BOARD_HARDWARE_VERSION_R311_PV2
|
||||||
|
bool "Build for R311 PV2 board"
|
||||||
|
help
|
||||||
|
This will set hardware version to r311 pv2.
|
||||||
|
|
||||||
|
endchoice
|
||||||
|
|
||||||
|
endmenu
|
|
@ -26,6 +26,8 @@ source "config/Config-systeminit.in"
|
||||||
|
|
||||||
source "config/Config-devel.in"
|
source "config/Config-devel.in"
|
||||||
|
|
||||||
|
source "config/Config-hw.in"
|
||||||
|
|
||||||
source "toolchain/Config.in"
|
source "toolchain/Config.in"
|
||||||
|
|
||||||
source "target/imagebuilder/Config.in"
|
source "target/imagebuilder/Config.in"
|
||||||
|
|
Loading…
Reference in New Issue