| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
bsd.port.subdir.mk, without the overhead of an additional ports tree.
Use
make BSDPORTMK='${PORTSDIR}/My.Mk/bsd.port.mk' target
and
make BSDPORTSUBDIRMK='${PORTSDIR}/My.Mk/bsd.port.subdir.mk' target
to build with the alternate versions.
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
| |
- Check in both places if ${_dir}/conf/kmod.mk exists.
- Style fixes (lines too long).
Submitted by: bde
|
|
|
|
|
|
|
| |
we will fail later and we can miss good kernel source tree directory.
I found this trying to compile kld module and it finds 'conf/kmod.mk'
in '../..', but it fails later, because there is no 'kern' directory,
but there is valid kernel source tree still in /usr/src/sys/.
|
| |
|
|
|
|
| |
(OBJFORMAT) into a non-POSIX section.
|
|
|
|
|
|
|
| |
existence of this file. This stopped working more than 4 years ago when
the generation of the error was added in rev.1.44. The .error directive
gives fatal errors, so stale /etc/make.conf.local files must have been
gone away more than 4 years on systems where make(1) works.
|
|
|
|
| |
complain about them, so remove them from CXXFLAGS.
|
|
|
|
| |
Not objected to by: bde, ru
|
|
|
|
| |
Prodded by: des
|
| |
|
|
|
|
|
| |
settings). Pretend that a crusoe is an i686 which doesn't like alignment
padding.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Fix 'broken' ifdefs.
icc does not support profiling yet so remove unfinished code which was
supposed to help.
Submitted by: netchild (original version)
Reviewed by: ru
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Intel C/C++ compiler (lang/icc) to build the kernel.
The icc CPUTYPE CFLAGS use icc v7 syntax, icc v8 moans about them, but
doesn't abort. They also produce CPU specific code (new instructions
of the CPU, not only CPU specific scheduling), so if you get coredumps
with signal 4 (SIGILL, illegal instruction) you've used the wrong
CPUTYPE.
Incarnations of this patch survive gcc compiles and my make universe.
I use it on my desktop.
To use it update share/mk, add
/usr/local/intel/compiler70/ia32/bin (icc v7, works)
or
/usr/local/intel_cc_80/bin (icc v8, doesn't work)
to your PATH, make sure you have a new kernel compile directory
(e.g. MYKERNEL_icc) and run
CFLAGS="-O2 -ip" CC=icc make depend
CFLAGS="-O2 -ip" CC=icc make
in it.
Don't compile with -ipo, the build infrastructure uses ld directly to
link the kernel and the modules, but -ipo needs the link step to be
performed with Intel's linker.
Problems with icc v8:
- panic: npx0 cannot be emulated on an SMP system
- UP: first start of /bin/sh results in a FP exception
Parts of this commit contains suggestions or submissions from
Marius Strobl <marius@alchemy.franken.de>.
Reviewed by: silence on -arch
Submitted by: netchild
|
|
|
|
| |
Submitted by: Rostislav Krasny <rosti_bsd@yahoo.com>
|
|
|
|
|
| |
already catch with -Wstrict-prototypes, and it causes spurious warnings
for some perfectly legitimate constructs.
|
|
|
|
| |
Submitted by: ru
|
|
|
|
|
|
|
| |
- Don't put libc.a as a dependency if program is linked with -nostdlib.
- Added INTERNALPROG (by analogy to INTERNALLIB) for programs which are
built only for its side effect and shold not be installed.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- do not use PROG for what's not a real C program,
- use sys.mk transformation rules where possible,
- only create the "machine" symlink on AMD64,
- removed MAINTAINER lines in individual makefiles,
- added the LIBSTAND defitinion to <bsd.libnames.mk>,
- somewhat better contents in .depend files.
Tested on: i386, amd64
Prodded by: bde
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
CFLAGS in all cases, but POSIX requires a default of -O. Adding
-pipe unconditionally still is still broken for non-gcc compilers
in the non-POSIX case.
|
|
|
|
| |
Reported by: lorder(1) (modified to work with libraries)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Added missing NOCRYPT and NO_OPENSSL checks for Kerberos.
- Don't depend on -lcrypto and -lcrypt in pam_ssh to resolve
dependencies in pam_krb5 and pam_ksu -- the former may not
be compiled at all if NO_OPENSSH knob is enabled.
- Added missing -lcrypt to pam_ssh dependencies.
- Moved librpcsvc after libypclnt.
(The last two aren't strictly speaking necessary to resolve
the dependencies of static versions of pam_ssh and pam_unix,
respectively, but they correspond to dynamic dependencies
of libssh and libypclnt, and are put here for consistency.)
In collaboration with: bde
Reviewed by: des
|
|
|
|
| |
Reviewed by: bde
|
| |
|
|
|
|
|
|
|
|
| |
to ports) and LIBRESOLV (now in a different library.
2. Added comments about nonexistent libraries LIBPC and LIBPLOT.
Submitted by: ru (1)
|
| |
|
|
|
|
|
|
|
| |
distribution. This is not the place to document this, especially
now that the secure distribution is the normal one.
Reviewed by: ru
|
| |
|
|
|
|
|
|
| |
perform better than the default setting for most i386 CPUs.
Requested by: bde
|
|
|
|
|
| |
if the result set is empty. While here, replaced non-bogus empty
string comparisons with equivalent empty() checks.
|
|
|
|
|
|
|
|
|
|
|
|
| |
missing and there are multiple choices using multiple inference
(suffix transformation) rules.
This is known to fix compilation of s_log1p.o in lib/msun on i386,
as otherwise it attempted to use s_log1p.S as the source (which is
marked broken) instead of legal s_log1p.c which is in CFLAGS. The
normal case where .depend file exists is not affected.
Reviewed by: bde
|
|
|
|
|
|
|
|
|
| |
needed for generating dependencies. SRCS are always part of it,
and normally only they.
This can be useful in some random cases where it's necessary to
have something in .depend that isn't part of SRCS. This will be
used to replace a hack in lib/libpam/libpam/Makefile.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
form became unnecessary with the bsd.prog.mk,v 1.69 change.
- Eliminated duplicate y.tab.h in SRCS.
Reviewed by: bde
- Complementary to the said bsd.prog.mk change, use the fact
that inner .for loops are not real loops but a tricky form
of a local macro for the outer loop's variable, and switch
to using faster variable modifiers to replace extensions.
|
|
|
|
|
| |
This allows us to easily override them when necessary, e.g.,
to selectively disable warnings in libc/ contributed sources.
|
| |
|
|
|
|
|
|
| |
are built using a ${MAKE} that's not just "make".
Test by: make universe (followed by cleandirs)
|
| |
|
|
|
|
| |
Reviewed by: ru
|
|
|
|
|
| |
Reviewed by: M. Warner Losh <imp@bsdimp.com>; John Hay <jhay@freebsd.org>
Approved by: M. Warner Losh <imp@bsdimp.com> (mentor)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libraries to be reported as up-to-date.
Before:
# make -f /dev/null nonexistent.a
`nonexistent.a' is up to date.
After:
# make -f /dev/null nonexistent.a
make: don't know how to make nonexistent.a. Stop
PR: bin/44137 (part of)
|
|
|
|
|
|
|
|
| |
- CD9660_ICONV, NTFS_ICONV and MSDOSFS_ICONV kernel options
(with corresponding modules).
- kiconv(3) for loadable charset conversion tables support.
Submitted by: Ryuichiro Imura <imura@ryu16.org>
|
|
|
|
|
| |
make things a bit easier for folks using lints other than the
"base" lint.
|