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:33:56 +0100 |
commit | e7bc441686c384f025a8b722441bdb1f66d5f8db (patch) | |
tree | cdccd6dd0c16a3c4e3eaee911821f73a851eb333 /meta/recipes-kernel/modutils/modutils-cross | |
parent | 18a0f1dfd9d36e53a3adba74f30e756769a74a0b (diff) | |
download | openembedded-core-e7bc441686c384f025a8b722441bdb1f66d5f8db.tar.gz openembedded-core-e7bc441686c384f025a8b722441bdb1f66d5f8db.tar.bz2 openembedded-core-e7bc441686c384f025a8b722441bdb1f66d5f8db.tar.xz openembedded-core-e7bc441686c384f025a8b722441bdb1f66d5f8db.zip |
modutils: remove modutils
As 2.4 support is being phased out, remove modutils.
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 e9f122449..000000000 --- a/meta/recipes-kernel/modutils/modutils-cross/module.h.diff +++ /dev/null @@ -1,35 +0,0 @@ -Upstream-Status: Pending - -diff -urN modutils-2.4.27.orig/include/module.h modutils-2.4.27/include/module.h ---- modutils-2.4.27.orig/include/module.h 2003-01-27 11:22:02.000000000 -0500 -+++ modutils-2.4.27/include/module.h 2004-08-23 19:52:34.756772712 -0400 -@@ -88,6 +88,20 @@ - /* For sizeof() which are related to the module platform and not to the - environment isnmod is running in, use sizeof_xx instead of sizeof(xx). */ - -+/* Additional test for OE, set tgt_blah correct for the target arch, *not* the -+ native arch. If int isn't 32bit on the native machine we're in trouble. */ -+ -+#ifdef ARCH_arm -+#define tgt_sizeof_char sizeof(char) -+#define tgt_sizeof_short sizeof(short) -+#define tgt_sizeof_int sizeof(int) -+#define tgt_sizeof_long 4 -+#define tgt_sizeof_char_p 4 -+#define tgt_sizeof_void_p 4 -+#define tgt_long int -+#define tgt_long_fmt "l" -+#define tgt_strtoul strtoul -+#else - #define tgt_sizeof_char sizeof(char) - #define tgt_sizeof_short sizeof(short) - #define tgt_sizeof_int sizeof(int) -@@ -97,7 +111,7 @@ - #define tgt_long long - #define tgt_long_fmt "l" - #define tgt_strtoul strtoul -- -+#endif - /* This assumes that long long on a 32 bit system is equivalent to long on the - * equivalent 64 bit system. Also that void and char pointers are 8 bytes on - * all 64 bit systems. Add per system tweaks if it ever becomes necessary. |