Commit Graph

2137 Commits

Author SHA1 Message Date
jmmv
5b7eb38d00 Stop assuming that test programs and directories are the same thing during
Atffile generation.

This is needed to be able to generate Kyuafiles (coming later), as these
clearly differentiate between the definition of test programs and the
recursion into other subdirectories (or files).

In particular: rename ATFFILE_EXTRA_TPS to ATFFILE_EXTRA_SUBDIRS and
change the logic in bsd.test.mk to keep track of subdirectories aside from
_TESTS when creating the Atffile.
2013-02-23 21:20:14 +00:00
christos
5a9353fcc0 Add a hook to create a manifest file if needed under cygwin 2013-02-17 00:36:00 +00:00
jmmv
7d3a48f1d2 Hook Lutok into the build. This is all protected by the MKKYUA guard. 2013-02-16 21:40:05 +00:00
jmmv
3bd42d5026 Add ATFFILE_EXTRA_TPS.
The new ATFFILE_EXTRA_TPS variable can hold a set of test programs or
subdirectories to be added to the generated Atffile, without needing these
to be built by the current Makefile.

This is to be used in conjunction with MK* knobs and external/ so that
a 3rd-party component can place its tests in the corresponding tests/
directory and have the parent Atffile recognize them.

An alternative would be to use 'tp-glob' in the Atffile and list the names
of the directories/tests that may or may not exist.  However, this would
require providing manually-crafted Atffiles -- and because the majority are
auto-generated, there would be some confusion.
2013-02-16 15:00:44 +00:00
jmmv
88eb066b41 Add the MKKYUA knob.
MKKYUA defaults to no and will remain as such until the import is complete
and validated.

This knob does not currently have any effects on the build as nothing relies
on it yet.  Upcoming imports and changes in this area will all be guarded by
this flag.
2013-02-15 19:49:48 +00:00
christos
fbf6778a1b Since the libraries are produced with different MK flags than the programs,
we check for existance of the files instead of the MK flags.
2013-02-14 03:02:47 +00:00
christos
4880aaed67 Add PROGDPLIBS 2013-02-14 01:58:00 +00:00
nakayama
93c32b3617 Fix copy and paste miss introduced in rev 1.327. 2013-02-13 08:00:47 +00:00
jmcneill
01401401c3 add TOOL_MKNOD 2013-02-10 22:05:51 +00:00
christos
014096fb90 Allow setting _LIB_PREFIX externally. 2013-02-09 17:18:17 +00:00
spz
cd9c73575e typo in a MKDEBUGLIB part 2013-02-09 12:17:20 +00:00
matt
4609daf1bc Add missing } 2013-02-08 04:06:25 +00:00
christos
738b87c983 - factor out variables so that the code is more readable, make them conistent
- use _LIB_PREFIX correctly.
2013-02-08 02:30:53 +00:00
matt
467e80acbc Add support for MACHINE_ARCH earmhf and earmhfeb 2013-02-03 05:36:36 +00:00
matt
2b29920df6 add earmhf 2013-02-03 05:35:25 +00:00
christos
d55974ab54 Move HAS_SSP and USE_SSP out of bsd.sys.mk. They did not belong there in
the first place. Rename HAS_SSP to HAVE_SSP to match existing practice.
2013-01-27 02:31:44 +00:00
christos
488659cc10 we cannot include bsd.sys.mk because of YHEADER. The incestious relation
of the .mk files needs to be fixed.
2013-01-27 02:22:27 +00:00
christos
84be08d909 CTFCONVERT complains and coredumps for c++ 2013-01-26 22:04:18 +00:00
christos
08c1bf572c CTFCONVERT me harder. 2013-01-26 21:49:20 +00:00
christos
daf5be7806 include <bsd.sys.mk>
This is a mess. HAS_SSP (which should really be HAVE_SSP), is defined
in bsd.sys.mk. So things that need it, include the file directly. The
trouble comes because bsd.sys.mk, needs stuff that bsd.own.mk defines,
so including first does not work. Anyway most other files include bsd.sys.mk
directly, so user Makefiles should just not do that, and just include
<bsd.own.mk> to get all the defines they need.
2013-01-26 21:48:58 +00:00
christos
1d92830f7c Make the libfoo.so.X.Y.debug files actually contain debug symbols if MKDEBUG. 2013-01-22 20:43:17 +00:00
christos
7097ec6251 Now that ctf is fixed for at least amd64, go back to an equivalent to the
original functionality, use the tool only if it exists.
2013-01-18 19:32:09 +00:00
christos
3dd38e1c8b Disable CTF Conversion for now until it is fixed.
- ERROR: ctrl_iface_ap.c: die 2767: failed to get unsigned: No entry found
  [dwarf _attrval_unsigned(219)]
2013-01-17 17:33:16 +00:00
christos
aa675a73cf Now that we have separate debug sets, add -g if ${MKDEBUG} is set for
program builds since we don't need to install that symbol files.
2013-01-17 15:42:59 +00:00
christos
af499c4810 Remove bogus conditionals that were also copied to other files presumably
because they did not work from here, and explain why.
2013-01-17 15:27:50 +00:00
matt
6deadffd90 Make MKSOFTFLOAT = yes for ARM (since arm is softfloat by default). 2013-01-11 12:55:29 +00:00
pooka
af1f107ceb Add more external dependencies for crtstuff 2012-12-10 23:49:39 +00:00
pooka
4e6104b334 Revert poor change 2012-12-10 23:48:38 +00:00
pooka
83cc3f6549 Deal with crti and crtn not present in some EXTERNAL_TOOLCHAIN's. Also,
handle "missing" crtstuff internally instead of depending on external
intervention.
2012-12-10 20:58:55 +00:00
apb
30bff44eb3 Document MAKEDIRTARGETENV 2012-12-02 20:19:46 +00:00
joerg
5adc71af23 CATDEPS is bogus for mandoc, so disable it in that case. 2012-11-30 17:52:13 +00:00
joerg
6528688d69 Don't force link and CSS options in bsd.own.mk, bsd.man.mk sets them. 2012-11-30 17:51:50 +00:00
alnsn
fab5cb6386 Document MKSLJIT variable. 2012-11-24 14:01:28 +00:00
alnsn
012f33e5f2 Add sljit and bpfjit to evbmips. Not enabled by default. 2012-11-24 14:00:35 +00:00
pooka
a733ce9a7a Support clang as EXTERNAL_TOOLCHAIN 2012-11-22 21:41:22 +00:00
pooka
0e23ad4a3c unrevert previous. i can't figure out how to make the build break with
the change anymore, so assume it was a sunspot.
2012-11-21 20:30:01 +00:00
pooka
1495c1a931 revert previous, seems to upset the build in a creative way 2012-11-21 18:45:08 +00:00
pooka
58de144fd6 Allow user override of _GCC_CRT{BEGIN,END}S. 2012-11-21 18:09:10 +00:00
apb
922779be95 Make the test for infinite recursion in PRINTOBJDIR more specific,
and make the error case more easily recognisable.

Now "make -V '${PRINTOBJDIR}'" works instead of misinterpreting the "-V"
as infinite recursion.
2012-11-20 10:43:21 +00:00
apb
b7f14c7e34 On second thoughts, don't run "rm -rf" in bsd.clean.mk. Instead,
document that CLEANFILES and CLEANDIRFILES must not contain
directory names.
2012-11-19 16:04:54 +00:00
apb
ba27b6db7b Use "rm -rf" instead of "rm -f" in bsd.clean.mk. This will
allow CLEANFILES or CLEANDIRFILES to contain directory names.
2012-11-19 15:14:27 +00:00
apb
ed0cd7eb98 Under "Failed to remove the following files from ${_d}:",
print one file name per line, indented to make the list more visible.
2012-11-18 19:52:40 +00:00
apb
19862a7d7d Change some .if defined(SRCS) to .if defined(SRCS) && !empty(SRCS) 2012-11-18 19:48:29 +00:00
joerg
54f191bfce Move the build_install logic from lib/Makefile into share/mk and re-use
it for tools. The existing logic broke for the LLVM build with the
recent .ORDER changes in make.
2012-11-15 23:51:53 +00:00
jkunz
993229b6fe Add elftosb tools to evbarm userland and toolchain.
Elftosb is used to create a digitaly signed "secure boot" file.
This sb file can be booted by the first stage boot loader found in
Freescale i.MX23 and i.MX28 application processors.

Copyright (c) 2004-2010 Freescale Semiconductor, Inc.
2012-11-15 19:49:11 +00:00
pooka
813e9ae68d Make it easier build binaries against the host's libs, e.g.
libpthread which might be in /lib/x86_64-linux-gnu/libpthread.so.0
or some other unholy place.
2012-11-13 22:30:38 +00:00
skrll
afd752e603 Switch mips to gdb 7.3.1
# of expected passes            11545
# of unexpected failures        401
# of expected failures          45
# of untested testcases         23
# of unresolved testcases       1549
# of unsupported tests          112
2012-11-06 10:32:49 +00:00
alnsn
be868ab1a6 Enable MKSLJIT on sparc. 2012-11-05 23:09:40 +00:00
alnsn
ffd8736098 Build sljit test when MKSLJIT != no and set MKSLJIT to yes on amd64 and i386. 2012-11-05 00:57:39 +00:00
christos
acfddfeed2 add MKTPM, default to no 2012-11-04 16:27:28 +00:00