summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2009-08-27 08:18:01 +0000
committerFlorian Fainelli <florian@openwrt.org>2009-08-27 08:18:01 +0000
commit06f095a73a786cfcb3a89000520f092977024136 (patch)
treef89526e13577e437c9a7a9c0a919864c72287342 /target/linux/generic-2.6
parent4fa28747eefa3556ef521780c840f0046221a092 (diff)
downloadmtk-20170518-06f095a73a786cfcb3a89000520f092977024136.zip
mtk-20170518-06f095a73a786cfcb3a89000520f092977024136.tar.gz
mtk-20170518-06f095a73a786cfcb3a89000520f092977024136.tar.bz2
mode cygwin fixes for scripts/mod/file2alias
SVN-Revision: 17420
Diffstat (limited to 'target/linux/generic-2.6')
-rw-r--r--target/linux/generic-2.6/patches-2.6.21/902-darwin_scripts_include.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.25/902-darwin_scripts_include.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.28/902-darwin_scripts_include.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.30/902-darwin_scripts_include.patch2
-rw-r--r--target/linux/generic-2.6/patches-2.6.31/902-darwin_scripts_include.patch2
6 files changed, 6 insertions, 6 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.21/902-darwin_scripts_include.patch b/target/linux/generic-2.6/patches-2.6.21/902-darwin_scripts_include.patch
index ae7a77e..8c22743 100644
--- a/target/linux/generic-2.6/patches-2.6.21/902-darwin_scripts_include.patch
+++ b/target/linux/generic-2.6/patches-2.6.21/902-darwin_scripts_include.patch
@@ -116,7 +116,7 @@
#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
-+#ifndef __APPLE__
++#if !(defined(__APPLE__) || defined(__CYGWIN__))
#include <elf.h>
+#else
+#include "../../../../../tools/sstrip/include/elf.h"
diff --git a/target/linux/generic-2.6/patches-2.6.25/902-darwin_scripts_include.patch b/target/linux/generic-2.6/patches-2.6.25/902-darwin_scripts_include.patch
index 45a3f27..88c0421 100644
--- a/target/linux/generic-2.6/patches-2.6.25/902-darwin_scripts_include.patch
+++ b/target/linux/generic-2.6/patches-2.6.25/902-darwin_scripts_include.patch
@@ -92,7 +92,7 @@
#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
-+#ifndef __APPLE__
++#if !(defined(__APPLE__) || defined(__CYGWIN__))
#include <elf.h>
+#else
+#include "../../../../../tools/sstrip/include/elf.h"
diff --git a/target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch b/target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch
index 96fffc0..b59027d 100644
--- a/target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch
+++ b/target/linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch
@@ -92,7 +92,7 @@
#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
-+#ifndef __APPLE__
++#if !(defined(__APPLE__) || defined(__CYGWIN__))
#include <elf.h>
+#else
+#include "../../../../../tools/sstrip/include/elf.h"
diff --git a/target/linux/generic-2.6/patches-2.6.28/902-darwin_scripts_include.patch b/target/linux/generic-2.6/patches-2.6.28/902-darwin_scripts_include.patch
index c5aadd1..4ff1536 100644
--- a/target/linux/generic-2.6/patches-2.6.28/902-darwin_scripts_include.patch
+++ b/target/linux/generic-2.6/patches-2.6.28/902-darwin_scripts_include.patch
@@ -92,7 +92,7 @@
#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
-+#ifndef __APPLE__
++#if !(defined(__APPLE__) || defined(__CYGWIN__))
#include <elf.h>
+#else
+#include "../../../../../tools/sstrip/include/elf.h"
diff --git a/target/linux/generic-2.6/patches-2.6.30/902-darwin_scripts_include.patch b/target/linux/generic-2.6/patches-2.6.30/902-darwin_scripts_include.patch
index c5aadd1..4ff1536 100644
--- a/target/linux/generic-2.6/patches-2.6.30/902-darwin_scripts_include.patch
+++ b/target/linux/generic-2.6/patches-2.6.30/902-darwin_scripts_include.patch
@@ -92,7 +92,7 @@
#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
-+#ifndef __APPLE__
++#if !(defined(__APPLE__) || defined(__CYGWIN__))
#include <elf.h>
+#else
+#include "../../../../../tools/sstrip/include/elf.h"
diff --git a/target/linux/generic-2.6/patches-2.6.31/902-darwin_scripts_include.patch b/target/linux/generic-2.6/patches-2.6.31/902-darwin_scripts_include.patch
index e98a10d..fc64c17 100644
--- a/target/linux/generic-2.6/patches-2.6.31/902-darwin_scripts_include.patch
+++ b/target/linux/generic-2.6/patches-2.6.31/902-darwin_scripts_include.patch
@@ -92,7 +92,7 @@
#include <sys/mman.h>
#include <fcntl.h>
#include <unistd.h>
-+#ifndef __APPLE__
++#if !(defined(__APPLE__) || defined(__CYGWIN__))
#include <elf.h>
+#else
+#include "../../../../../tools/sstrip/include/elf.h"