summaryrefslogtreecommitdiffstats
path: root/package/softether/0004-cross-compile.patch
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2014-10-04 23:44:58 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-03-08 15:53:12 +0100
commit6aa6a84de0c08da282c443c7688409ce3c1a0edf (patch)
tree5599b5291399c8d6f657a3c807a1b7c1631e1275 /package/softether/0004-cross-compile.patch
parent063ff25f6aeb626da03c49d5216bdd3c6b4f0482 (diff)
downloadbuildroot-6aa6a84de0c08da282c443c7688409ce3c1a0edf.tar.gz
buildroot-6aa6a84de0c08da282c443c7688409ce3c1a0edf.zip
package/softether: New package
Package description was copied from https://launchpad.net/~dajhorn/+archive/ubuntu/softether/ [Thomas: - reorganize patches by pulling the two biggest patches from Github, and only having the remaining patches in Buildroot. - use a full destination path when installing hamcorebuilder in $(HOST_DIR)/usr/bin. - minor reformatting.] Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/softether/0004-cross-compile.patch')
-rw-r--r--package/softether/0004-cross-compile.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/package/softether/0004-cross-compile.patch b/package/softether/0004-cross-compile.patch
new file mode 100644
index 0000000000..0b31eca65c
--- /dev/null
+++ b/package/softether/0004-cross-compile.patch
@@ -0,0 +1,30 @@
+Host version of hamcorebuilder is needed during cross-compile
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+diff -uNr SoftEtherVPN-16b713b98da8dba29f0f845d5a8c36d6f7c34824.org/src/bin/hamcore/Makefile.am SoftEtherVPN-16b713b98da8dba29f0f845d5a8c36d6f7c34824/src/bin/hamcore/Makefile.am
+--- SoftEtherVPN-16b713b98da8dba29f0f845d5a8c36d6f7c34824.org/src/bin/hamcore/Makefile.am 2014-09-27 12:56:53.108725793 +0200
++++ SoftEtherVPN-16b713b98da8dba29f0f845d5a8c36d6f7c34824/src/bin/hamcore/Makefile.am 2014-09-27 12:57:50.280009025 +0200
+@@ -26,8 +26,8 @@
+
+ noinst_PROGRAMS = hamcore.se2
+
+-hamcore.se2$(EXEEXT): $(HAMCOREBUILDER)
+- $(HAMCOREBUILDER) $(top_srcdir)/src/bin/hamcore $@
++hamcore.se2$(EXEEXT):
++ hamcorebuilder $(top_srcdir)/src/bin/hamcore $@
+
+ install-exec-local: hamcore.se2$(EXEEXT)
+ $(INSTALL_DATA) -D hamcore.se2$(EXEEXT) $(DESTDIR)$(localstatedir)/lib/softether/hamcore.se2
+diff -uNr SoftEtherVPN-16b713b98da8dba29f0f845d5a8c36d6f7c34824.org/src/Makefile.am SoftEtherVPN-16b713b98da8dba29f0f845d5a8c36d6f7c34824/src/Makefile.am
+--- SoftEtherVPN-16b713b98da8dba29f0f845d5a8c36d6f7c34824.org/src/Makefile.am 2014-09-27 12:56:53.136726809 +0200
++++ SoftEtherVPN-16b713b98da8dba29f0f845d5a8c36d6f7c34824/src/Makefile.am 2014-09-27 12:58:12.959723109 +0200
+@@ -20,7 +20,7 @@
+ SUBDIRS = Mayaqua Cedar
+
+ # This is a nodist helper.
+-SUBDIRS += hamcorebuilder
++# SUBDIRS += hamcorebuilder
+
+ # These are shared components.
+ SUBDIRS += libsoftether bin/hamcore
OpenPOWER on IntegriCloud