2006年7月17日 星期一

FreeBSD build universe process

make universe 是用來執行所有 architecture 的 buildworld 和 buildkernel。

從 /usr/src/Makefile 裡可以看到,make universe 所做的事:

for all arch and machines
make TARGET_ARCH=arch TARGET=mach buildworld
cd sys/{arch}/conf/ && make LINT
for all KERNCONFs
make buildkernel

其中 TARGET_ARCH 是代表 CPU architecture, TARGET 是機器種類。目前正式的 Tier 1 arch 中只有 i386 有兩種 mach, i386 和 i386:pc98。或許等 arm 成熟了之後 mach 會比較多吧。

KERNCONF 是所有列在 /usr/src/sys/[arch]/conf/ 下的設定檔,目前是 GENERIC, MAC(ppc), 和 LINT。

沒有留言:

張貼留言