I am building a kernel for a google pixel 5 (first time, guides here have been a huge help!).
**Getting to the issue:**
I'm trying out the following steps as they seem to be tailored to what I'm doing and using menuconfig cause lots of issues.
https://groups.google.com/g/android-building/c/6HPwJloQkP8/m/oopcu67nAQAJ (response by Droid SMU with the step by step).
Now, after running ./build_redbull.sh from the top directory, the following issue appears:
INSTALL techpack/video/msm/msm-vidc.ko
DEPMOD 4.19.135
========================================================
Building external modules and installing them into staging directory
+ make -C private/msm-google-modules/wlan/qcacld-3.0 M=../msm-google-modules/wlan/qcacld-3.0 KERNEL_SRC=/local/home/bd/android/kernel/private/msm-google O=/local/home/bd/android/kernel/out/android-msm-pixel-4.19/private/msm-google CC=clang HOSTCC=clang LD=ld.lld HOSTLD=ld.lld HOSTLDFLAGS=-fuse-ld=lld NM=llvm-nm OBJCOPY=llvm-objcopy DEPMOD=depmod
make: Entering directory '/local/home/bd/android/kernel/private/msm-google-modules/wlan/qcacld-3.0'
make -C /local/home/bd/android/kernel/private/msm-google M=../msm-google-modules/wlan/qcacld-3.0 modules WLAN_ROOT=/local/home/bd/android/kernel/private/msm-google-modules/wlan/qcacld-3.0 MODNAME?=wlan CONFIG_QCA_WIFI_ISOC=0 CONFIG_QCA_WIFI_2_0=1 CONFIG_QCA_CLD_WLAN=m
make: Entering directory '/local/home/bd/android/kernel/private/msm-google'
make: Entering directory '/local/home/bd/android/kernel/out/android-msm-pixel-4.19/private/msm-google'
/local/home/bd/android/kernel/private/msm-google/../msm-google-modules/wlan/qcacld-3.0/Kbuild:48: ../../../../../aosp_groups_version//local/home/bd/android/kernel/private/msm-google-modules/wlan/qcacld-3.0/configs/default_defconfig: No such file or directory
make: *** No rule to make target '../../../../../aosp_groups_version//local/home/bd/android/kernel/private/msm-google-modules/wlan/qcacld-3.0/configs/default_defconfig'. Stop.
make: *** [/local/home/bd/android/kernel/private/msm-google/Makefile:1661: _module_../msm-google-modules/wlan/qcacld-3.0] Error 2
make: Leaving directory '/local/home/bd/android/kernel/out/android-msm-pixel-4.19/private/msm-google'
make: *** [Makefile:146: sub-make] Error 2
make: Leaving directory '/local/home/bd/android/kernel/private/msm-google'
make: *** [Makefile:26: all] Error 2
make: Leaving directory '/local/home/bd/android/kernel/private/msm-google-modules/wlan/qcacld-3.0'
Click to collapse
I checked the Kbuild line 48 mentioned (make line) and it looks like this:
48 include $(WLAN_ROOT)/configs/$(CONFIG_QCA_CLD_WLAN_PROFILE)_defconfig
The arguments are:
WLAN_ROOT := drivers/staging/qcacld-3.0
CONFIG_QCA_CLD_WLAN_PROFILE ?= $(WLAN_PROFILE)
What is worrying me is also the double // in the path aosp_groups_version//local (the make line).
**The question:**
I tried looking around in the forum but found nothing similar, has someone maybe encountered this? Or how would I go around trying to fix/debug a problem like this?
Asked by dsisko
(11 rep)
Jan 16, 2025, 08:27 AM
Last activity: Jan 16, 2025, 08:28 AM
Last activity: Jan 16, 2025, 08:28 AM