Skip to content

oneplus_13t_b.xml 构建oplus_bsp_midas.ko模块失败 #168

@HK4567

Description

@HK4567
repo init -u https://github.com/OnePlusOSS/kernel_manifest.git -b oneplus/sm8750 -m oneplus_13t_b.xml --depth=1
repo sync -c -j$(nproc) --no-tags --force-sync
./kernel_platform/oplus/build/oplus_build_module.sh sun perf vendor/oplus/kernel/cpu/midas

root@VM-0-9-debian:/home/oneplus# ./kernel_platform/oplus/build/oplus_build_module.sh sun perf vendor/oplus/kernel/cpu/midas
userdebug build command
./kernel_platform/oplus/build/oplus_xxx_xxx.sh sun consolidate
user build command
./kernel_platform/oplus/build/oplus_xxx_xxx.sh sun perf


select platform:
   1.  sun
   2.  reserve

New Platform need add to here 
Which would you like? [sun]sun

now default auto select platform sun 

Select Build Type:
   1.  consolidate/userdebug
   2.  perf/user
   you can select 
Which build type would you like? [perf] perf

variants_type perf 
kernel_platform/oplus/build/oplus_setup.sh: line 12: vendor/oplus/kernel/prebuilt/vendorsetup.sh: No such file or directory
------------------------this is out of tree ko----------------------
build_out_of_tree_ko
WARNING: Ignoring JAVA_HOME, because it must point to a JDK, not a JRE.
ERROR: no targets found beneath 'vendor/oplus/kernel/cpu/midas'
the directory you input is not exist or not right, please exit and try again!!!
you can push below ko or repack *.img by tools or build local *.img to test
ls: cannot access '/home/oneplus/kernel_platform/out/vendor/oplus/kernel/cpu/midas/*.ko': No such file or directory
last ko will copy to dist dir
/home/oneplus/device/qcom/sun-kernel
/home/oneplus/kernel_platform/out/msm-kernel-sun-perf/dist
find: ‘/home/oneplus/kernel_platform/out/vendor/oplus/kernel/cpu/midas/’: No such file or directory
cp: cannot stat '/home/oneplus/kernel_platform/out/vendor/oplus/kernel/cpu/midas/*.ko': No such file or directory
exit build_out_of_tree_ko
root@VM-0-9-debian:/home/oneplus# 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions