History log of /openbsd-current/sys/arch/loongson/Makefile
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.9 22-Jan-2017 tb

Introduce the KEEPKERNELS variable: if this is set either in mk.conf or
the environment, 'make cleandir' does not descend into kernel build
directories. Thus, kernel object files survive 'make build' on slower
architectures.

WARNING:
If you set this variable, you run the risk of breaking 'make release':
Be sure to run 'make cleandir' from /sys/arch/$(machine)/compile before
doing 'make release'. This issue will be addressed shortly.

requested by kettenis;
ok deraadt


# 1.8 14-Oct-2016 deraadt

Kernel builds now happen in compile/CONFIG/obj@ -> /usr/obj/... [or ./obj/,
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.


Revision tags: OPENBSD_6_0_BASE
# 1.7 31-May-2016 tedu

fix arch/mach confusion in make tags. from frantisek holop


Revision tags: OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.6 08-Dec-2013 espie

reflect reality, mark as NOOBJ
"sure" deraadt@


Revision tags: OPENBSD_5_4_BASE
# 1.5 26-Mar-2013 jasper

sync TDIRS with reality

"looks good" deraadt@


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE
# 1.4 12-Nov-2010 deraadt

Push all potential (as in, all system MI not utilized by the bootblocks)
.h files into the ctags run as well to bring #define's and structs and
such into scope. Problem reported by thib


# 1.3 03-Nov-2010 deraadt

no need to specify the -t flag to ctags


Revision tags: OPENBSD_4_8_BASE
# 1.2 31-May-2010 deraadt

Completely rewrite the tags file creation process. use config(8) against
a fat kernel (GERERIC or GENERIC.MP) into a temporary dir, then extract some
variables using make -V, and after some more singing and dancing use this
full and (more) correct list of files with ctags. Don't read this code.
ok guenther


Revision tags: OPENBSD_4_7_BASE
# 1.1 14-Feb-2010 miod

Work in progress standalone boot blocks for OpenBSD/loongson systems. Will
load a kernel from the OpenBSD partition, with symbols.
However:
- does not work on gdium (usb i/o errors)
- no countdown due to PMON limitations, so either `bsd' in the PMON
environment contains a kernel filename to load, and it will get loaded
immediately, or it doesn't (e.g. the variable does no exist) and you get
a prompt and can pass options to the kernel. Note that /etc/boot.conf
commands can still be used in both cases.
- does not work for me when loaded automatically from PMON (put in the `al'
environment variable). However, `boot $al' works fine. Need to investigate.