From 6901b1af8fd1e234a2a8167ed861ac3591d06faf Mon Sep 17 00:00:00 2001 From: florian Date: Thu, 27 Aug 2009 08:18:01 +0000 Subject: [kernel] mode cygwin fixes for scripts/mod/file2alias git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17420 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/generic-2.6/patches-2.6.21/902-darwin_scripts_include.patch | 2 +- .../linux/generic-2.6/patches-2.6.25/902-darwin_scripts_include.patch | 2 +- .../linux/generic-2.6/patches-2.6.27/902-darwin_scripts_include.patch | 2 +- .../linux/generic-2.6/patches-2.6.28/902-darwin_scripts_include.patch | 2 +- .../linux/generic-2.6/patches-2.6.30/902-darwin_scripts_include.patch | 2 +- .../linux/generic-2.6/patches-2.6.31/902-darwin_scripts_include.patch | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'target') 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 ae7a77e16..8c22743d7 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 #include #include -+#ifndef __APPLE__ ++#if !(defined(__APPLE__) || defined(__CYGWIN__)) #include +#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 45a3f2700..88c0421f0 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 #include #include -+#ifndef __APPLE__ ++#if !(defined(__APPLE__) || defined(__CYGWIN__)) #include +#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 96fffc066..b59027d7c 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 #include #include -+#ifndef __APPLE__ ++#if !(defined(__APPLE__) || defined(__CYGWIN__)) #include +#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 c5aadd1ad..4ff153677 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 #include #include -+#ifndef __APPLE__ ++#if !(defined(__APPLE__) || defined(__CYGWIN__)) #include +#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 c5aadd1ad..4ff153677 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 #include #include -+#ifndef __APPLE__ ++#if !(defined(__APPLE__) || defined(__CYGWIN__)) #include +#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 e98a10d10..fc64c17d5 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 #include #include -+#ifndef __APPLE__ ++#if !(defined(__APPLE__) || defined(__CYGWIN__)) #include +#else +#include "../../../../../tools/sstrip/include/elf.h" -- cgit v1.2.3