diff options
author | 2020-03-30 09:24:26 +0900 | |
---|---|---|
committer | 2020-03-30 09:24:26 +0900 | |
commit | 5b80bfd7bffd4c20d80b7c70a7130529e9a755dd (patch) | |
tree | b4bb18dcd1487dbf1ea8127e5671b7bb2eded033 /bsp/meta-synopsys/recipes-kernel/linux/linux-arc.inc | |
parent | 706ad73eb02caf8532deaf5d38995bd258725cb8 (diff) |
agl-basesystem
Diffstat (limited to 'bsp/meta-synopsys/recipes-kernel/linux/linux-arc.inc')
-rw-r--r-- | bsp/meta-synopsys/recipes-kernel/linux/linux-arc.inc | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/bsp/meta-synopsys/recipes-kernel/linux/linux-arc.inc b/bsp/meta-synopsys/recipes-kernel/linux/linux-arc.inc new file mode 100644 index 00000000..9ec28f5c --- /dev/null +++ b/bsp/meta-synopsys/recipes-kernel/linux/linux-arc.inc @@ -0,0 +1,47 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/linux-arc:" +DESCRIPTION = "Kernel image for the ARC architecture" +SECTION = "kernel" + +LICENSE = "GPLv2" + +inherit kernel + +SRC_URI = "https://www.kernel.org/pub/linux/kernel/v4.x/linux-${PV}.tar.xz \ + file://0002-etnaviv-Make-archtecture-and-platform-agnostic.patch \ + file://0004-ARC-plat-hsdk-Add-support-of-Vivante-GPU.patch \ + file://0006-devres-Really-align-data-field-to-unsigned-long-long.patch \ + file://0007-ETHNAVIV-don-t-print-command-dump.patch \ + file://0006-Use-dev-mmcblk0p2-as-rootfs-storage.patch \ + file://0001-DRM-UDL-get-rid-of-useless-vblank-initialization.patch \ + file://1001-Agl-hsdk-defconfig.patch \ + file://3003-Experimental-ARC-increase-memory-to-1.5GB.patch \ + file://6001-ARC-adjust-memblock_reserve-of-kernel-memory.patch \ + file://8000-ARCv2-support-manual-regfile-save-on-interrupts.patch \ +" +#file://2001-ARC-prevent-showing-irrelevant-exception-info-in-sig.patch +#file://2002-ARC-split-show_faulting_vma-for-logic-and-representa.patch +#file://2003-ARC-ARCv2-Introduce-SmaRT-support.patch +#file://3003-Experimental-ARC-increase-memory-to-1.5GB.patch + +# file://1001-Agl-hsdk-defconfig.patch +# file://5001-Enable-FBDEV_DRM-emulation-for-HSDK.patch + +# file://4001-HSDK-add-highmem-zone.patch +# file://4002-ARC-temporary-disable-IOC.patch +# file://4003-ARC-cache-ops-add-assertions.patch + + +S = "${WORKDIR}/linux-${PV}" + +DEPENDS += " libgcc" +KERNEL_CC_append = " ${TOOLCHAIN_OPTIONS}" + +KERNEL_DEFCONFIG_hsdk = "hsdk" +KERNEL_DEFCONFIG_nsimhs = "nsim_hs" +KERNEL_CONFIG_COMMAND = "oe_runmake -C ${S} O=${B} ${KERNEL_DEFCONFIG}_defconfig" + +KERNEL_CLASSES = "" + +do_configure_append() { + echo 'CONFIG_INITRAMFS_SOURCE=""' >> ${B}/.config +} |