1 Star 1 Fork 1

Linux OS/busybox

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
applets
.gitignore
Kbuild.src
applet_tables.c
applets.c
busybox.mkll
busybox.mkscripts
busybox.mksuid
individual.c
install.sh
usage.c
usage_compressed
usage_pod.c
applets_sh
arch
archival
configs
console-tools
coreutils
debianutils
docs
e2fsprogs
editors
examples
findutils
include
init
klibc-utils
libbb
libpwdgrp
loginutils
mailutils
miscutils
modutils
networking
printutils
procps
qemu_multiarch_testing
runit
scripts
selinux
shell
sysklogd
testsuite
util-linux
.gitignore
.indent.pro
AUTHORS
Config.in
INSTALL
LICENSE
Makefile
Makefile.custom
Makefile.flags
Makefile.help
NOFORK_NOEXEC.lst
NOFORK_NOEXEC.sh
README
TODO
TODO_unicode
make_single_applets.sh
size_single_applets.sh
克隆/下载
busybox.mkll 582 Bytes
一键复制 编辑 原始数据 按行查看 历史
Bernd Jendrissek 提交于 14年前 . fix "make install"
#!/bin/sh
# Make busybox links list file.
# input $1: full path to Config.h
# input $2: full path to applets.h
# output (stdout): list of pathnames that should be linked to busybox
# Maintainer: Larry Doolittle <ldoolitt@recycle.lbl.gov>
export LC_ALL=POSIX
export LC_CTYPE=POSIX
CONFIG_H=${1:-include/autoconf.h}
APPLETS_H=${2:-include/applets.h}
$HOSTCC -E -DMAKE_LINKS -include $CONFIG_H $APPLETS_H |
awk '/^[ \t]*LINK/{
dir=substr($2,7)
gsub("_","/",dir)
if(dir=="/ROOT") dir=""
file=$3
gsub("\"","",file)
if (file=="busybox") next
print tolower(dir) "/" file
}'
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/linux-os/busybox.git
git@gitee.com:linux-os/busybox.git
linux-os
busybox
busybox
master

搜索帮助