Building base source

Patrick Mahan mahan at mahan.org
Sat Jun 10 20:56:39 UTC 2017


On 6/10/17 6:34 AM, Baho Utot wrote:
> 
> On 06/09/17 16:09, Jack L. wrote:
>>   Have you looked at /usr/src/Makefile.inc1 or specifically MAKEOBJDIRPREFIX?=
>>
>> On Fri, Jun 9, 2017 at 1:01 PM, Baho Utot <baho-utot at columbus.rr.com> wrote:
>>>
>>>
>>> On 06/09/17 15:03, Lowell Gilbert wrote:
>>>>
>>>> Baho Utot <baho-utot at columbus.rr.com> writes:
>>>>
>>>>> I am experimenting with building the base source.
>>>>>
>>>>> What do I need to set (which knobs) to be able to build the base
>>>>> source and have the binaries built into a home directory.
>>>>>
>>>>> The source will be in /usr/src but I want all the binaries and all
>>>>> other files produced by the build to goto in
>>>>> /usr/home/FreeBSD/base/target.
>>>>>
>>>>> Will it be a copy of want is installed in the / (root) filesystem?
>>>>
>>>>
>>>> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
>>>>
>>>
>>> I have already looked at that.  That is why I have the questions.  I want to
>>> build the base as a user and have it install its stuff into a subdirectory.
>>>
>>> The link tells me how to build and install from source to the root
>>> directory, that is not what I was asking.
> 
> I have found the information that gets me going from man build and man release. 
> Those contained a wealth of information.
> 
> I am currently using that information to create build scripts.
> 
> I just need to now find information on make packages, but it is scant at this point.
> 

Try man ports.

Patrick


More information about the freebsd-questions mailing list