Commit Graph

14 Commits

Author SHA1 Message Date
christos 3bc5e25fe7 remove multiple copies of the same logic. 2017-12-06 02:06:45 +00:00
matt 547b3a3b01 Changes to existing files to enable building AARCH64 userland.
evbarm64-el
This is clang only.  While gcc4.8 supports aarch64, no netbsd support has
been written for aarch64 with gcc4.8.
2014-08-10 05:56:36 +00:00
christos af73cd2b49 For now, ignore errors from creating klinks. This is racy and you can get
it to trigger in 1/4 of the builds with -j 40 on a 24 processor box. Typical
error is:

    ln: machine/include: File exists
    *** Failed target:  .BEGIN
    *** Failed command: rm -f machine && ln -s /p/netbsd/cvsroot/src/sys/arch/vax/include machine
    *** Error code 1
    Stop.

Another approach to fixing this is to create a lockfile or adding other flags
to ln to change its behavior.
2014-01-22 15:19:05 +00:00
matt efa43f9322 Change rule for x86 link to not be x86 dependent 2013-08-21 15:26:44 +00:00
matt 9244b4d1cb Allow use of a different by using KLINK_MACHINE instead.
If it's not set, KLINK_MACHINE is set to ${MACHINE}
2013-05-02 04:14:28 +00:00
matt 573c9331e5 Add more links for evbmips
Add ${MACHINE} link
2011-07-10 23:50:24 +00:00
jmcneill 20ae4ea372 add 'i386' to CLEANFILES on amd64, thanks mrg! 2011-02-20 04:05:14 +00:00
christos 25f9b712f0 don't make links to directories that don't exist 2010-03-13 22:05:49 +00:00
pooka 972900e4ca Move -mcmodel=kernel CFLAGS from bsd.klinks.mk to amd64/include/Makefile.inc
to avoid having the kernel toolchain flags split over a billion different
files.
2009-11-27 13:50:29 +00:00
tsutsui 7f79f861d8 Include <bsd.own.mk> for ${NETBSDSRCDIR}, ${MACHINE}, ${MACHINE_CPU} and
${MACHINE_ARCH} variables.
2009-03-15 05:57:54 +00:00
tsutsui 628341218b Create symlinks in !make(obj) && !make(clean) && !make(cleandir) case
as most Makefiles for standalone programs do.
2009-03-15 05:48:02 +00:00
pooka e49857aeaf create i386 link for amd64. per discussion with mrg. 2008-12-08 22:47:55 +00:00
pooka 4b68af9947 Prevent amd64 compiler flag -mcmodel=kernel for rump kernel code.
This allows to compile rump libraries as shared libraries also on mad64.

Problem spotted by Greg Oster.  I guess his build broke or something ...
2008-07-29 20:18:25 +00:00
pooka 9af4ce05d6 Split the part of bsd.kmod.mk which creates links to kernel header
directories into a separate module, bsd.klinks.mk.
2007-08-05 21:43:24 +00:00