Honor KERNSRCDIR for 'make universe'

2011-02-15 Thread John Baldwin
This is useful when you want to run make universe against a custom kernel tree. Specifically, if you keep a cross-compiled set of toolchains lying around in a stock HEAD checkout built using 'make toolchains' or 'make universe', then with this patch you can do: make MAKE_JUST_KERNELS

Re: cpufreq not working as module on i386/amd64

2011-02-15 Thread Andriy Gapon
on 29/01/2011 10:41 Alexander Best said the following: that's rather odd. for me neither the module nor the kernel code works, since my cpu isn't supported by sys/x86/cpufreq/est.c. actually only pentium mobile cpus seem to be supported. That's a little bit of misinformation. Primarily est

$PATH and buildworld not getting along

2011-02-15 Thread Alexander Best
hi there, i've run into an issue where $PATH doesn't get discarded during buildworld. is this behavior to be expected? to reproduce do: 1) be sure /usr/local/bin comes *before* /usr/bin in your $PATH 2) ln -s /bin/cat /usr/local/bin/cc (some sh script would be better) 3) cd /usr/src ; make

Use meaningful directory prefixes in lib32 build

2011-02-15 Thread John Baldwin
This patch adjusts the various lib32 targets to use a suitable DIRPRFX so that when lib32 builds certain areas of the tree the full path to those areas shows up in the make output: Index: Makefile.inc1 === --- Makefile.inc1