require linux.inc DESCRIPTION = "Linux kernel for Allwinner a10/a20 processors" COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i)" PV = "3.4.90" PR = "r1" # Last tested version by myself SRCREV_pn-${PN} = "e37d760b363888f3a65cd6455c99a75cac70a7b8" MACHINE_KERNEL_PR_append = "a" SRC_URI += "git://github.com/linux-sunxi/linux-sunxi.git;branch=sunxi-3.4;protocol=git \ http://archlinuxarm.org/builder/src/0001-cgroup-add-xattr-support-sunxi.patch;name=cgroup-patch \ file://0001-compiler-gcc5.patch \ file://0002-use-static-inline-in-ARM-ftrace.patch \ file://defconfig \ " SRC_URI[cgroup-patch.md5sum] = "4aa5087e3396f3179b61ccd478e9e604" SRC_URI[cgroup-patch.sha256sum] = "f9f9cb55eb6f8abf322830afd7a5f4a090e539add75e0ed1f1016b5351a9b533" S = "${WORKDIR}/git" #fix QA issue "Files/directories were installed but not shipped: /usr/src/debug" INHIBIT_PACKAGE_DEBUG_SPLIT = "1" do_configure_prepend() { #fix arch QA issues ("Architecture did not match") 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 #fix ldflags QA issues ("No GNU_HASH in the elf binary") rm -f ${S}/modules/wifi/usi-bcm4329/v4.218.248.15/apps/epi_ttcp rm -f ${S}/modules/wifi/bcm40181/apps/epi_ttcp }