Training courses

Kernel and Embedded Linux

Bootlin training courses

Embedded Linux, kernel,
Yocto Project, Buildroot, real-time,
graphics, boot time, debugging...

Bootlin logo

Elixir Cross Referencer

#
# $NetBSD: list,v 1.25 2021/06/27 05:25:12 tsutsui Exp $
#

# The PROM provides a default kernel name of "vmunix"
COPY	${KERNEL}			netbsd
LINK	netbsd				vmunix

# These are scripts:
COPY	${DESTDIR}/usr/bin/false	bin/false		555
COPY	${DESTDIR}/usr/bin/true 	bin/true		555

# From usr/mdec:
COPY	${DESTDIR}/usr/mdec/bootxx	usr/mdec/bootxx
COPY	${DESTDIR}/usr/mdec/bootyy	usr/mdec/bootyy
SYMLINK		  /usr/sbin/installboot usr/mdec/installboot
COPY	${DESTDIR}/usr/mdec/netboot	usr/mdec/netboot
COPY	${DESTDIR}/usr/mdec/tapeboot	usr/mdec/tapeboot
COPY	${DESTDIR}/usr/mdec/ufsboot	usr/mdec/ufsboot
LINK		   usr/mdec/ufsboot	ufsboot

# various files that we need in /etc for the install
COPY	${DESTDIR}/etc/group		etc/group
COPY	${DESTDIR}/etc/master.passwd	etc/master.passwd
COPY	${DESTDIR}/etc/netconfig	etc/netconfig
COPY	${DESTDIR}/etc/passwd		etc/passwd
COPY	${DISTRIBDIR}/common/protocols	etc/protocols
COPY	${DESTDIR}/etc/pwd.db		etc/pwd.db
COPY	${DESTDIR}/etc/spwd.db		etc/spwd.db
COPY	${DISTRIBDIR}/common/services	etc/services

# some /etc files get special handling (for MFS /tmp yuck)
COPY	${CURDIR}/fstab			tmp/fstab.shadow
SYMLINK	/tmp/fstab.shadow		etc/fstab
SYMLINK	/tmp/resolv.conf.shadow		etc/resolv.conf
SYMLINK	/tmp/hosts			etc/hosts

# copy the MAKEDEV script and make some devices
COPY	${DESTDIR}/dev/MAKEDEV		dev/MAKEDEV		555
COPY	${DESTDIR}/dev/MAKEDEV.local	dev/MAKEDEV.local	555

# copy the miniroot installation tools
COPY	${CURDIR}/profile		.profile

COPY	${CURDIR}/install.md		install.md
COPY	${OBJDIR}/install.sub		install.sub

COPY	${DISTRIBDIR}/miniroot/install.sh install		555
COPY	${DISTRIBDIR}/miniroot/upgrade.sh upgrade		555

SRCDIRS	bin sbin usr.bin usr.sbin

# miniroot files from /sbin:
# Extras not in ../../miniroot/list:
#  disklabel dmesg edlabel mount_kernfs restore 

PROG	sbin/disklabel
PROG	sbin/dmesg
PROG	sbin/edlabel

PROG	sbin/fsck
PROG	sbin/fsck_ffs

PROG	sbin/ifconfig
PROG	sbin/init
PROG	sbin/mknod

PROG	sbin/mount
PROG	sbin/mount_cd9660
PROG	sbin/mount_ffs
PROG	sbin/mount_kernfs
PROG	sbin/mount_nfs

PROG	sbin/newfs	sbin/mount_mfs
PROG	sbin/ping
PROG	sbin/reboot	sbin/halt

PROG	sbin/restore	sbin/rrestore

PROG	sbin/route
PROG	sbin/shutdown
PROG	sbin/slattach
PROG	sbin/swapctl
PROG	sbin/sysctl
PROG	sbin/umount

# miniroot files from /bin:
# Extras not in ../../miniroot/list:
#  date ps rmdir

PROG	bin/cat
PROG	bin/chmod
PROG	bin/cp
PROG	bin/date
PROG	bin/dd
PROG	bin/df
PROG	bin/ed
PROG	bin/expr
PROG	bin/hostname
PROG	bin/kill
PROG	bin/ln
PROG	bin/ls
PROG	bin/mkdir
PROG	bin/mt
PROG	bin/mv
PROG	bin/pax		usr/bin/tar	usr/bin/cpio
PROG	bin/ps
PROG	bin/pwd
PROG	bin/rm
PROG	bin/rmdir
PROG	bin/sh
PROG	bin/sleep
PROG	bin/stty
PROG	bin/sync

PROG	bin/test	bin/[

PROG	sbin/chown	bin/chgrp

# usr.sbin:
PROG	usr/sbin/installboot
PROG	usr/sbin/rdate

# usr.bin:

PROG	usr/bin/chflags
PROG	usr/bin/cksum
PROG	usr/bin/cmp
PROG	usr/bin/ftp
PROG	usr/bin/more	usr/bin/less
PROG	usr/bin/rsh
PROG	usr/bin/sed
PROG	usr/bin/tip
PROG	usr/bin/vi

PROG	usr/bin/gzip	usr/bin/gzcat usr/bin/gunzip

# install.md still uses sort
PROG	usr/bin/sort

SPECIAL	vi		srcdir	external/bsd/nvi/usr.bin/nvi

SPECIAL	disklabel	srcdir	distrib/utils/x_disklabel
SPECIAL	ed		srcdir	distrib/utils/x_ed
SPECIAL	fsck_ffs	srcdir	distrib/utils/x_fsck_ffs
SPECIAL	gzip		srcdir	distrib/utils/x_gzip
SPECIAL	ifconfig	srcdir	distrib/utils/x_ifconfig
SPECIAL	newfs		srcdir	distrib/utils/x_newfs
SPECIAL	ping		srcdir	distrib/utils/x_ping
SPECIAL	route		srcdir	distrib/utils/x_route
SPECIAL	umount		srcdir	distrib/utils/x_umount

SPECIAL	more		srcdir	distrib/utils/more
SPECIAL	edlabel		srcdir	distrib/utils/edlabel

ARGVLN	sh -sh

LIBS	libhack.o
LIBS	-lrmt -ledit -lutil -lterminfo -lcrypt -ll -lm -lkvm -lz -lprop