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 | 40 |
1 files changed, 40 insertions, 0 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 new file mode 100644 index 0000000000..cd4291d91b --- /dev/null +++ b/meta-networking/recipes-connectivity/miniupnpd/files/0001-Add-OpenEmbedded-cross-compile-case.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | From 54698856e5602bbd9d61e855814c854a013b4840 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 22 Dec 2018 18:47:45 -0800 | ||
4 | Subject: [PATCH] Add OpenEmbedded cross compile case | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | genconfig.sh | 11 +++++++++++ | ||
10 | 1 file changed, 11 insertions(+) | ||
11 | |||
12 | diff --git a/genconfig.sh b/genconfig.sh | ||
13 | index dc42462..59922e9 100755 | ||
14 | --- a/genconfig.sh | ||
15 | +++ b/genconfig.sh | ||
16 | @@ -98,6 +98,12 @@ if [ -f ../shared/tomato_version ]; then | ||
17 | OS_VERSION="Tomato $TOMATO_VER" | ||
18 | fi | ||
19 | |||
20 | +# OpenEmbedded special case | ||
21 | +if [ -f ./os.openembedded ]; then | ||
22 | + OS_NAME=OpenEmbedded | ||
23 | + OS_VERSION=$(cat ./os.openembedded) | ||
24 | +fi | ||
25 | + | ||
26 | ${RM} ${CONFIGFILE} | ||
27 | |||
28 | echo "/* MiniUPnP Project" >> ${CONFIGFILE} | ||
29 | @@ -318,6 +324,11 @@ case $OS_NAME in | ||
30 | echo "#define USE_IFACEWATCHER 1" >> ${CONFIGFILE} | ||
31 | FW=netfilter | ||
32 | ;; | ||
33 | + OpenEmbedded) | ||
34 | + OS_URL=http://www.openembedded.org/ | ||
35 | + echo "#define USE_IFACEWATCHER 1" >> ${CONFIGFILE} | ||
36 | + FW=netfilter | ||
37 | + ;; | ||
38 | AstLinux) | ||
39 | OS_URL=http://www.astlinux.org/ | ||
40 | echo "#define USE_IFACEWATCHER 1" >> ${CONFIGFILE} | ||