Move the programs that are common to all ramdisks into common/list.ramdisk.
The build ramdiskbin programs have the same code size, the overall sizes differ slightly due to the way rodata.str.1 gets relaxed.
This commit is contained in:
parent
9f13d14c8a
commit
202882dcbc
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.ramdisk,v 1.1 2006/06/02 22:11:07 hubertf Exp $
|
||||
# $NetBSD: Makefile.ramdisk,v 1.2 2006/11/18 16:09:57 dsl Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
|
||||
@ -11,7 +11,8 @@ WARNS= 1
|
||||
DBG= -Os
|
||||
|
||||
CRUNCHBIN= ramdiskbin
|
||||
LISTS= ${.CURDIR}/list ${I386COMMON}/list.ramdisk
|
||||
LISTS= ${I386COMMON}/list.ramdisk
|
||||
LISTS+= ${.CURDIR}/list
|
||||
MTREECONF= ${DISTRIBDIR}/common/mtree.common
|
||||
IMAGEENDIAN= le
|
||||
IMAGEDEPENDS+= ${CRUNCHBIN} \
|
||||
|
@ -1,12 +1,67 @@
|
||||
# $NetBSD: list.ramdisk,v 1.1 2006/06/02 22:11:07 hubertf Exp $
|
||||
# $NetBSD: list.ramdisk,v 1.2 2006/11/18 16:09:57 dsl Exp $
|
||||
|
||||
SRCDIRS usr.bin/less
|
||||
SRCDIRS bin sbin usr.bin usr.sbin gnu/usr.bin
|
||||
|
||||
# Programs for a minimal ramdisk image
|
||||
|
||||
PROG bin/cat
|
||||
PROG bin/chmod
|
||||
PROG bin/cp
|
||||
PROG bin/ln
|
||||
PROG bin/ls
|
||||
PROG bin/mkdir
|
||||
PROG bin/mv
|
||||
PROG bin/pax usr/bin/tar
|
||||
PROG bin/pwd
|
||||
PROG bin/rm
|
||||
PROG bin/sh
|
||||
PROG bin/stty
|
||||
|
||||
PROG sbin/disklabel
|
||||
PROG sbin/dmesg
|
||||
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_msdos
|
||||
PROG sbin/mount_nfs
|
||||
PROG sbin/newfs sbin/mount_mfs
|
||||
PROG sbin/ping
|
||||
PROG sbin/reboot sbin/halt
|
||||
PROG sbin/route
|
||||
PROG sbin/swapctl
|
||||
PROG sbin/umount
|
||||
|
||||
PROG usr/bin/ftp
|
||||
PROG usr/bin/gzip usr/bin/gzcat usr/bin/gunzip
|
||||
PROG usr/bin/sed
|
||||
|
||||
# One of these is rather useful
|
||||
# PROG usr/bin/less usr/bin/more
|
||||
# PROG usr/bin/more usr/bin/less
|
||||
|
||||
# sysinst doesn't use installboot
|
||||
# PROG usr/sbin/installboot
|
||||
|
||||
PROG usr/sbin/chown usr/bin/chgrp
|
||||
PROG usr/sbin/chroot
|
||||
|
||||
SPECIAL ifconfig srcdir distrib/utils/x_ifconfig
|
||||
SPECIAL ping srcdir distrib/utils/x_ping
|
||||
SPECIAL route srcdir distrib/utils/x_route
|
||||
# SPECIAL more srcdir distrib/utils/more
|
||||
|
||||
# init invokes the shell as -sh
|
||||
ARGVLN sh -sh
|
||||
|
||||
# libhack.o is built by Makefile & included Makefile.inc
|
||||
LIBS libhack.o -lbz2 -lutil -ll -lm
|
||||
LIBS libhack.o -lbz2 -ledit -lutil -lcurses -ltermcap -lrmt -lcrypt -ll -lm -lz
|
||||
|
||||
# various files that we need in /etc for the install
|
||||
COPY ${NETBSDSRCDIR}/etc/group etc/group
|
||||
|
@ -1,75 +1,33 @@
|
||||
# $NetBSD: list,v 1.1 2006/06/02 22:11:07 hubertf Exp $
|
||||
# $NetBSD: list,v 1.2 2006/11/18 16:09:57 dsl Exp $
|
||||
#
|
||||
|
||||
SRCDIRS usr.bin/less
|
||||
|
||||
PROG bin/cat
|
||||
PROG bin/chio
|
||||
PROG bin/chmod
|
||||
PROG bin/cp
|
||||
PROG bin/dd
|
||||
PROG bin/df
|
||||
PROG bin/ed
|
||||
PROG bin/ln
|
||||
PROG bin/ls
|
||||
PROG bin/mkdir
|
||||
PROG bin/mt
|
||||
PROG bin/mv
|
||||
PROG bin/pax usr/bin/tar
|
||||
PROG bin/pwd
|
||||
PROG bin/rcmd
|
||||
PROG bin/rm
|
||||
PROG bin/sh
|
||||
PROG bin/stty
|
||||
PROG bin/sync
|
||||
|
||||
PROG sbin/dhclient
|
||||
PROG sbin/disklabel
|
||||
PROG sbin/dmesg
|
||||
PROG sbin/fdisk
|
||||
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_ext2fs
|
||||
PROG sbin/mount_ffs
|
||||
PROG sbin/mount_msdos
|
||||
PROG sbin/mount_nfs
|
||||
PROG sbin/mount_ntfs
|
||||
PROG sbin/newfs sbin/mount_mfs
|
||||
PROG sbin/ping
|
||||
PROG sbin/raidctl
|
||||
PROG sbin/reboot sbin/halt
|
||||
PROG sbin/restore sbin/rrestore
|
||||
PROG sbin/route
|
||||
PROG sbin/scsictl
|
||||
PROG sbin/shutdown
|
||||
PROG sbin/slattach
|
||||
PROG sbin/swapctl
|
||||
PROG sbin/sysctl
|
||||
PROG sbin/umount
|
||||
|
||||
PROG usr/bin/ftp
|
||||
PROG usr/bin/gzip usr/bin/gzcat usr/bin/gunzip
|
||||
PROG usr/bin/less usr/bin/more
|
||||
PROG usr/bin/sed
|
||||
PROG usr/bin/tip
|
||||
|
||||
PROG usr/sbin/installboot
|
||||
|
||||
PROG usr/sbin/chown usr/bin/chgrp
|
||||
PROG usr/sbin/chroot
|
||||
PROG usr/sbin/wiconfig
|
||||
|
||||
SPECIAL dhclient srcdir distrib/utils/x_dhclient
|
||||
SPECIAL ifconfig srcdir distrib/utils/x_ifconfig
|
||||
SPECIAL ping srcdir distrib/utils/x_ping
|
||||
SPECIAL route srcdir distrib/utils/x_route
|
||||
|
||||
LIBS libhack.o -lbz2 -ledit -lutil -lcurses -ltermcap -lrmt -lcrypt -ll -lm -lz
|
||||
|
||||
# various files that we need in /etc for the install
|
||||
COPY ${NETBSDSRCDIR}/usr.sbin/dhcp/clientscript/dhclient-script sbin/dhclient-script 555
|
||||
|
@ -1,65 +1,20 @@
|
||||
# $NetBSD: list,v 1.2 2006/11/18 10:01:32 dsl Exp $
|
||||
# $NetBSD: list,v 1.3 2006/11/18 16:09:57 dsl Exp $
|
||||
|
||||
PROG bin/cat
|
||||
PROG bin/chmod
|
||||
PROG bin/cp
|
||||
PROG bin/dd
|
||||
PROG bin/df
|
||||
PROG bin/ed
|
||||
PROG bin/ln
|
||||
PROG bin/ls
|
||||
PROG bin/mkdir
|
||||
PROG bin/mt
|
||||
PROG bin/mv
|
||||
PROG bin/pax usr/bin/tar
|
||||
PROG bin/pwd
|
||||
PROG bin/rcmd
|
||||
PROG bin/rm
|
||||
PROG bin/sh
|
||||
PROG bin/stty
|
||||
PROG bin/sync
|
||||
|
||||
PROG sbin/disklabel
|
||||
PROG sbin/dmesg
|
||||
PROG sbin/fdisk
|
||||
PROG sbin/fsck
|
||||
PROG sbin/fsck_ffs
|
||||
PROG sbin/ifconfig
|
||||
PROG sbin/init
|
||||
# PROG sbin/mbrlabel
|
||||
PROG sbin/mknod
|
||||
PROG sbin/mount
|
||||
PROG sbin/mount_cd9660
|
||||
PROG sbin/mount_ffs
|
||||
PROG sbin/mount_kernfs
|
||||
PROG sbin/mount_msdos
|
||||
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/swapctl
|
||||
PROG sbin/umount
|
||||
|
||||
PROG usr/bin/ftp
|
||||
PROG usr/bin/gzip usr/bin/gzcat usr/bin/gunzip
|
||||
PROG usr/bin/more usr/bin/less
|
||||
PROG usr/bin/sed
|
||||
PROG sbin/mount_kernfs
|
||||
|
||||
# PROG usr/bin/tip
|
||||
|
||||
# sysinst doesn't use installboot
|
||||
# PROG usr/sbin/installboot
|
||||
|
||||
PROG usr/sbin/chown usr/bin/chgrp
|
||||
PROG usr/sbin/chroot
|
||||
|
||||
SPECIAL ed srcdir distrib/utils/x_ed
|
||||
SPECIAL ifconfig srcdir distrib/utils/x_ifconfig
|
||||
SPECIAL more srcdir distrib/utils/more
|
||||
SPECIAL ping srcdir distrib/utils/x_ping
|
||||
SPECIAL route srcdir distrib/utils/x_route
|
||||
SPECIAL umount srcdir distrib/utils/x_umount
|
||||
SPECIAL gzip srcdir distrib/utils/x_gzip
|
||||
|
||||
LIBS libhack.o -lbz2 -ltermcap -lutil -lrmt -ll -lm -lz
|
||||
|
@ -1,67 +1,24 @@
|
||||
# $NetBSD: list,v 1.1 2006/06/02 22:11:07 hubertf Exp $
|
||||
# $NetBSD: list,v 1.2 2006/11/18 16:09:57 dsl Exp $
|
||||
|
||||
PROG bin/cat
|
||||
PROG bin/chio
|
||||
PROG bin/chmod
|
||||
PROG bin/cp
|
||||
PROG bin/dd
|
||||
PROG bin/df
|
||||
PROG bin/ed
|
||||
PROG bin/ln
|
||||
PROG bin/ls
|
||||
PROG bin/mkdir
|
||||
PROG bin/mt
|
||||
PROG bin/mv
|
||||
PROG bin/pax usr/bin/tar
|
||||
PROG bin/pwd
|
||||
PROG bin/rcmd
|
||||
PROG bin/rm
|
||||
PROG bin/sh
|
||||
PROG bin/stty
|
||||
PROG bin/sync
|
||||
|
||||
PROG sbin/disklabel
|
||||
PROG sbin/dmesg
|
||||
PROG sbin/fdisk
|
||||
PROG sbin/fsck
|
||||
PROG sbin/fsck_ffs
|
||||
PROG sbin/ifconfig
|
||||
PROG sbin/init
|
||||
PROG sbin/mbrlabel
|
||||
PROG sbin/mknod
|
||||
PROG sbin/mount
|
||||
PROG sbin/mount_cd9660
|
||||
PROG sbin/mount_ffs
|
||||
PROG sbin/mount_kernfs
|
||||
PROG sbin/mount_msdos
|
||||
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/scsictl
|
||||
PROG sbin/swapctl
|
||||
PROG sbin/umount
|
||||
|
||||
PROG usr/bin/ftp
|
||||
PROG usr/bin/gzip usr/bin/gzcat usr/bin/gunzip
|
||||
PROG usr/bin/more usr/bin/less
|
||||
PROG usr/bin/sed
|
||||
PROG usr/bin/tip
|
||||
|
||||
# sysinst doesn't use installboot
|
||||
# PROG usr/sbin/installboot
|
||||
|
||||
PROG usr/sbin/bad144
|
||||
PROG usr/sbin/chown usr/bin/chgrp
|
||||
PROG usr/sbin/chroot
|
||||
|
||||
SPECIAL ed srcdir distrib/utils/x_ed
|
||||
SPECIAL ifconfig srcdir distrib/utils/x_ifconfig
|
||||
SPECIAL more srcdir distrib/utils/more
|
||||
SPECIAL ping srcdir distrib/utils/x_ping
|
||||
SPECIAL route srcdir distrib/utils/x_route
|
||||
SPECIAL umount srcdir distrib/utils/x_umount
|
||||
|
||||
LIBS libhack.o -lbz2 -lutil -lcurses -ltermcap -lcrypt -ll -lm -lrmt -lz
|
||||
|
@ -1,52 +1,7 @@
|
||||
# $NetBSD: list,v 1.2 2006/11/18 10:01:32 dsl Exp $
|
||||
# $NetBSD: list,v 1.3 2006/11/18 16:09:57 dsl Exp $
|
||||
|
||||
PROG bin/cat
|
||||
PROG bin/chmod
|
||||
PROG bin/cp
|
||||
PROG bin/ln
|
||||
PROG bin/ls
|
||||
PROG bin/mkdir
|
||||
PROG bin/mv
|
||||
PROG bin/pax usr/bin/tar
|
||||
PROG bin/pwd
|
||||
PROG bin/rm
|
||||
PROG bin/sh
|
||||
PROG bin/stty
|
||||
|
||||
PROG sbin/disklabel
|
||||
PROG sbin/dmesg
|
||||
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
|
||||
# This might just be here for dmesg! (which doesn't use it any more)
|
||||
PROG sbin/mount_kernfs
|
||||
PROG sbin/mount_msdos
|
||||
PROG sbin/mount_nfs
|
||||
PROG sbin/newfs sbin/mount_mfs
|
||||
PROG sbin/ping
|
||||
PROG sbin/reboot sbin/halt
|
||||
PROG sbin/route
|
||||
PROG sbin/swapctl
|
||||
PROG sbin/umount
|
||||
|
||||
PROG usr/bin/ftp
|
||||
PROG usr/bin/gzip usr/bin/gzcat usr/bin/gunzip
|
||||
PROG usr/bin/sed
|
||||
|
||||
# sysinst doesn't use installboot
|
||||
# PROG usr/sbin/installboot
|
||||
|
||||
PROG usr/sbin/chown usr/bin/chgrp
|
||||
PROG usr/sbin/chroot
|
||||
|
||||
SPECIAL ifconfig srcdir distrib/utils/x_ifconfig
|
||||
SPECIAL ping srcdir distrib/utils/x_ping
|
||||
SPECIAL route srcdir distrib/utils/x_route
|
||||
SPECIAL umount srcdir distrib/utils/x_umount
|
||||
SPECIAL gzip srcdir distrib/utils/x_gzip
|
||||
|
||||
LIBS libhack.o -lbz2 -lutil -lcurses -ltermcap -lcrypt -ll -lm -lz
|
||||
|
Loading…
Reference in New Issue
Block a user