summaryrefslogtreecommitdiffstats
path: root/sys/arch/octeon/compile (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a bootloader for octeon.visa2019-07-171-0/+1
| | | | | | | | | | | | | | | | | | The firmware on OCTEON machines usually does not provide an interface for accessing devices, which has made it tricky to implement an OpenBSD bootloader. To solve this device access problem, this new loader has been built on top of a small kernel. The kernel provides all the necessary devices drivers, while most of the usual bootloader logic is in a userspace program in a ramdisk. The loader program is accompanied by a special device, octboot(4). The main purpose of this device is to implement a mechanism for loading and launching kernels. The mechanism has been inspired by Linux' kexec(2) system call. The bootloader will be enabled later when it is ready for general use. Discussed with deraadt@
* Fix building profiling kernels by passing the -p flag to config(8)tb2017-03-151-1/+2
| | | | | | | if the kernel's name ends in .PROF. problem reported by jmc via mpi ok mpi
* Unbreak 'config -p'.mpi2017-02-101-1/+1
| | | | ok tb@, jca@
* Two tweaks for compile/Makefile.inc:natano2016-11-051-3/+2
| | | | | | | | | | | | 1) Replace '.elif !exists(${OBJDIR}/Makefile)' with just '.else'. espie pointed out, that if the file existed, make wouldn't be reading this file, so the check is superflous. Less clutter. 2) Unconditionally define the 'clean' and 'cleandir' targets, also when obj doesn't exist. This changes the behaviour of 'make clean' to be successful (doing nothing) without obj@ or obj/. ok tb millert deraadt
* cleandir: target for kernel compile directoriesderaadt2016-10-152-5/+4
| | | | ok natano
* Kernel builds now happen in compile/CONFIG/obj@ -> /usr/obj/... [or ./obj/,deraadt2016-10-146-3/+31
| | | | | | | | | | | | | | | | if srctree is not rooted at /usr/src]. As a result, stock GENERIC & RAMDISK kernels are commited to the tree, to ensure the src tree can be "readonly" during builds, with all writes occuring inside the obj space. config -b options are handled by ../Makefile.inc. The canonical new way to configure one of these kernels is: % cd /sys/arch/amd64/compile/GENERIC.MP % doas make obj % make config % make % doas cp obj/bsd /bsd The build infrastructure will use this new mechanism in a de-escalation way using BUILDUSER. Much help from natano and tb.
* add GENERIC.MPjasper2013-06-011-0/+1
| | | | ok miod@ pirofti@
* Add working compile directorymiod2010-10-231-0/+2