diff options
author | Leon Woestenberg <leon@sidebranch.com> | 2012-01-21 13:54:26 +0100 |
---|---|---|
committer | Leon Woestenberg <leon@sidebranch.com> | 2012-01-21 13:54:26 +0100 |
commit | 4edbcc2f2d0659599bf0ecb7e695cf5ec26ad900 (patch) | |
tree | 85e7bb1d412519280701c72aa73c98e39cf25380 /recipes-kernel/linux/linux-imx | |
parent | cd66fc5a67bee1c5c54477f45fafc7b53fbdca89 (diff) | |
download | meta-fsl-arm-4edbcc2f2d0659599bf0ecb7e695cf5ec26ad900.tar.gz |
linux_imx: New kernel patches from Freescale, 2011-12.
Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
Diffstat (limited to 'recipes-kernel/linux/linux-imx')
-rw-r--r-- | recipes-kernel/linux/linux-imx/no-unaligned-access.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-imx/no-unaligned-access.patch b/recipes-kernel/linux/linux-imx/no-unaligned-access.patch new file mode 100644 index 0000000..3015b90 --- /dev/null +++ b/recipes-kernel/linux/linux-imx/no-unaligned-access.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | diff --git a/Makefile b/Makefile | ||
2 | index 554683d..7b4fe94 100644 | ||
3 | --- a/Makefile | ||
4 | +++ b/Makefile | ||
5 | @@ -333,10 +333,10 @@ CHECK = sparse | ||
6 | CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \ | ||
7 | -Wbitwise -Wno-return-void $(CF) | ||
8 | MODFLAGS = -DMODULE | ||
9 | -CFLAGS_MODULE = $(MODFLAGS) | ||
10 | +CFLAGS_MODULE = $(MODFLAGS) -mno-unaligned-access | ||
11 | AFLAGS_MODULE = $(MODFLAGS) | ||
12 | LDFLAGS_MODULE = -T $(srctree)/scripts/module-common.lds | ||
13 | -CFLAGS_KERNEL = | ||
14 | +CFLAGS_KERNEL = -mno-unaligned-access | ||
15 | AFLAGS_KERNEL = | ||
16 | CFLAGS_GCOV = -fprofile-arcs -ftest-coverage | ||
17 | |||