Home | History | Annotate | Download | only in conf
History log of /src/sys/arch/riscv/conf/Makefile.riscv
RevisionDateAuthorComments
 1.11  25-Feb-2024  skrll Warn about building a kernel with the wrong toolchain.

Idea from mrg@
 1.10  26-Jul-2023  rin Use OBJCOPY_STRIPFLAGS instead of STRIPFLAGS.
 1.9  07-May-2023  skrll RISC-V support that works on QEMU with a single hart.

Thanks for Simon Burge for plic(4).
 1.8  28-Sep-2022  skrll branches: 1.8.4;
Fix RV32 so it gets to the same point as RV64
 1.7  01-May-2021  skrll Fixup kernel linking and provide a linker script with standard sections
and symbols
 1.6  14-Mar-2020  skrll branches: 1.6.8;
Trailing whitespace
 1.5  16-Jun-2019  maxv Misc changes in RISC-V.
 1.4  01-Jun-2019  maxv Misc changes in RISC-V. Start changing the memory layout, too.
 1.3  22-Sep-2018  rin - Determine KERN_AS automatically depending on whether OPT_MODULAR is
set or not, in the same way as libcompat.

- Specify OPT_MODULAR in the port Makefile instead of KERN_AS.

Now, KERN_AS=library is used for kernels without module(7) for all ports.

OK christos
 1.2  31-Mar-2015  matt branches: 1.2.2; 1.2.18; 1.2.20; 1.2.22;
Use -mcmodel=medany to get PICish code.
 1.1  28-Mar-2015  matt Beginnings of RISCV kernel support. Note that the pmap support is not yet
committed and probably won't be for awhile. This is mostly preliminary
waiting for the supervisor specification to come out. Lots of missing pieces
but it mostly builds.
 1.2.22.3  13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.2.22.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.2.22.1  10-Jun-2019  christos Sync with HEAD
 1.2.20.1  30-Sep-2018  pgoyette Ssync with HEAD
 1.2.18.2  03-Dec-2017  jdolecek update from HEAD
 1.2.18.1  31-Mar-2015  jdolecek file Makefile.riscv was added on branch tls-maxphys on 2017-12-03 11:36:38 +0000
 1.2.2.2  06-Apr-2015  skrll Sync with HEAD
 1.2.2.1  31-Mar-2015  skrll file Makefile.riscv was added on branch nick-nhusb on 2015-04-06 15:18:01 +0000
 1.6.8.1  13-May-2021  thorpej Sync with HEAD.
 1.8.4.1  11-Sep-2023  martin Pull up following revision(s) (requested by rin in ticket #363):

sys/arch/aarch64/conf/Makefile.aarch64: revision 1.24
sys/arch/aarch64/conf/Makefile.aarch64: revision 1.25
sys/arch/shark/conf/Makefile.shark.inc: revision 1.28
sys/arch/alpha/conf/Makefile.alpha: revision 1.88
sys/arch/mips/conf/Makefile.mips: revision 1.73
sys/conf/Makefile.kern.inc: revision 1.298
sys/conf/Makefile.kern.inc: revision 1.299
sys/arch/cats/conf/Makefile.cats.inc: revision 1.37
sys/arch/arm/conf/Makefile.arm: revision 1.56
sys/arch/arm/conf/Makefile.arm: revision 1.57
sys/arch/riscv/conf/Makefile.riscv: revision 1.10

Always use arm-elf2aout; no a.out support both for binutils{,.old}

Fix kernel size inflation for arm and aarch64 (PR toolchain/57146)

For some conditions, SYSTEM_LD_TAIL is set for arm and aarch64.
Then, ctfmerge(1) in default SYSTEM_LD_TAIL is unintentionally
skipped, which results in the catastrophic kernel size inflation,
as reported in the PR.

Also, introduce and use OBJCOPY_STRIPFLAGS variable instead of
STRIPFLAGS, as strip(1) is replaced by objcopy(1) during MI
kernel build procedure.

For Makefile.{arm,aarch64}, weird logic is used to determine how
to handle debug symbols; MKDEBUG{,KERNEL} are taken into account
later in sys/conf/Makefile.kern.inc.

Use OBJCOPY_STRIPFLAGS instead of STRIPFLAGS.
Simplify fix for PR toolchain/57146

Introduce ARCH_STRIP_SYMBOLS variable to centralize logic for debug
symbols from MD Makefile's to Makefile.kern.inc.

RSS XML Feed