diff options
author | Anders Darander <anders@chargestorm.se> | 2011-07-01 15:08:02 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-01 23:34:18 +0100 |
commit | 40f93ae7afbdd7f5b4ed61324f9568afd8b65a92 (patch) | |
tree | efdb80dc76d8a2916933c4c095228c350e10dc66 /meta/recipes-kernel/modutils/modutils-cross | |
parent | f370e45cbbe9dfa35e3b4d26190371b5d1d63d10 (diff) | |
download | poky-40f93ae7afbdd7f5b4ed61324f9568afd8b65a92.tar.gz |
modutils: remove modutils
As 2.4 support is being phased out, remove modutils.
(From OE-Core rev: e7bc441686c384f025a8b722441bdb1f66d5f8db)
Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/modutils/modutils-cross')
-rw-r--r-- | meta/recipes-kernel/modutils/modutils-cross/module.h.diff | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/meta/recipes-kernel/modutils/modutils-cross/module.h.diff b/meta/recipes-kernel/modutils/modutils-cross/module.h.diff deleted file mode 100644 index e9f1224490..0000000000 --- a/meta/recipes-kernel/modutils/modutils-cross/module.h.diff +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | diff -urN modutils-2.4.27.orig/include/module.h modutils-2.4.27/include/module.h | ||
4 | --- modutils-2.4.27.orig/include/module.h 2003-01-27 11:22:02.000000000 -0500 | ||
5 | +++ modutils-2.4.27/include/module.h 2004-08-23 19:52:34.756772712 -0400 | ||
6 | @@ -88,6 +88,20 @@ | ||
7 | /* For sizeof() which are related to the module platform and not to the | ||
8 | environment isnmod is running in, use sizeof_xx instead of sizeof(xx). */ | ||
9 | |||
10 | +/* Additional test for OE, set tgt_blah correct for the target arch, *not* the | ||
11 | + native arch. If int isn't 32bit on the native machine we're in trouble. */ | ||
12 | + | ||
13 | +#ifdef ARCH_arm | ||
14 | +#define tgt_sizeof_char sizeof(char) | ||
15 | +#define tgt_sizeof_short sizeof(short) | ||
16 | +#define tgt_sizeof_int sizeof(int) | ||
17 | +#define tgt_sizeof_long 4 | ||
18 | +#define tgt_sizeof_char_p 4 | ||
19 | +#define tgt_sizeof_void_p 4 | ||
20 | +#define tgt_long int | ||
21 | +#define tgt_long_fmt "l" | ||
22 | +#define tgt_strtoul strtoul | ||
23 | +#else | ||
24 | #define tgt_sizeof_char sizeof(char) | ||
25 | #define tgt_sizeof_short sizeof(short) | ||
26 | #define tgt_sizeof_int sizeof(int) | ||
27 | @@ -97,7 +111,7 @@ | ||
28 | #define tgt_long long | ||
29 | #define tgt_long_fmt "l" | ||
30 | #define tgt_strtoul strtoul | ||
31 | - | ||
32 | +#endif | ||
33 | /* This assumes that long long on a 32 bit system is equivalent to long on the | ||
34 | * equivalent 64 bit system. Also that void and char pointers are 8 bytes on | ||
35 | * all 64 bit systems. Add per system tweaks if it ever becomes necessary. | ||