2012-01-06 00:56:31 +00:00
|
|
|
#
|
|
|
|
# This builds a variety of "base" tools, useful for an embedded
|
|
|
|
# system.
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
CRUNCH_PROGS_sbin+= dmesg sysctl init reboot
|
2012-08-29 22:55:50 +00:00
|
|
|
CRUNCH_PROGS_bin+= ls cat dd df cp hostname kill mkdir sleep ps
|
2015-10-22 18:05:11 +00:00
|
|
|
CRUNCH_PROGS_bin+= ln rm kenv mv expr
|
2012-01-06 00:56:31 +00:00
|
|
|
CRUNCH_PROGS_usr.bin+= true false hexdump tail nc w head uname tset
|
|
|
|
CRUNCH_PROGS_usr.sbin+= gpioctl
|
|
|
|
CRUNCH_ALIAS_w= uptime
|
|
|
|
CRUNCH_ALIAS_tset= reset
|
|
|
|
|
2012-08-29 22:55:50 +00:00
|
|
|
CRUNCH_PROGS_usr.bin+= vmstat
|
|
|
|
#CRUNCH_PROGS_user.bin+= systat
|
2021-01-04 16:29:40 +00:00
|
|
|
CRUNCH_LIBS+= -ldevstat -lncursesw -lmemstat -lkvm -lelf
|
2012-01-06 00:56:31 +00:00
|
|
|
|
2012-08-29 22:55:50 +00:00
|
|
|
# CRUNCH_PROGS_usr.bin+= tar
|
|
|
|
CRUNCH_PROGS_usr.bin+= cpio
|
2012-01-06 00:56:31 +00:00
|
|
|
# XXX SSL ?
|
|
|
|
CRUNCH_LIBS+= -larchive -lbz2 -lz -llzma -lbsdxml -lssl -lcrypto
|
2020-02-22 04:02:07 +00:00
|
|
|
CRUNCH_LIBS+= -lprivatezstd -lthr
|
2012-01-06 00:56:31 +00:00
|
|
|
|
|
|
|
# Clear requires tput, and it's a shell script so it won't be crunched
|
|
|
|
CRUNCH_PROGS_usr.bin+= tput
|
|
|
|
|
|
|
|
# sh
|
|
|
|
CRUNCH_PROGS_bin+= sh
|
|
|
|
CRUNCH_ALIAS_sh= -sh
|
|
|
|
CRUNCH_SUPPRESS_LINK_-sh= 1
|
|
|
|
CRUNCH_BUILDTOOLS+= bin/sh
|
|
|
|
|
|
|
|
# chown
|
|
|
|
CRUNCH_PROGS_usr.sbin+= chown
|
|
|
|
CRUNCH_ALIAS_chown= chgrp
|
|
|
|
|
|
|
|
# Basic filesystem stuff
|
|
|
|
CRUNCH_PROGS_sbin+= mount umount
|
|
|
|
|
|
|
|
# grep
|
|
|
|
# grep doesn't yet work -adrian
|
2012-08-29 22:55:50 +00:00
|
|
|
#CRUNCH_PROGS_usr.bin+= grep
|
2012-01-06 00:56:31 +00:00
|
|
|
|
|
|
|
# less/more
|
2012-08-29 22:55:50 +00:00
|
|
|
#CRUNCH_PROGS_usr.bin+= less
|
|
|
|
#CRUNCH_ALIAS_less= more
|
2012-01-06 00:56:31 +00:00
|
|
|
|
|
|
|
# passwd
|
|
|
|
CRUNCH_PROGS_usr.bin+= passwd
|
|
|
|
# These need to be shared, or PAM wants to include _all_ of the libraries
|
|
|
|
# at runtime.
|
|
|
|
CRUNCH_SHLIBS+= -lpam -lbsm
|
|
|
|
|
|
|
|
# gzip/gunzip
|
|
|
|
CRUNCH_PROGS_usr.bin+= gzip
|
2012-08-29 22:55:50 +00:00
|
|
|
CRUNCH_ALIAS_gzip= gunzip gzcat zcat
|
2012-01-06 00:56:31 +00:00
|
|
|
CRUNCH_LIBS+= -lz -llzma -lbz2
|