summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/build/tools/200-sstrip.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/scripts/build/tools/200-sstrip.sh b/scripts/build/tools/200-sstrip.sh
index d95eda8..b72aa79 100644
--- a/scripts/build/tools/200-sstrip.sh
+++ b/scripts/build/tools/200-sstrip.sh
@@ -28,11 +28,16 @@ case "${CT_SSTRIP_FROM}" in
buildroot)
do_tools_sstrip_get() {
- CT_GetSVN sstrip svn://uclibc.org/trunk/buildroot/toolchain/sstrip
+ CT_GetFile sstrip .c http://git.buildroot.net/buildroot/plain/toolchain/sstrip
}
do_tools_sstrip_extract() {
- CT_Extract sstrip
- CT_Patch sstrip
+ # We leave the sstrip maintenance to the buildroot people:
+ # -> any fix-up goes directly there
+ # -> we don't have patches for it
+ # -> we don't need to patch it
+ # -> just create a directory in src/, and copy it there.
+ CT_DoExecLog DEBUG mkdir -p "${CT_SRC_DIR}/sstrip"
+ CT_DoExecLog DEBUG cp -v "${CT_TARBALLS_DIR}/sstrip.c" "${CT_SRC_DIR}/sstrip"
}
do_tools_sstrip_build() {
CT_DoStep INFO "Installing sstrip"