-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathKconfig
144 lines (98 loc) · 4.51 KB
/
Kconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
# ////////////////////////////////////////////////////////////////////////// //
#
# This file is part of the anacleto project.
# Copyright 2018 Andrea Rigoni Garola <andrea.rigoni@igi.cnr.it>.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# ////////////////////////////////////////////////////////////////////////// //
#
# For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt.
#
mainmenu "Anacleto - GNU Linux build system for FPGA SoC devices"
# //////////////////////////////////////////////////////////////////////////// #
# // BULD COMMON /////////////////////////////////////////////////////////// #
# //////////////////////////////////////////////////////////////////////////// #
source conf/kscripts/build_common.kconfig
# //////////////////////////////////////////////////////////////////////////// #
# // PYTHON //////////////////////////////////////////////////////////////// #
# //////////////////////////////////////////////////////////////////////////// #
source conf/kscripts/python.kconfig
# //////////////////////////////////////////////////////////////////////////// #
# // TOOLCHAIN ///////////////////////////////////////////////////////////// #
# //////////////////////////////////////////////////////////////////////////// #
source conf/kscripts/toolchain.kconfig
# //////////////////////////////////////////////////////////////////////////// #
# // FPGA ////////////////////////////////////////////////////////////////// #
# //////////////////////////////////////////////////////////////////////////// #
source fpga/Kconfig
# //////////////////////////////////////////////////////////////////////////// #
# // LINUX ///////////////////////////////////////////////////////////////// #
# //////////////////////////////////////////////////////////////////////////// #
source conf/kscripts/linux.kconfig
# //////////////////////////////////////////////////////////////////////////// #
# // YOCTO ///////////////////////////////////////////////////////////////// #
# //////////////////////////////////////////////////////////////////////////// #
source conf/kscripts/yocto.kconfig
if ENABLE_YOCTO
config ENABLE_YOCTO_XILINX
bool "Enable Yocto meta-xilinx build"
depends on ENABLE_YOCTO
default "no"
config YOCTO_XILINX_URL
string "Yocto meta-xilinx git repository"
depends on ENABLE_YOCTO_XILINX
default "https://github.com/Xilinx/meta-xilinx.git"
endif # ENABLE_YOCTO
# //////////////////////////////////////////////////////////////////////////// #
# // DOCKER //////////////////////////////////////////////////////////////// #
# //////////////////////////////////////////////////////////////////////////// #
source conf/kscripts/docker.kconfig
# //////////////////////////////////////////////////////////////////////////// #
# // TARGET_DEVICE ///////////////////////////////////////////////////////// #
# //////////////////////////////////////////////////////////////////////////// #
menu TARGET_DEVICE
config DEVICE_NAME
string "Enter device name"
config DEVICE_IP
string "Enter device IP address"
config DEVICE_ACCESS
string "Enter device access method"
default "sftp"
config DEVICE_USER
string "User to connect device with"
default "root"
choice DEVICE_AUTHMETHOD
prompt "Select device authentication method"
config WITH_DEVICE_SSHPASSWD
bool "Auth on device using password"
config WITH_DEVICE_SSHKEY
bool "Auth on device using ssh keyid"
endchoice
config DEVICE_PASSWD
string "User password to autenticate user"
depends on WITH_DEVICE_SSHPASSWD
default "root"
config DEVICE_SSHKEY
string "User rsa_key to autenticate"
depends on WITH_DEVICE_SSHKEY
default "$HOME/.ssh/id_rsa"
config DEVICE_MODULES_DIR
string "Target device modules directory"
default "/lib/modules"
config DEVICE_BOOT_DIR
string "Target device boot directory"
default "/boot"
endmenu # TARGET_DEVICE