diff --git a/core/linux-am33x/0001-enable-dtc-1.4.5-flags.patch b/core/linux-am33x/0001-enable-dtc-1.4.5-flags.patch new file mode 100644 index 000000000..47399e495 --- /dev/null +++ b/core/linux-am33x/0001-enable-dtc-1.4.5-flags.patch @@ -0,0 +1,31 @@ +From b297035577d01cfdffa8d19079fc8c971af5c8da Mon Sep 17 00:00:00 2001 +From: Kevin Mihelich +Date: Mon, 16 Oct 2017 08:00:32 -0600 +Subject: [PATCH] enable dtc 1.4.5 flags + +--- + Makefile | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/Makefile b/Makefile +index c723aa7..a3eec98 100644 +--- a/Makefile ++++ b/Makefile +@@ -34,10 +34,10 @@ endif + + DTC_FLAGS += -Wno-unit_address_vs_reg + #New DTC Flags for v1.4.5 (Debian 9.x (Buster)) +-#DTC_FLAGS += -Wno-dmas_property +-#DTC_FLAGS += -Wno-gpios_property +-#DTC_FLAGS += -Wno-pwms_property +-#DTC_FLAGS += -Wno-interrupts_property ++DTC_FLAGS += -Wno-dmas_property ++DTC_FLAGS += -Wno-gpios_property ++DTC_FLAGS += -Wno-pwms_property ++DTC_FLAGS += -Wno-interrupts_property + + # Beautify output + # --------------------------------------------------------------------------- +-- +2.14.1 + diff --git a/core/linux-am33x/PKGBUILD b/core/linux-am33x/PKGBUILD index 9ebbb22d2..c06b41077 100644 --- a/core/linux-am33x/PKGBUILD +++ b/core/linux-am33x/PKGBUILD @@ -7,7 +7,7 @@ pkgbase=linux-am33x _srcname=linux-4.13 _kernelname=${pkgbase#linux} _desc="TI AM335x Beaglebone (Black)" -pkgver=4.13.6 +pkgver=4.13.7 pkgrel=1 rcnrel=bone1 arch=('armv7h') @@ -20,14 +20,16 @@ source=("http://www.kernel.org/pub/linux/kernel/v4.x/${_srcname}.tar.xz" "http://rcn-ee.com/deb/sid-armhf/v${pkgver}-${rcnrel}/patch-${pkgver%.0}-${rcnrel}.diff.gz" "git+https://github.com/RobertCNelson/bb.org-overlays.git" '0001-add-lcd-cape-for-chiliboard.patch' + '0001-enable-dtc-1.4.5-flags.patch' 'config' 'linux.preset' '99-linux.hook') md5sums=('ab1a2abc6f37b752dd2595338bec4e78' - '99857b5295fd8952fcd9f21950de5676' - 'aab4481654480926dec40288d4509089' + 'c098b8203d755d03e066bcd7afe42284' + 'd660f1bdbf32682d4bab00b8ad48cd9a' 'SKIP' 'dc780fbf3d4d1175a94232d7ba1e3cb3' + '5698870a716fed205215d258cc71e296' 'b80d131c2f34bf8eeb4757d733b6958b' '78ccc998f27eec49a9d5490218b1b1ab' '79fa396e3f9a09a85156d6d7c2d34b58') @@ -51,6 +53,9 @@ prepare() { # don't run depmod on 'make install'. We'll do this ourselves in packaging sed -i '2iexit 0' scripts/depmod.sh + + cd ../bb.org-overlays + git apply ../0001-enable-dtc-1.4.5-flags.patch } build() {