Merge pull request #2595 from fewtarius/dev

Fix RK3588 u-boot.
This commit is contained in:
fewtarius 2023-12-27 13:24:21 -05:00 committed by GitHub
commit c642aacf9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,12 +2,14 @@ diff --git a/Makefile b/Makefile
index 590fd4c1f..3165ec95f 100644
--- a/Makefile
+++ b/Makefile
@@ -606,6 +606,8 @@ endif
@@ -606,6 +606,10 @@ endif
KBUILD_CFLAGS += $(call cc-option,-Wno-format-nonliteral)
KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
+KBUILD_CFLAGS += $(call cc-disable-warning, dangling-pointer)
+KBUILD_CFLAGS += $(call cc-disable-warning, address)
+KBUILD_CFLAGS += $(call cc-disable-warning, maybe-uninitialized)
+KBUILD_CFLAGS += $(call cc-disable-warning, enum-int-mismatch)
# turn jbsr into jsr for m68k
ifeq ($(ARCH),m68k)