ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make O=out riva_defconfig
ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make O=out -j8 all
diff --git a/scripts/gcc-wrapper.py b/scripts/gcc-wrapper.py
index 93a6cf4e287e..55652d391844 100755
--- a/scripts/gcc-wrapper.py
+++ b/scripts/gcc-wrapper.py
@@ -83,8 +83,7 @@ def run_gcc():
try:
proc = subprocess.Popen(args, stderr=subprocess.PIPE)
for line in proc.stderr:
- print >> sys.stderr, line,
- interpret_warning(line)
+ print >> sys.stderr, line
result = proc.wait()
except OSError as e:
мы про один и тот же бранч говорим? я делаю на бранче cm-14.1
CC drivers/staging/prima/CORE/VOSS/src/wlan_nv_template_builtin.o
../drivers/staging/prima/CORE/VOSS/src/wlan_nv_template_builtin.c:590:10: error: initializer element is not computable at load time
(((char *)&(nvDefaults.tables.hwCalValues.calData.psSlpTimeOvrHdxLNA5G) +
^
../drivers/staging/prima/CORE/VOSS/src/wlan_nv_template_builtin.c:590:10: note: (near initialization for ‘NvTablesBuiltIn[4][3].offset’)
patch -p1 < file.patch
или git am file.patch
. patch -p1 < file.patch
patching file Makefile
patching file drivers/staging/prima/CORE/VOSS/src/wlan_nv_template_builtin.c
patch unexpectedly ends in middle of line
, типо в середине пат резко заканчиваетсяLD drivers/net/ethernet/marvell/built-in.o
LD drivers/net/ethernet/mellanox/built-in.o
LD drivers/net/ethernet/micrel/built-in.o
LD drivers/net/ethernet/microchip/built-in.o
CC drivers/net/ethernet/msm/rndis_ipa.o
In file included from drivers/net/ethernet/msm/rndis_ipa_trace.h:81:0,
from drivers/net/ethernet/msm/rndis_ipa.c:32:
include/trace/define_trace.h:83:43: фатальная ошибка: ./rndis_ipa_trace.h: Нет такого файла или каталога
#include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
^
компиляция прервана.
scripts/Makefile.build:257: recipe for target 'drivers/net/ethernet/msm/rndis_ipa.o' failed
make[4]: *** [drivers/net/ethernet/msm/rndis_ipa.o] Error 1
scripts/Makefile.build:402: recipe for target 'drivers/net/ethernet/msm' failed
make[3]: *** [drivers/net/ethernet/msm] Error 2
scripts/Makefile.build:402: recipe for target 'drivers/net/ethernet' failed
make[2]: *** [drivers/net/ethernet] Error 2
scripts/Makefile.build:402: recipe for target 'drivers/net' failed
make[1]: *** [drivers/net] Error 2
Makefile:951: recipe for target 'drivers' failed
make: *** [drivers] Error 2
CC drivers/usb/gadget/android.o
In file included from drivers/usb/gadget/android.c:47:0:
./drivers/usb/gadget/function/f_midi.c:35:17: фатальная ошибка: u_f.h: Нет такого файла или каталога
#include "u_f.h"
^
компиляция прервана.
scripts/Makefile.build:257: recipe for target 'drivers/usb/gadget/android.o' failed
make[3]: *** [drivers/usb/gadget/android.o] Error 1
scripts/Makefile.build:402: recipe for target 'drivers/usb/gadget' failed
make[2]: *** [drivers/usb/gadget] Error 2
scripts/Makefile.build:402: recipe for target 'drivers/usb' failed
make[1]: *** [drivers/usb] Error 2
Makefile:951: recipe for target 'drivers' failed
make: *** [drivers] Error 2
типо в середине пат резко заканчивается
Что не так сделал?
apt-get install build-essential
pavel@cool:~/neth/android_kernel_xiaomi_msm8917$ patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
вот скрины того что включал в menuconfig