-
Notifications
You must be signed in to change notification settings - Fork 3
/
CONFIG.example
56 lines (45 loc) · 1.61 KB
/
CONFIG.example
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
# Example configuration file for building PandA server and driver.
#
# Copy this file to a file named CONFIG and edit as appropriate.
# Note that this file is used as part of github Continuous Integration (see
# .github/workflows/{code,docs}.yml and so the entries in this file must refer
# to valid paths in the CI container.
# Default build location. Default is to build in build subdirectory.
#
BUILD_DIR = /build/build-server
# Python interpreter. Default interpreter is python3
#
PYTHON = python3
# Sphinx build for documentation.
#
SPHINX_BUILD = sphinx-build
# Compiler settings. Default cross compile prefix given here. If BINUTILS_DIR
# is specified it will be prepended to the path for building the driver and
# target server.
#
TOOLCHAIN_ROOT = /gcc-arm-10.2-2020.11-x86_64-$(COMPILER_PREFIX)
#
# Additionally, if the toolchain uses a vendor specific compiler prefix, we
# need:
#
# COMPILER_PREFIX = arm-xilinx-linux-gnueabi
# If at all possible -Werror should be set for all builds. However, this can
# cause unexpected build failures with newer compilers, in which case this
# option can be set to allow the build to succeed.
#
# CFLAGS_EXTRA += -Wno-error
# Where the kernel was compiled. Use PandABlocks-rootfs to build this. This is
# only required if building the driver target.
#
KERNEL_DIR = /build/PandA-rootfs-$(PLATFORM)/build/linux
# Some tools from the rootfs are used.
#
PANDA_ROOTFS = /repos/PandABlocks-rootfs
# List of default targets build when running make
#
DEFAULT_TARGETS = driver server sim_server docs
#
# Whether it will run in platform zynq or zynqmp
#
PLATFORM = zynq
# vim: set filetype=make: