[oe-commits] org.oe.dev linux-libc-headers-2.6.18: don't sanitize the secret kernel syscall macros away, util-linux wants them
pH5 commit
openembedded-commits at lists.openembedded.org
Mon Oct 2 16:26:12 UTC 2006
linux-libc-headers-2.6.18: don't sanitize the secret kernel syscall macros away, util-linux wants them
Author: pH5 at openembedded.org
Branch: org.openembedded.dev
Revision: 9482aba3c011e02120024a59522901dbf368d881
ViewMTN: http://monotone.openembedded.org/revision.psp?id=9482aba3c011e02120024a59522901dbf368d881
Files:
1
packages/linux-libc-headers/linux-libc-headers-2.6.18
packages/linux-libc-headers/linux-libc-headers-2.6.18/arm-syscall-define.patch
packages/linux-libc-headers/linux-libc-headers_2.6.18.bb
Diffs:
#
# mt diff -r86d76364970d255140c3670be920bb87d880487d -r9482aba3c011e02120024a59522901dbf368d881
#
#
#
# add_dir "packages/linux-libc-headers/linux-libc-headers-2.6.18"
#
# add_file "packages/linux-libc-headers/linux-libc-headers-2.6.18/arm-syscall-define.patch"
# content [8912ac3d2d0430088c89ca8eab60211efc5e51f8]
#
# patch "packages/linux-libc-headers/linux-libc-headers_2.6.18.bb"
# from [1e920b186a160a129804d1ebc04433cb55db2487]
# to [cedf265bb1e49c993658600c08e03a87705e891c]
#
============================================================
--- packages/linux-libc-headers/linux-libc-headers-2.6.18/arm-syscall-define.patch 8912ac3d2d0430088c89ca8eab60211efc5e51f8
+++ packages/linux-libc-headers/linux-libc-headers-2.6.18/arm-syscall-define.patch 8912ac3d2d0430088c89ca8eab60211efc5e51f8
@@ -0,0 +1,22 @@
+# define the _syscall macros, needed to build util-linux
+
+Index: linux-2.6.18/include/asm-arm/unistd.h
+===================================================================
+--- linux-2.6.18.orig/include/asm-arm/unistd.h 2006-10-02 18:05:31.000000000 +0200
++++ linux-2.6.18/include/asm-arm/unistd.h 2006-10-02 18:05:47.000000000 +0200
+@@ -376,9 +376,6 @@
+ #undef __NR_ipc
+ #endif
+
+-#ifdef __KERNEL__
+-#include <linux/linkage.h>
+-
+ #define __sys2(x) #x
+ #define __sys1(x) __sys2(x)
+
+@@ -580,5 +577,4 @@
+ */
+ #define cond_syscall(x) asm(".weak\t" #x "\n\t.set\t" #x ",sys_ni_syscall")
+
+-#endif /* __KERNEL__ */
+ #endif /* __ASM_ARM_UNISTD_H */
============================================================
--- packages/linux-libc-headers/linux-libc-headers_2.6.18.bb 1e920b186a160a129804d1ebc04433cb55db2487
+++ packages/linux-libc-headers/linux-libc-headers_2.6.18.bb cedf265bb1e49c993658600c08e03a87705e891c
@@ -1,12 +1,13 @@ DEPENDS = "unifdef-native"
DESCRIPTION = "Sanitized set of 2.6 kernel headers for the C library's use."
SECTION = "devel"
LICENSE = "GPL"
DEFAULT_PREFERENCE = "-1"
INHIBIT_DEFAULT_DEPS = "1"
DEPENDS = "unifdef-native"
-PR = "r0"
+PR = "r1"
-SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2"
+SRC_URI = "http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.18.tar.bz2 \
+ file://arm-syscall-define.patch;patch=1"
S = "${WORKDIR}/linux-2.6.18"
More information about the Openembedded-commits
mailing list