So I'm trying to build FreeBSD from source

GafiQ

New Member


Messages: 3

So I'm trying to build a slightly modified (by me) FreeBSD from source.

Basically, I took the code, changed some stuff (deleted folders I thought were unnecessary bc because I wanna try to get it to bare-bones and then build my own shell on-top of it), put it in an ISO, mounted it and ran:

Code:
make install makefile

which returned:
1594891133031.png


Does anybody know how to fix this?


[I'm a noob plz pleaase don't bully me]
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 12,331
Messages: 38,847

The error is pretty obvious, you're missing Makefile.inc1.
 

Zirias

Son of Beastie

Reaction score: 1,563
Messages: 2,685

What should make install makefile mean? Do you have any reference for that command?

As for "stripping down", read src.conf(5). Just deleting stuff to avoid building it won't work.
 

olli@

Daemon
Developer

Reaction score: 1,255
Messages: 1,140

As for "stripping down", read src.conf(5). Just deleting stuff to avoid building it won't work.
Additionally, you might want to read these manual pages:
  • build(7) – information on how to build the system from source.
  • tests(7) – introduction to the FreeBSD Test Suite (useful to detect problems when you modify the source tree).
  • release(7) – release building infrastructure (useful if you want to create your own release ISO image or similar).
 

Mjölnir

Daemon

Reaction score: 1,504
Messages: 2,114

For creating a minimal FreeBSD, see also /usr/src/tools/tools/tinybsd, nanobsd(8) & picobsd(8). Start from a working big set of programs, then strip down in small steps.
 
Top