From 31b4edc67b75658ce5e2d41f2fc87331f4b26d49 Mon Sep 17 00:00:00 2001 From: bhgv Date: Sun, 10 May 2020 02:59:23 +0300 Subject: a try to add support of FreeRTOS riscV-64 (k210 cpu). first step --- mkconfig.Linux-386 | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 mkconfig.Linux-386 (limited to 'mkconfig.Linux-386') diff --git a/mkconfig.Linux-386 b/mkconfig.Linux-386 new file mode 100644 index 0000000..6669b53 --- /dev/null +++ b/mkconfig.Linux-386 @@ -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=x11a # 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=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=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 -- cgit v1.2.3