summaryrefslogtreecommitdiffstats
path: root/package/linux-headers
diff options
context:
space:
mode:
Diffstat (limited to 'package/linux-headers')
-rw-r--r--package/linux-headers/3.3.8/linux-fix-umode_t.patch22
-rw-r--r--package/linux-headers/Config.in.host10
-rw-r--r--package/linux-headers/linux-headers.mk6
3 files changed, 11 insertions, 27 deletions
diff --git a/package/linux-headers/3.3.8/linux-fix-umode_t.patch b/package/linux-headers/3.3.8/linux-fix-umode_t.patch
deleted file mode 100644
index 9663662254..0000000000
--- a/package/linux-headers/3.3.8/linux-fix-umode_t.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-Fix a problem with the 3.3 kernel headers. Specifically, the umode_t type
-is defined within a __KERNEL__ preprocessor ifdef region, and so the type
-is not usable by non-kernel code. Visit the following URL for more details.
-
-* http://www.spinics.net/lists/linux-fsdevel/msg52638.html
-
-The commit that created the problem can be seen at the following URL.
-
-* http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=commitdiff;h=0583fcc96bb117763c0fa74c123573c0112dec65
-
-diff -Nur a/include/linux/ext2_fs.h b/include/linux/ext2_fs.h
---- a/include/linux/ext2_fs.h 2012-03-18 23:15:34.000000000 +0000
-+++ b/include/linux/ext2_fs.h 2012-03-21 11:47:53.015548437 +0000
-@@ -209,7 +209,7 @@
- #define EXT2_OTHER_FLMASK (EXT2_NODUMP_FL | EXT2_NOATIME_FL)
-
- /* Mask out flags that are inappropriate for the given type of inode. */
--static inline __u32 ext2_mask_flags(umode_t mode, __u32 flags)
-+static inline __u32 ext2_mask_flags(unsigned short mode, __u32 flags)
- {
- if (S_ISDIR(mode))
- return flags;
diff --git a/package/linux-headers/Config.in.host b/package/linux-headers/Config.in.host
index ea104f58d1..134e338028 100644
--- a/package/linux-headers/Config.in.host
+++ b/package/linux-headers/Config.in.host
@@ -71,15 +71,15 @@ config BR2_DEFAULT_KERNEL_VERSION
config BR2_DEFAULT_KERNEL_HEADERS
string
default "3.0.101" if BR2_KERNEL_HEADERS_3_0
- default "3.2.54" if BR2_KERNEL_HEADERS_3_2
- default "3.4.79" if BR2_KERNEL_HEADERS_3_4
+ default "3.2.55" if BR2_KERNEL_HEADERS_3_2
+ default "3.4.82" if BR2_KERNEL_HEADERS_3_4
default "3.6.11" if BR2_KERNEL_HEADERS_3_6
default "3.7.10" if BR2_KERNEL_HEADERS_3_7
default "3.8.13" if BR2_KERNEL_HEADERS_3_8
default "3.9.11" if BR2_KERNEL_HEADERS_3_9
- default "3.10.29" if BR2_KERNEL_HEADERS_3_10
+ default "3.10.32" if BR2_KERNEL_HEADERS_3_10
default "3.11.10" if BR2_KERNEL_HEADERS_3_11
- default "3.12.10" if BR2_KERNEL_HEADERS_3_12
- default "3.13.2" if BR2_KERNEL_HEADERS_3_13
+ default "3.12.13" if BR2_KERNEL_HEADERS_3_12
+ default "3.13.5" if BR2_KERNEL_HEADERS_3_13
default "2.6" if BR2_KERNEL_HEADERS_SNAP
default BR2_DEFAULT_KERNEL_VERSION if BR2_KERNEL_HEADERS_VERSION
diff --git a/package/linux-headers/linux-headers.mk b/package/linux-headers/linux-headers.mk
index 6dac9e36f1..49fd9ca6d4 100644
--- a/package/linux-headers/linux-headers.mk
+++ b/package/linux-headers/linux-headers.mk
@@ -20,6 +20,12 @@ LINUX_HEADERS_INSTALL_STAGING = YES
# linux-headers is part of the toolchain so disable the toolchain dependency
LINUX_HEADERS_ADD_TOOLCHAIN_DEPENDENCY = NO
+# For some architectures (eg. Arc, Cris, Hexagon, ia64, parisc,
+# score and xtensa), the Linux buildsystem tries to call the
+# cross-compiler, although it is not needed at all.
+# This results in seemingly errors like:
+# [...]/scripts/gcc-version.sh: line 26: arc-linux-uclibc-gcc: command not found
+# Those can be safely ignored.
define LINUX_HEADERS_INSTALL_STAGING_CMDS
(cd $(@D); \
$(TARGET_MAKE_ENV) $(MAKE) \
OpenPOWER on IntegriCloud