summaryrefslogtreecommitdiff
path: root/target/linux/generic-2.6/patches-2.6.24/902-darwin_scripts_include.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2008-05-30 17:19:24 +0000
committerImre Kaloz <kaloz@openwrt.org>2008-05-30 17:19:24 +0000
commit74215746b332d79139e92650a4240c97e3a88845 (patch)
treec4c9b4bf8791e93a1d21aad5b904bb17a814c726 /target/linux/generic-2.6/patches-2.6.24/902-darwin_scripts_include.patch
parent2259476f060ea4b9ca9cffa82ad052a690606fab (diff)
downloadmtk-20170518-74215746b332d79139e92650a4240c97e3a88845.zip
mtk-20170518-74215746b332d79139e92650a4240c97e3a88845.tar.gz
mtk-20170518-74215746b332d79139e92650a4240c97e3a88845.tar.bz2
refresh generic 2.6.24 patches to match upstream style
SVN-Revision: 11302
Diffstat (limited to 'target/linux/generic-2.6/patches-2.6.24/902-darwin_scripts_include.patch')
-rw-r--r--target/linux/generic-2.6/patches-2.6.24/902-darwin_scripts_include.patch38
1 files changed, 13 insertions, 25 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.24/902-darwin_scripts_include.patch b/target/linux/generic-2.6/patches-2.6.24/902-darwin_scripts_include.patch
index db7d6cd..e7f2263 100644
--- a/target/linux/generic-2.6/patches-2.6.24/902-darwin_scripts_include.patch
+++ b/target/linux/generic-2.6/patches-2.6.24/902-darwin_scripts_include.patch
@@ -1,7 +1,5 @@
-Index: linux-2.6.24.7/scripts/genksyms/parse.c_shipped
-===================================================================
---- linux-2.6.24.7.orig/scripts/genksyms/parse.c_shipped
-+++ linux-2.6.24.7/scripts/genksyms/parse.c_shipped
+--- a/scripts/genksyms/parse.c_shipped
++++ b/scripts/genksyms/parse.c_shipped
@@ -160,7 +160,9 @@
@@ -12,10 +10,8 @@ Index: linux-2.6.24.7/scripts/genksyms/parse.c_shipped
#include "genksyms.h"
static int is_typedef;
-Index: linux-2.6.24.7/scripts/genksyms/parse.y
-===================================================================
---- linux-2.6.24.7.orig/scripts/genksyms/parse.y
-+++ linux-2.6.24.7/scripts/genksyms/parse.y
+--- a/scripts/genksyms/parse.y
++++ b/scripts/genksyms/parse.y
@@ -24,7 +24,9 @@
%{
@@ -26,10 +22,8 @@ Index: linux-2.6.24.7/scripts/genksyms/parse.y
#include "genksyms.h"
static int is_typedef;
-Index: linux-2.6.24.7/scripts/kallsyms.c
-===================================================================
---- linux-2.6.24.7.orig/scripts/kallsyms.c
-+++ linux-2.6.24.7/scripts/kallsyms.c
+--- a/scripts/kallsyms.c
++++ b/scripts/kallsyms.c
@@ -28,6 +28,35 @@
#include <stdlib.h>
#include <string.h>
@@ -66,11 +60,9 @@ Index: linux-2.6.24.7/scripts/kallsyms.c
#define KSYM_NAME_LEN 128
-Index: linux-2.6.24.7/scripts/kconfig/Makefile
-===================================================================
---- linux-2.6.24.7.orig/scripts/kconfig/Makefile
-+++ linux-2.6.24.7/scripts/kconfig/Makefile
-@@ -90,6 +90,9 @@ check-lxdialog := $(srctree)/$(src)/lxd
+--- a/scripts/kconfig/Makefile
++++ b/scripts/kconfig/Makefile
+@@ -90,6 +90,9 @@
# we really need to do so. (Do not call gcc as part of make mrproper)
HOST_EXTRACFLAGS = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ccflags)
HOST_LOADLIBES = $(shell $(CONFIG_SHELL) $(check-lxdialog) -ldflags $(HOSTCC))
@@ -80,10 +72,8 @@ Index: linux-2.6.24.7/scripts/kconfig/Makefile
HOST_EXTRACFLAGS += -DLOCALE
-Index: linux-2.6.24.7/scripts/mod/mk_elfconfig.c
-===================================================================
---- linux-2.6.24.7.orig/scripts/mod/mk_elfconfig.c
-+++ linux-2.6.24.7/scripts/mod/mk_elfconfig.c
+--- a/scripts/mod/mk_elfconfig.c
++++ b/scripts/mod/mk_elfconfig.c
@@ -1,7 +1,11 @@
#include <stdio.h>
#include <stdlib.h>
@@ -96,10 +86,8 @@ Index: linux-2.6.24.7/scripts/mod/mk_elfconfig.c
int
main(int argc, char **argv)
-Index: linux-2.6.24.7/scripts/mod/modpost.h
-===================================================================
---- linux-2.6.24.7.orig/scripts/mod/modpost.h
-+++ linux-2.6.24.7/scripts/mod/modpost.h
+--- a/scripts/mod/modpost.h
++++ b/scripts/mod/modpost.h
@@ -7,7 +7,11 @@
#include <sys/mman.h>
#include <fcntl.h>