summaryrefslogtreecommitdiff
path: root/src/tools/busybox-1.36.TARGETS
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/busybox-1.36.TARGETS')
-rw-r--r--src/tools/busybox-1.36.TARGETS3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/busybox-1.36.TARGETS b/src/tools/busybox-1.36.TARGETS
index ab5d90b..f569c0d 100644
--- a/src/tools/busybox-1.36.TARGETS
+++ b/src/tools/busybox-1.36.TARGETS
@@ -15,6 +15,9 @@
, "${MAKE} HOSTCC=\"${CC} -static\" HOSTCXX=\"${CXX} -static\" defconfig >configure.log 2>&1 || (cat configure.log && exit 1)"
, "${MAKE} -j${NJOBS} HOSTCC=\"${CC} -static\" HOSTCXX=\"${CXX} -static\" >build.log 2>&1 || (cat configure.log build.log && exit 1)"
, "${MAKE} -j${NJOBS} HOSTCC=\"${CC} -static\" HOSTCXX=\"${CXX} -static\" CONFIG_PREFIX=${DESTDIR} install >>build.log 2>&1 || (cat configure.log build.log && exit 1)"
+ , "cd ${DESTDIR}"
+ , "for d in sbin usr/bin usr/sbin; do cp -l bin/busybox $d; done"
+ , "for l in $(find sbin usr/bin usr/sbin -type l); do ln -sf busybox $l; done"
]
, "out_dirs": ["."]
}