zyk
发表于 2022-9-7 14:51:36
Beau 发表于 2022-9-7 14:46
出现这个,之后用什么命令呀,不明白了
可以了解一下git相关的命令。git checkout .之后再试一下吧
Beau
发表于 2022-9-7 14:57:05
zyk 发表于 2022-9-7 14:15
你好,请问是怎么编译的,工程是放在了共享目录或外置存储上面?
这个下面
zyk
发表于 2022-9-7 15:31:07
Beau 发表于 2022-9-7 14:57
这个下面
checkout之后,将sdk移到 /home/用户/ 目录再编译
Beau
发表于 2022-9-8 10:43:09
本帖最后由 Beau 于 2022-9-8 10:45 编辑
zyk 发表于 2022-9-7 15:31
checkout之后,将sdk移到 /home/用户/ 目录再编译
@zyk,你好我第一次编译几个小时后出现了ninja失败的提示,我执行的是首次编译命令“./FFTools/make.sh -d rk3568-firefly-aioj -j8 -l rk3568_firefly_aioj-userdebug”出现的,想问问怎么解决
BINGHUANG
发表于 2024-8-11 15:11:29
zyk 发表于 2022-4-6 22:15
是否有编译内核,第一次编译建议先用以下命令跑一次
cat: device/xiaomi/elish-prebuilt/modules/modules.load: 没有那个文件或目录
cat: device/xiaomi/elish-prebuilt/modules/modules.load: No such file or directory
Trying dependencies-only mode on a non-existing device tree?
cat: device/xiaomi/elish-prebuilt/modules/modules.load: 没有那个文件或目录
cat: device/xiaomi/elish-prebuilt/modules/modules.load: No such file or directory
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=14
LINEAGE_VERSION=21.0-20240811-UNOFFICIAL-elish
PRODUCT_INCLUDE_TAGS=com.android.mainline mainline_module_prebuilt_nightly
TARGET_PRODUCT=lineage_elish
TARGET_BUILD_VARIANT=userdebug
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.6.40-amd64-desktop-hwe-x86_64-Deepin-23
HOST_CROSS_OS=windows
BUILD_ID=AP2A.240705.005
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/xiaomi/sm8250-common hardware/google/interfaces hardware/google/pixel hardware/lineage/interfaces/power-libperfmgr hardware/qcom-caf/common/libqti-perfd-client hardware/xiaomi vendor/qcom/opensource/usb/etc vendor/xiaomi/sm8250-common device/xiaomi/elish hardware/google/interfaces hardware/google/pixel vendor/xiaomi/elish hardware/qcom-caf/sm8250 vendor/qcom/opensource/commonsys/display vendor/qcom/opensource/commonsys-intf/display vendor/qcom/opensource/display vendor/qcom/opensource/data-ipa-cfg-mgr-legacy-um vendor/qcom/opensource/dataservices hardware/qcom-caf/wlan
============================================
cat: device/xiaomi/elish-prebuilt/modules/modules.load: 没有那个文件或目录
13:55:06 ************************************************************
13:55:06 You are building on a machine with 15.4GB of RAM
13:55:06
13:55:06 The minimum required amount of free memory is around 16GB,
13:55:06 and even with that, some configurations may not work.
13:55:06
13:55:06 If you run into segfaults or other errors, try reducing your
13:55:06 -j value.
13:55:06 ************************************************************
cat: device/xiaomi/elish-prebuilt/modules/modules.load: No such file or directory
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=14
LINEAGE_VERSION=21.0-20240811-UNOFFICIAL-elish
PRODUCT_INCLUDE_TAGS=com.android.mainline mainline_module_prebuilt_nightly
TARGET_PRODUCT=lineage_elish
TARGET_BUILD_VARIANT=userdebug
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_OS=linux
HOST_OS_EXTRA=Linux-6.6.40-amd64-desktop-hwe-x86_64-Deepin-23
HOST_CROSS_OS=windows
BUILD_ID=AP2A.240705.005
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/xiaomi/sm8250-common hardware/google/interfaces hardware/google/pixel hardware/lineage/interfaces/power-libperfmgr hardware/qcom-caf/common/libqti-perfd-client hardware/xiaomi vendor/qcom/opensource/usb/etc vendor/xiaomi/sm8250-common device/xiaomi/elish hardware/google/interfaces hardware/google/pixel vendor/xiaomi/elish hardware/qcom-caf/sm8250 vendor/qcom/opensource/commonsys/display vendor/qcom/opensource/commonsys-intf/display vendor/qcom/opensource/display vendor/qcom/opensource/data-ipa-cfg-mgr-legacy-um vendor/qcom/opensource/dataservices hardware/qcom-caf/wlan
============================================
out/target/product/elish/clean_steps.mk was modified, regenerating...
Adding CUSTOM_LOCALES to PRODUCT_LOCALES
cat: device/xiaomi/elish-prebuilt/modules/modules.load: No such file or directory
out/target/product/elish/obj/CONFIG/kati_packaging/dist.mk was modified, regenerating...
FAILED: ninja: 'device/xiaomi/elish-prebuilt/Image', needed by 'out/target/product/elish/kernel', missing and no known rule to make it
13:55:12 ninja failed with: exit status 1
#### failed to build some targets (6 seconds) ####
请下,我这个是要如何编译内核呀?这个是lineageos