Skip to content

How to build kernel? #7

@liuweibang

Description

@liuweibang

@OnePlusOSSAdmin @bettywangOP @hecaiqiang

I cloned OnePlusOSS/android_kernel_oneplus_sm8150 kernel code, but compile failed. Could you tell me how to compile successfully? Thanks.
I used config file is arch/arm64/configs/vendor/sm8150_defconfig, cross compile tool is aarch-linux-android-, CC compiler is clang. Command is below:
make O=out sm8150_defconfig
make O=out REAL_CC=../gclang9.0.6/bin/clang -j8

I am looking forward for your reply. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions