diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-10-22 17:00:50 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-10-22 17:00:50 +0100 |
commit | a1a308c54671f20bf9eaf87f74fc6e5ec01842c9 (patch) | |
tree | cc7c5b2dec1ec003d788c4578bc668915635cd40 | |
parent | 699fb85c0af1ae5da6cd0c28bd185218c8ee5183 (diff) | |
parent | 559cb333d00e09f88a520ad01e4d7204192b1376 (diff) | |
download | poky-a1a308c54671f20bf9eaf87f74fc6e5ec01842c9.tar.gz |
Merge branch 'marcin/trunk' of git://git.pokylinux.org/poky-contrib
-rw-r--r-- | meta/packages/linux-libc-headers/files/unifdef.patch | 31 | ||||
-rw-r--r-- | meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb | 5 |
2 files changed, 34 insertions, 2 deletions
diff --git a/meta/packages/linux-libc-headers/files/unifdef.patch b/meta/packages/linux-libc-headers/files/unifdef.patch new file mode 100644 index 0000000000..bda8860009 --- /dev/null +++ b/meta/packages/linux-libc-headers/files/unifdef.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | Index: linux-2.6.20/scripts/unifdef.c | ||
2 | =================================================================== | ||
3 | --- linux-2.6.20.orig/scripts/unifdef.c | ||
4 | +++ linux-2.6.20/scripts/unifdef.c | ||
5 | @@ -206,7 +206,7 @@ static void done(void); | ||
6 | static void error(const char *); | ||
7 | static int findsym(const char *); | ||
8 | static void flushline(bool); | ||
9 | -static Linetype getline(void); | ||
10 | +static Linetype parseline(void); | ||
11 | static Linetype ifeval(const char **); | ||
12 | static void ignoreoff(void); | ||
13 | static void ignoreon(void); | ||
14 | @@ -512,7 +512,7 @@ process(void) | ||
15 | |||
16 | for (;;) { | ||
17 | linenum++; | ||
18 | - lineval = getline(); | ||
19 | + lineval = parseline(); | ||
20 | trans_table[ifstate[depth]][lineval](); | ||
21 | debug("process %s -> %s depth %d", | ||
22 | linetype_name[lineval], | ||
23 | @@ -526,7 +526,7 @@ process(void) | ||
24 | * help from skipcomment(). | ||
25 | */ | ||
26 | static Linetype | ||
27 | -getline(void) | ||
28 | +parseline(void) | ||
29 | { | ||
30 | const char *cp; | ||
31 | int cursym; | ||
diff --git a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb index c857336118..9ade91ca4b 100644 --- a/meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb +++ b/meta/packages/linux-libc-headers/linux-libc-headers_2.6.20.bb | |||
@@ -2,10 +2,11 @@ require linux-libc-headers.inc | |||
2 | 2 | ||
3 | INHIBIT_DEFAULT_DEPS = "1" | 3 | INHIBIT_DEFAULT_DEPS = "1" |
4 | DEPENDS += "unifdef-native" | 4 | DEPENDS += "unifdef-native" |
5 | PR = "r8" | 5 | PR = "r9" |
6 | 6 | ||
7 | SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \ | 7 | SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \ |
8 | file://procinfo.h" | 8 | file://procinfo.h \ |
9 | file://unifdef.patch;patch=1" | ||
9 | 10 | ||
10 | S = "${WORKDIR}/linux-${PV}" | 11 | S = "${WORKDIR}/linux-${PV}" |
11 | 12 | ||