2015-03-02 01:05:53 +01:00
|
|
|
require linux.inc
|
2012-10-07 10:37:50 +02:00
|
|
|
|
2013-10-31 13:28:34 +01:00
|
|
|
DESCRIPTION = "Linux kernel for Allwinner a10/a20 processors"
|
2012-10-07 10:37:50 +02:00
|
|
|
|
2015-06-16 00:20:39 +02:00
|
|
|
COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i)"
|
2021-08-23 18:39:23 +02:00
|
|
|
RDEPENDS:${PN} += "sunxi-board-fex"
|
2012-10-07 10:37:50 +02:00
|
|
|
|
2015-11-19 16:58:21 +01:00
|
|
|
PV = "3.4.104"
|
2014-07-31 01:01:34 +02:00
|
|
|
PR = "r1"
|
2021-08-23 18:39:23 +02:00
|
|
|
SRCREV = "d47d367036be38c5180632ec8a3ad169a4593a88"
|
2012-10-07 10:37:50 +02:00
|
|
|
|
linux-mainline: fix 'devtool modify' command fail
Traceback (most recent call last):
File "${TOPDIR}/../src/poky/scripts/devtool", line 338, in <module>
ret = main()
File "${TOPDIR}/../src/poky/scripts/devtool", line 325, in main
ret = args.func(args, config, basepath, workspace)
File "${TOPDIR}/../src/poky/scripts/lib/devtool/standard.py", line 834, in modify
if (os.path.exists(srcdir) and os.listdir(srcdir)) and (kernelVersion in staging_kerVer and staging_kbranch == kbranch):
TypeError: 'in <string>' requires string as left operand, not NoneType
Where 'kernelVersion' is None that cause an error.
In the code: "kernelVersion = rd.getVar('LINUX_VERSION')"
So LINUX_VERSION should be initialized
Signed-off-by: Ilja Byckevich <iljabyckevich@gmail.com>
2023-02-02 10:38:29 +01:00
|
|
|
LINUX_VERSION ?= "${PV}"
|
|
|
|
|
2021-08-23 18:39:23 +02:00
|
|
|
MACHINE_KERNEL_PR:append = "a"
|
2012-10-07 10:37:50 +02:00
|
|
|
|
2022-01-04 18:23:10 +01:00
|
|
|
SRC_URI += "git://github.com/linux-sunxi/linux-sunxi.git;branch=sunxi-3.4;protocol=https \
|
2016-09-25 13:52:39 +02:00
|
|
|
file://0001-compiler-gcc-integrate-the-various-compiler-gcc-345-.patch \
|
2015-09-23 17:21:08 +02:00
|
|
|
file://0002-use-static-inline-in-ARM-ftrace.patch \
|
2020-01-25 11:43:10 +01:00
|
|
|
file://0003-gcc5-fixes.patch \
|
|
|
|
file://0004-arm-put-user-asm-fix.patch \
|
|
|
|
file://0005-silence-warning.patch \
|
2012-10-07 10:37:50 +02:00
|
|
|
file://defconfig \
|
|
|
|
"
|
2020-01-25 11:43:10 +01:00
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
|
2012-10-07 10:37:50 +02:00
|
|
|
|
2012-10-08 00:25:39 +02:00
|
|
|
S = "${WORKDIR}/git"
|
2012-10-17 19:21:01 +02:00
|
|
|
|
2013-12-29 22:47:43 +01:00
|
|
|
#fix QA issue "Files/directories were installed but not shipped: /usr/src/debug"
|
|
|
|
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
|
|
|
|
2021-08-23 18:39:23 +02:00
|
|
|
do_configure:prepend() {
|
2013-12-29 22:47:43 +01:00
|
|
|
#fix arch QA issues ("Architecture did not match")
|
2015-09-23 20:15:48 +02:00
|
|
|
rm -f ${S}/drivers/net/wireless/rtxx7x/tools/bin2h
|
|
|
|
rm -f ${S}/modules/wifi/ar6302/AR6K_SDK_ISC.build_3.1_RC.329/host/lib/wac/wac
|
|
|
|
rm -f ${S}/modules/wifi/ar6302/AR6K_SDK_ISC.build_3.1_RC.329/host/tools/pal_host_intf/pal_app
|
|
|
|
rm -f ${S}/modules/wifi/nano-c047.12/obj/hic-proxy
|
|
|
|
rm -f ${S}/modules/wifi/nano-c047.12/obj/x_mac_4.69.axf
|
|
|
|
rm -f ${S}/modules/wifi/nano-c047.12/obj/x_mac_patch_4_65.axf
|
|
|
|
rm -f ${S}/modules/wifi/nano-c047.12/obj/x_mac_4.66.axf
|
|
|
|
rm -f ${S}/modules/wifi/nano-c047.12/obj/x_mac-v4.68.axf
|
|
|
|
rm -f ${S}/modules/wifi/nano-c047.12/obj/x_mac.axf
|
|
|
|
rm -f ${S}/modules/wifi/bcm40181/open-src/src/wl/exe/wl
|
|
|
|
rm -f ${S}/modules/wifi/bcm40181/open-src/src/wl/exe/socket_noasd/x86/wl_server_socket
|
|
|
|
rm -f ${S}/modules/wifi/bcm40181/open-src/src/wl/exe/wifi_noasd/x86/wl_server_serial
|
|
|
|
rm -f ${S}/modules/wifi/bcm40181/open-src/src/wl/exe/wifi_noasd/x86/wl_server_wifi
|
|
|
|
rm -f ${S}/modules/wifi/bcm40181/open-src/src/wl/exe/make/wl
|
|
|
|
rm -f ${S}/modules/wifi/bcm40181/open-src/src/wl/exe/make/socket_noasd/x86/wl_server_socket
|
|
|
|
rm -f ${S}/modules/wifi/bcm40181/open-src/src/wl/exe/make/wifi_noasd/x86/wl_server_serial
|
|
|
|
rm -f ${S}/modules/wifi/bcm40181/open-src/src/wl/exe/make/wifi_noasd/x86/wl_server_wifi
|
|
|
|
rm -f ${S}/modules/wifi/bcm40181/open-src/src/wl/exe/make/dongle_noasd/x86/wl_server_dongle
|
|
|
|
rm -f ${S}/modules/wifi/bcm40181/open-src/src/wl/exe/dongle_noasd/x86/wl_server_dongle
|
|
|
|
rm -f ${S}/modules/wifi/bcm40181/apps/tc_cli
|
|
|
|
rm -f ${S}/modules/wifi/bcm40181/apps/wfa_ca
|
|
|
|
rm -f ${S}/modules/wifi/bcm40181/apps/dhd
|
|
|
|
rm -f ${S}/modules/wifi/bcm40181/apps/ca_cli
|
2013-12-29 22:47:43 +01:00
|
|
|
|
|
|
|
#fix ldflags QA issues ("No GNU_HASH in the elf binary")
|
2015-09-23 20:15:48 +02:00
|
|
|
rm -f ${S}/modules/wifi/usi-bcm4329/v4.218.248.15/apps/epi_ttcp
|
|
|
|
rm -f ${S}/modules/wifi/bcm40181/apps/epi_ttcp
|
2013-12-29 22:47:43 +01:00
|
|
|
}
|