From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Thu, 7 Feb 2019 15:24:06 +0100 Subject: [ARCHEOLOGY] [ general ] Attach Realtek 8811, 8812, 8814 and 8821 drivers source, remove our old patches, adjust configs, tested on all combinations > X-Git-Archeology: - Revision 9758711ed42e345453eddc4b3314f8eaf81d01b5: https://github.com/armbian/build/commit/9758711ed42e345453eddc4b3314f8eaf81d01b5 > X-Git-Archeology: Date: Thu, 07 Feb 2019 15:24:06 +0100 > X-Git-Archeology: From: Igor Pecovnik > X-Git-Archeology: Subject: [ general ] Attach Realtek 8811, 8812, 8814 and 8821 drivers source, remove our old patches, adjust configs, tested on all combinations > X-Git-Archeology: > X-Git-Archeology: - Revision 150ac0c2afa147d9e3b036c8ecd8238fe5648cf3: https://github.com/armbian/build/commit/150ac0c2afa147d9e3b036c8ecd8238fe5648cf3 > X-Git-Archeology: Date: Tue, 19 Nov 2019 23:25:39 +0100 > X-Git-Archeology: From: Igor Pecovnik > X-Git-Archeology: Subject: Remove K<4, change branches, new features (#1586) > X-Git-Archeology: > X-Git-Archeology: - Revision 0cdffb29b07305209efb12cf3b5ac6032d3a1153: https://github.com/armbian/build/commit/0cdffb29b07305209efb12cf3b5ac6032d3a1153 > X-Git-Archeology: Date: Wed, 24 Mar 2021 19:01:53 +0100 > X-Git-Archeology: From: Igor Pecovnik > X-Git-Archeology: Subject: Renaming DEV branch to EDGE (#2704) > X-Git-Archeology: --- Makefile | 14 +++++++--- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 4fb61874d20f..1583e6108225 100644 --- a/Makefile +++ b/Makefile @@ -377,9 +377,17 @@ CHECK = sparse # Use the wrapper for the compiler. This wrapper scans for new # warnings and causes the build to stop upon encountering them. +ifeq ("$(origin GCC_WRAPPER)", "command line") + KGCC_WRAPPER = $(GCC_WRAPPER) +endif +ifndef KGCC_WRAPPER + KGCC_WRAPPER = 0 +endif +ifeq ($(KGCC_WRAPPER),1) ifneq ($(wildcard $(srctree)/scripts/gcc-wrapper.py),) CC = $(srctree)/scripts/gcc-wrapper.py $(CROSS_COMPILE)gcc endif +endif CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \ -Wbitwise -Wno-return-void $(CF) @@ -437,10 +445,8 @@ export MAKE AWK GENKSYMS INSTALLKERNEL PERL PYTHON UTS_MACHINE export HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS export KBUILD_CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS LDFLAGS -export KBUILD_CFLAGS CFLAGS_KERNEL CFLAGS_MODULE CFLAGS_GCOV -export CFLAGS_KASAN CFLAGS_KASAN_NOSANITIZE -export CFLAGS_KCOV -export KBUILD_AFLAGS AFLAGS_KERNEL AFLAGS_MODULE +export KBUILD_CFLAGS CFLAGS_KERNEL CFLAGS_MODULE CFLAGS_GCOV CFLAGS_KCOV CFLAGS_KASAN +export KBUILD_AFLAGS AFLAGS_KERNEL AFLAGS_MODULE CFLAGS_KASAN_NOSANITIZE export KBUILD_AFLAGS_MODULE KBUILD_CFLAGS_MODULE KBUILD_LDFLAGS_MODULE export KBUILD_AFLAGS_KERNEL KBUILD_CFLAGS_KERNEL export KBUILD_ARFLAGS -- Armbian