diff options
| author | bhgv <bhgv.empire@gmail.com> | 2020-05-10 02:59:23 +0300 |
|---|---|---|
| committer | bhgv <bhgv.empire@gmail.com> | 2020-05-10 02:59:23 +0300 |
| commit | 31b4edc67b75658ce5e2d41f2fc87331f4b26d49 (patch) | |
| tree | a7b6ea659fe62e0a7239f29170024f524595fb4d /mkconfig.FreeRTOS-riscv64 | |
| parent | c76314f0f38f4ed028610a6db4452879a556b35f (diff) | |
a try to add support of FreeRTOS riscV-64 (k210 cpu). first step
Diffstat (limited to 'mkconfig.FreeRTOS-riscv64')
| -rw-r--r-- | mkconfig.FreeRTOS-riscv64 | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/mkconfig.FreeRTOS-riscv64 b/mkconfig.FreeRTOS-riscv64 new file mode 100644 index 0000000..e448987 --- /dev/null +++ b/mkconfig.FreeRTOS-riscv64 @@ -0,0 +1,35 @@ +# +# Set the following 4 variables. The host system is the system where +# the software will be built; the target system is where it will run. +# They are almost always the same. + +# On Nt systems, the ROOT path MUST be of the form `drive:/path' +ROOT=$ROOT + +# +# Specify the flavour of Tk (std for standard builds) +# +TKSTYLE=std + +WINDOW_BACKEND=fb # andr, clutter, x11a, fb + +# +# Except for building kernels, SYSTARG must always be the same as SYSHOST +# +SYSHOST=Linux #Nt #Plan9 # build system OS type (Hp, Inferno, Irix, Linux, MacOSX, Nt, Plan9, Solaris) +SYSTARG=FreeRTOS #Linux #Android #Linux #$SYSHOST # target system OS type (Hp, Inferno, Irix, Linux, Nt, Plan9, Solaris, FreeRTOS) + +# +# specify the architecture of the target system - Plan 9 imports it from the +# environment; for other systems it is usually just hard-coded +# +OBJTYPE=riscv64 #arm #386 #arm #386 # target system object type (eg, 386, arm, mips, power, s800, sparc, riscv64) +#OBJTYPE=$objtype + +# +# no changes required beyond this point +# +OBJDIR=$SYSTARG/$OBJTYPE + +<$ROOT/mkfiles/mkhost-$SYSHOST # variables appropriate for host system +<$ROOT/mkfiles/mkfile-$SYSTARG-$OBJTYPE # variables used to build target object type |
