diff options
Diffstat (limited to 'meta-networking/recipes-connectivity/miniupnpd/files/0001-Add-OpenEmbedded-cross-compile-case.patch')
-rw-r--r-- | meta-networking/recipes-connectivity/miniupnpd/files/0001-Add-OpenEmbedded-cross-compile-case.patch | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/meta-networking/recipes-connectivity/miniupnpd/files/0001-Add-OpenEmbedded-cross-compile-case.patch b/meta-networking/recipes-connectivity/miniupnpd/files/0001-Add-OpenEmbedded-cross-compile-case.patch index cd4291d91b..e33d8eac1d 100644 --- a/meta-networking/recipes-connectivity/miniupnpd/files/0001-Add-OpenEmbedded-cross-compile-case.patch +++ b/meta-networking/recipes-connectivity/miniupnpd/files/0001-Add-OpenEmbedded-cross-compile-case.patch | |||
@@ -3,17 +3,15 @@ From: Khem Raj <raj.khem@gmail.com> | |||
3 | Date: Sat, 22 Dec 2018 18:47:45 -0800 | 3 | Date: Sat, 22 Dec 2018 18:47:45 -0800 |
4 | Subject: [PATCH] Add OpenEmbedded cross compile case | 4 | Subject: [PATCH] Add OpenEmbedded cross compile case |
5 | 5 | ||
6 | Upstream-Status: Pending | 6 | Upstream-Status: Submitted [https://github.com/miniupnp/miniupnp/pull/410] |
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
8 | --- | 8 | --- |
9 | genconfig.sh | 11 +++++++++++ | 9 | genconfig.sh | 11 +++++++++++ |
10 | 1 file changed, 11 insertions(+) | 10 | 1 file changed, 11 insertions(+) |
11 | 11 | ||
12 | diff --git a/genconfig.sh b/genconfig.sh | ||
13 | index dc42462..59922e9 100755 | ||
14 | --- a/genconfig.sh | 12 | --- a/genconfig.sh |
15 | +++ b/genconfig.sh | 13 | +++ b/genconfig.sh |
16 | @@ -98,6 +98,12 @@ if [ -f ../shared/tomato_version ]; then | 14 | @@ -103,6 +103,12 @@ if [ -f ../shared/tomato_version ]; then |
17 | OS_VERSION="Tomato $TOMATO_VER" | 15 | OS_VERSION="Tomato $TOMATO_VER" |
18 | fi | 16 | fi |
19 | 17 | ||
@@ -26,14 +24,14 @@ index dc42462..59922e9 100755 | |||
26 | ${RM} ${CONFIGFILE} | 24 | ${RM} ${CONFIGFILE} |
27 | 25 | ||
28 | echo "/* MiniUPnP Project" >> ${CONFIGFILE} | 26 | echo "/* MiniUPnP Project" >> ${CONFIGFILE} |
29 | @@ -318,6 +324,11 @@ case $OS_NAME in | 27 | @@ -346,6 +352,11 @@ case $OS_NAME in |
30 | echo "#define USE_IFACEWATCHER 1" >> ${CONFIGFILE} | 28 | echo "#define USE_IFACEWATCHER 1" >> ${CONFIGFILE} |
31 | FW=netfilter | 29 | FW=iptables |
32 | ;; | 30 | ;; |
33 | + OpenEmbedded) | 31 | + OpenEmbedded) |
34 | + OS_URL=http://www.openembedded.org/ | 32 | + OS_URL=http://www.openembedded.org/ |
35 | + echo "#define USE_IFACEWATCHER 1" >> ${CONFIGFILE} | 33 | + echo "#define USE_IFACEWATCHER 1" >> ${CONFIGFILE} |
36 | + FW=netfilter | 34 | + FW=iptables |
37 | + ;; | 35 | + ;; |
38 | AstLinux) | 36 | AstLinux) |
39 | OS_URL=http://www.astlinux.org/ | 37 | OS_URL=http://www.astlinux.org/ |