pmaports/device/testing/linux-samsung-arubaslim/01_prepare_makefile.patch
Antoni Aloy Torrens 18f7fcc000
samsung-arubaslim: new device (MR 3186)
[ci:skip-build] already built successfully in CI
2022-06-11 15:44:20 -07:00

26 lines
760 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -243,13 +243,8 @@
else if [ -x /bin/bash ]; then echo /bin/bash; \
else echo sh; fi ; fi)
-ifdef CONFIG_CCACHE
-HOSTCC = ccache gcc
-HOSTCXX = ccache g++
-else
HOSTCC = gcc
HOSTCXX = g++
-endif
HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer
HOSTCXXFLAGS = -O2
@@ -426,7 +421,7 @@
-fno-strict-aliasing -fno-common \
-Werror-implicit-function-declaration \
-Wno-format-security \
- -fno-delete-null-pointer-checks -Wno-array-bounds -Wno-maybe-uninitialized
+ -fno-delete-null-pointer-checks
-KBUILD_AFLAGS_KERNEL := -Wa,-mimplicit-it=thumb
+KBUILD_AFLAGS_KERNEL :=
KBUILD_CFLAGS_KERNEL :=
KBUILD_AFLAGS := -D__ASSEMBLY__