summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2023-11-22 17:19:57 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2023-11-29 12:33:24 +0100
commita2b06c3dca54c086cbd874c9547e281205a4ebc5 (patch)
treed2409619ce1dc0cbf5cc3ffd9220b2e0efc80362 /src/tools
parent97d420a465c4920ee6acfb2a9899d996987c4215 (diff)
downloadbootstrappable-toolchain-a2b06c3dca54c086cbd874c9547e281205a4ebc5.tar.gz
Update to latest rules
Diffstat (limited to 'src/tools')
-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": ["."]
}