dtc: add device tree compiler on aarch64

u-boot for nanopi r2s (rockchip rk3328) need dtc to build the image
so this adds dtc as build dependency for u-boot

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
Arne Fitzenreiter
2021-10-03 07:30:57 +00:00
parent 577c7c09fa
commit 4c59cad1c0
4 changed files with 114 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
diff -Naur dtc-1.6.1.org/Makefile dtc-1.6.1/Makefile
--- dtc-1.6.1.org/Makefile 2021-06-08 07:00:49.000000000 +0000
+++ dtc-1.6.1/Makefile 2021-10-01 07:57:58.344551140 +0000
@@ -23,7 +23,7 @@
CPPFLAGS = -I libfdt -I . -DFDT_ASSUME_MASK=$(ASSUME_MASK)
WARNINGS = -Wall -Wpointer-arith -Wcast-qual -Wnested-externs \
-Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wshadow
-CFLAGS = -g -Os $(SHAREDLIB_CFLAGS) -Werror $(WARNINGS) $(EXTRA_CFLAGS)
+CFLAGS = -g -Os $(SHAREDLIB_CFLAGS) $(EXTRA_CFLAGS)
BISON = bison
LEX = flex