packages: uboot-zynq: use dtc in kernel
[openwrt-github/.git] / package / boot / uboot-zynq / patches / 001-use-dtc-in-kernel.patch
diff --git a/package/boot/uboot-zynq/patches/001-use-dtc-in-kernel.patch b/package/boot/uboot-zynq/patches/001-use-dtc-in-kernel.patch
new file mode 100644 (file)
index 0000000..553c99e
--- /dev/null
@@ -0,0 +1,13 @@
+Index: u-boot-2016.07/Makefile
+===================================================================
+--- u-boot-2016.07.orig/Makefile
++++ u-boot-2016.07/Makefile
+@@ -348,7 +348,7 @@ OBJDUMP            = $(CROSS_COMPILE)objdump
+ AWK           = awk
+ PERL          = perl
+ PYTHON                = python
+-DTC           = dtc
++DTC           = $(DTCDIR)dtc
+ CHECK         = sparse
+
+ CHECKFLAGS     := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \