diff options
| author | Gary Thomas <gary@mlbassoc.com> | 2015-10-06 10:03:47 -0600 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-04-19 15:03:20 -0300 |
| commit | 6e12eca32dc1316689a74f929e334f02feac06ab (patch) | |
| tree | 3245277ccd3ce0d7b922adad1f6628af84f0d8d2 /recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_5.0.11.p7.1.bb | |
| parent | aed74dcf5c43b5a7dd78ee7ec705558b947e34d4 (diff) | |
| download | meta-freescale-6e12eca32dc1316689a74f929e334f02feac06ab.tar.gz | |
kernel-module-imx-gpu-viv: Better work-around for change in name of busfreq-imx.h
The renaming of include/linux/busfreq-imx6.h to include/linux/busfreq-imx.h
is not consistent over the many kernel versions currently being built. This
changeset works around this inconsistency by creating a local symbolic link
to whatever file is actually present in the kernel sources.
Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Diffstat (limited to 'recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_5.0.11.p7.1.bb')
| -rw-r--r-- | recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_5.0.11.p7.1.bb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_5.0.11.p7.1.bb b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_5.0.11.p7.1.bb index 3218b4e5e..7e8414b33 100644 --- a/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_5.0.11.p7.1.bb +++ b/recipes-kernel/kernel-modules/kernel-module-imx-gpu-viv_5.0.11.p7.1.bb | |||
| @@ -10,7 +10,14 @@ inherit module | |||
| 10 | 10 | ||
| 11 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.tar.gz \ | 11 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.tar.gz \ |
| 12 | file://updatemakefile.patch \ | 12 | file://updatemakefile.patch \ |
| 13 | file://platform-Fix-kernel-version-check-for-3.14-based-ker.patch" | 13 | file://work-around-include-file-rename.patch \ |
| 14 | " | ||
| 14 | 15 | ||
| 15 | SRC_URI[md5sum] = "a251a94390986371f75b338ad938e46f" | 16 | SRC_URI[md5sum] = "a251a94390986371f75b338ad938e46f" |
| 16 | SRC_URI[sha256sum] = "9aaef0a62bc2be69dc568228192b060c54970b5c700fee602d83a4d13e04a9b3" | 17 | SRC_URI[sha256sum] = "9aaef0a62bc2be69dc568228192b060c54970b5c700fee602d83a4d13e04a9b3" |
| 18 | |||
| 19 | # Work around inconsistent naming of <linux/busfreq-imx.h> | ||
| 20 | do_compile_prepend () { | ||
| 21 | ln -sf ${STAGING_KERNEL_DIR}/include/linux/busfreq-imx*.h kernel-module-imx-gpu-viv-src/hal/os/linux/kernel/platform/freescale/busfreq-imx.h | ||
| 22 | } | ||
| 23 | |||
