summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
authorLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2018-05-13 21:40:26 +0000
committerLucio Andrés Illanes Albornoz (arab, vxp) <lucio@lucioillanes.de>2018-05-13 21:40:26 +0000
commit7f17bb6c4d94b00e724fa8672da50cd33d6d6c91 (patch)
tree563eae387c770e0e7048ea972dcdc0633340798d /patches
parent40f8cd8de2b97d5f92df9897c4fc6999aba6580a (diff)
downloadmidipix_build-7f17bb6c4d94b00e724fa8672da50cd33d6d6c91.tar.bz2
midipix_build-7f17bb6c4d94b00e724fa8672da50cd33d6d6c91.tar.xz
vars/build.vars:native_packages_cmdline: adds busybox v1.28.3 (via Redfoxmoon.)
patches/busybox-1.28.3.local.patch, vars/{busybox.vars,busybox/busyboxconfig}: via Redfoxmoon.
Diffstat (limited to 'patches')
-rw-r--r--patches/busybox-1.28.3.local.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/patches/busybox-1.28.3.local.patch b/patches/busybox-1.28.3.local.patch
new file mode 100644
index 00000000..8af935a8
--- /dev/null
+++ b/patches/busybox-1.28.3.local.patch
@@ -0,0 +1,27 @@
+diff -ru busybox-1.28.3.orig/scripts/trylink busybox-1.28.3/scripts/trylink
+--- busybox-1.28.3.orig/scripts/trylink 2018-03-26 01:59:01.000000000 +0200
++++ busybox-1.28.3/scripts/trylink 2018-05-13 21:10:02.921178839 +0200
+@@ -250,13 +250,12 @@
+ LBB_STATIC=""
+ test "$CONFIG_FEATURE_LIBBUSYBOX_STATIC" = y && LBB_STATIC="-Wl,-static"
+
+- EXE="$sharedlib_dir/libbusybox.so.${BB_VER}_unstripped"
++ EXE="$sharedlib_dir/libbusybox.so.${BB_VER}"
+ try $CC $CFLAGS $LDFLAGS \
+ -o $EXE \
+ -shared -fPIC $LBB_STATIC \
+- -Wl,--enable-new-dtags \
+- -Wl,-z,combreloc \
+ -Wl,-soname="libbusybox.so.$BB_VER" \
++ -Wl,--out-dsolib,$sharedlib_dir/libbusybox.lib.a \
+ -Wl,--undefined=lbb_main \
+ $SORT_COMMON \
+ $SORT_SECTION \
+@@ -268,7 +267,6 @@
+ cat $EXE.out
+ exit 1
+ }
+- $STRIP -s --remove-section=.note --remove-section=.comment $EXE -o "$sharedlib_dir/libbusybox.so.$BB_VER"
+ chmod a+x "$sharedlib_dir/libbusybox.so.$BB_VER"
+ echo "libbusybox: $sharedlib_dir/libbusybox.so.$BB_VER"
+ fi