busybox.mk (1126B)
1 TARG = busybox 2 INSTALL_BIN = busybox 3 INSTALL_SYMLINK = \ 4 busybox /bin/addgroup \ 5 busybox /bin/adduser \ 6 busybox /bin/bunzip2 \ 7 busybox /bin/bzcat \ 8 busybox /bin/bzip2 \ 9 busybox /bin/delgroup \ 10 busybox /bin/deluser \ 11 busybox /bin/fdisk \ 12 busybox /bin/fuser \ 13 busybox /bin/gunzip \ 14 busybox /bin/gzip \ 15 busybox /bin/ifconfig \ 16 busybox /bin/ip \ 17 busybox /bin/kbd_mode \ 18 busybox /bin/killall \ 19 busybox /bin/less \ 20 busybox /bin/losetup \ 21 busybox /bin/nc \ 22 busybox /bin/ping \ 23 busybox /bin/reset \ 24 busybox /bin/route \ 25 busybox /bin/tac \ 26 busybox /bin/telnet \ 27 busybox /bin/tftp \ 28 busybox /bin/tftpd \ 29 busybox /bin/top \ 30 busybox /bin/wget \ 31 busybox /bin/xz \ 32 busybox /bin/xzcat \ 33 busybox /bin/zcat 34 35 <$mkbuild/mk.common 36 37 busybox:Q: 38 # https://sourceware.org/bugzilla/show_bug.cgi?id=16698 39 if test x"$arch" = x"arm"; then 40 export LDFLAGS="`printf "%s" \"$LDFLAGS\" | sed 's@-Wl,--gc-sections@@g'`" 41 sed 's@^ check_libc_is_glibc.*$@echo ""@g' -i scripts/trylink 42 fi 43 cp ../busybox.config .config 44 make -j$nprocs AR="$AR" HOSTCC="$HOSTCC -static" CC="$CC" LDFLAGS="$LDFLAGS" \ 45 STRIP="$STRIP" busybox