Use Makefile in KSRC to get to know more about kernel requirements and
compatibility. And check build.config file that'll give you specific
requirements for kernel compilation.
I'm compiling wahoo kernel so in my build.config i found
"ARCH=arm64
BRANCH=android-msm-wahoo-4.4
CC=clang
CLANG_TRIPLE=aarch64-linux-gnu-
CROSS_COMPILE=aarch64-linux-android-
CROSS_COMPILE_ARM32=arm-linux-androideabi-
DEFCONFIG=wahoo_defconfig
EXTRA_CMDS=''
KERNEL_DIR=private/msm-google
POST_DEFCONFIG_CMDS='check_defconfig'
CLANG_PREBUILT_BIN=prebuilts-master/clang/host/linux-x86/clang-4053586/bin/
LINUX_GCC_CROSS_COMPILE_PREBUILTS_BIN=prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin
LINUX_GCC_CROSS_COMPILE_ARM32_PREBUILTS_BIN=prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/bin
LZ4_PREBUILTS_BIN=prebuilts-master/misc/linux-x86/lz4
DTC_PREBUILTS_BIN=prebuilts-master/misc/linux-x86/dtc
LIBUFDT_PREBUILTS_BIN=prebuilts-master/misc/linux-x86/libufdt"

This info so I got all requirements to build the kerne. And do add path
properly check path using tab.

Saurabh Sakhare



On Mon, Mar 11, 2019 at 10:46 PM Emanuele Vannacci <
emanuele.vanna...@gmail.com> wrote:

> i have the same problem. Do you solve this error?
>
> Il giorno giovedì 15 novembre 2018 20:44:31 UTC+1, Lance Vick ha scritto:
>>
>> I am unable to build a kernel for crosshatch.
>>
>> Looks like a missing file or broken path?
>>
>> Also I am only assuming "android-msm-bluecross-4.9-pie-dr1-release" for
>> the branch and "sdm845-perf" for the defconfig from looking at git history
>> as there is no documentation for crosshatch or blueline in
>> https://source.android.com/setup/build/building-kernels
>>
>> Build commands:
>>
>> git clone https://android.googlesource.com/kernel/msm kernel/msm
>> cd "kernel/msm"
>> git checkout android-msm-bluecross-4.9-pie-dr1-release
>>
>> export ARCH=arm64
>> export
>> CROSS_COMPILE="$PWD/prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-${gcc_version}/bin/aarch64-linux-android-"
>>
>> make "sdm845-perf_defconfig"
>> make -j8
>>
>>
>> Failure output:
>>
>> In file included from drivers/clk/qcom/mdss/mdss_pll_trace.h:116:0,
>>
>>                  from drivers/clk/qcom/mdss/mdss-dsi-pll-10nm.c:24:
>>
>> ./include/trace/define_trace.h:88:43: fatal error: ./mdss_pll_trace.h: No
>> such file or directory
>>  #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
>>
>> compilation terminated.
>>
>> scripts/Makefile.build:336: recipe for target
>> 'drivers/clk/qcom/mdss/mdss-dsi-pll-10nm.o' failed
>> make[4]: *** [drivers/clk/qcom/mdss/mdss-dsi-pll-10nm.o] Error 1
>> make[4]: *** Waiting for unfinished jobs....
>> scripts/Makefile.build:650: recipe for target 'drivers/clk/qcom/mdss'
>> failed
>> make[3]: *** [drivers/clk/qcom/mdss] Error 2
>> scripts/Makefile.build:650: recipe for target 'drivers/clk/qcom' failed
>> make[2]: *** [drivers/clk/qcom] Error 2
>> scripts/Makefile.build:650: recipe for target 'drivers/clk' failed
>> make[1]: *** [drivers/clk] Error 2
>> make[1]: *** Waiting for unfinished jobs....
>>
>> create image file: arch/arm64/boot/dtbo.img...
>> Can not read file: arch/arm64/boot/dts/google/sdm845-v2-b1c1-devboard.dtbo
>> arch/arm64/boot/Makefile:71: recipe for target 'arch/arm64/boot/dtbo.img'
>> failed
>> make[1]: *** [arch/arm64/boot/dtbo.img] Error 255
>> arch/arm64/Makefile:214: recipe for target 'dtbo.img' failed
>> make: *** [dtbo.img] Error 2
>> make: *** Waiting for unfinished jobs....
>>
>> Makefile:1117: recipe for target 'drivers' failed
>>
>> make: *** [drivers] Error 2
>>
>>
>> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-building+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to