Firefly开源社区

标题: 安卓编译一开始就报错,请大神指点 [打印本页]

作者: m1843514989    时间: 2020-4-17 00:15
标题: 安卓编译一开始就报错,请大神指点
[ 本帖最后由 m1843514989 于 2020-4-17 00:22 编辑 ]\n\n
起因:对SDK进行一些参数的配置,如屏幕分辨率,默认语言,隐藏虚拟按键等.结果:执行统编命令如下,boot,kernel编译没问题,到安卓就开始报错如下,请问需要推倒重来吗?好无奈啊./FFTools/make.sh  -d rk3399-firefly-aio-lvds-HSX101H40C -j8 -l rk3399_firefly_aio_lvds_box-userdebug------------------------------------------------------------------------------------------------------------------
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: DEFAULT_SYSTEM_DEV_CERTIFICATE has been modified: build/target/product/security/testkey
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: WITH_DEXPREOPT has been modified: false
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: WITH_DEXPREOPT_BOOT_IMG_ONLY has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: GLOBAL_CFLAGS_NO_OVERRIDE has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: GLOBAL_CPPFLAGS_NO_OVERRIDE has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: GLOBAL_CLANG_CFLAGS_NO_OVERRIDE has been modified: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: *** The following variables have been changed: PRODUCT_NAME PRODUCT_MODEL PRODUCT_LOCALES PRODUCT_AAPT_CONFIG PRODUCT_AAPT_PREF_CONFIG PRODUCT_AAPT_PREBUILT_DPI PRODUCT_PACKAGES PRODUCT_PACKAGES_DEBUG PRODUCT_PACKAGES_ENG PRODUCT_PACKAGES_TESTS PRODUCT_DEVICE PRODUCT_MANUFACTURER PRODUCT_BRAND PRODUCT_PROPERTY_OVERRIDES PRODUCT_DEFAULT_PROPERTY_OVERRIDES PRODUCT_CHARACTERISTICS PRODUCT_COPY_FILES PRODUCT_OTA_PUBLIC_KEYS PRODUCT_EXTRA_RECOVERY_KEYS PRODUCT_PACKAGE_OVERLAYS DEVICE_PACKAGE_OVERLAYS PRODUCT_SDK_ATREE_FILES PRODUCT_SDK_ADDON_NAME PRODUCT_SDK_ADDON_COPY_FILES PRODUCT_SDK_ADDON_COPY_MODULES PRODUCT_SDK_ADDON_DOC_MODULES PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP PRODUCT_DEFAULT_WIFI_CHANNELS PRODUCT_DEFAULT_DEV_CERTIFICATE PRODUCT_RESTRICT_VENDOR_FILES PRODUCT_VENDOR_KERNEL_HEADERS PRODUCT_BOOT_JARS PRODUCT_SUPPORTS_BOOT_SIGNER PRODUCT_SUPPORTS_VBOOT PRODUCT_SUPPORTS_VERITY PRODUCT_SUPPORTS_VERITY_FEC PRODUCT_OEM_PROPERTIES PRODUCT_SYSTEM_PROPERTY_BLACKLIST PRODUCT_SYSTEM_SERVER_JARS PRODUCT_VBOOT_SIGNING_KEY PRODUCT_VBOOT_SIGNING_SUBKEY PRODUCT_VERITY_SIGNING_KEY PRODUCT_SYSTEM_VERITY_PARTITION PRODUCT_VENDOR_VERITY_PARTITION PRODUCT_DEX_PREOPT_MODULE_CONFIGS PRODUCT_DEX_PREOPT_DEFAULT_FLAGS PRODUCT_DEX_PREOPT_BOOT_FLAGS PRODUCT_SANITIZER_MODULE_CONFIGS PRODUCT_SYSTEM_BASE_FS_PATH PRODUCT_VENDOR_BASE_FS_PATH PRODUCT_SHIPPING_API_LEVEL PRODUCT_BOOTCLASSPATH PRODUCT_SYSTEM_SERVER_CLASSPATH TARGET_ARCH TARGET_ARCH_VARIANT TARGET_CPU_VARIANT TARGET_BOARD_PLATFORM TARGET_BOARD_PLATFORM_GPU TARGET_BOARD_KERNEL_HEADERS TARGET_DEVICE_KERNEL_HEADERS TARGET_PRODUCT_KERNEL_HEADERS TARGET_BOOTLOADER_BOARD_NAME TARGET_NO_BOOTLOADER TARGET_NO_KERNEL TARGET_NO_RECOVERY TARGET_NO_RADIOIMAGE TARGET_HARDWARE_3D TARGET_CPU_ABI TARGET_CPU_ABI2 BOARD_WPA_SUPPLICANT_DRIVER BOARD_WLAN_DEVICE BOARD_USES_GENERIC_AUDIO BOARD_KERNEL_CMDLINE BOARD_KERNEL_BASE BOARD_HAVE_BLUETOOTH BOARD_VENDOR_USE_AKMD BOARD_EGL_CFG BOARD_BOOTIMAGE_PARTITION_SIZE BOARD_RECOVERYIMAGE_PARTITION_SIZE BOARD_SYSTEMIMAGE_PARTITION_SIZE BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE BOARD_USERDATAIMAGE_PARTITION_SIZE BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE BOARD_CACHEIMAGE_PARTITION_SIZE BOARD_FLASH_BLOCK_SIZE BOARD_VENDORIMAGE_PARTITION_SIZE BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE BOARD_INSTALLER_CMDLINE DEFAULT_SYSTEM_DEV_CERTIFICATE WITH_DEXPREOPT WITH_DEXPREOPT_BOOT_IMG_ONLY GLOBAL_CFLAGS_NO_OVERRIDE GLOBAL_CPPFLAGS_NO_OVERRIDE GLOBAL_CLANG_CFLAGS_NO_OVERRIDE。 停止。
==================================================================================================
编译日志输出到文本文件,内容如下:~/proj/firefly-rk3399/u-boot ~/proj/firefly-rk3399
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
  CHK     include/config.h
  GEN     include/autoconf.mk
  GEN     include/autoconf.mk.dep
  CHK     include/config/uboot.release
  CHK     include/generated/timestamp_autogenerated.h
  UPD     include/generated/timestamp_autogenerated.h
  CHK     include/generated/version_autogenerated.h
  HOSTCC  tools/dumpimage.o
  HOSTCC  tools/image-host.o
  HOSTCC  tools/loaderimage.o
  HOSTCC  tools/mkimage.o
  HOSTCC  tools/mkenvimage.o
  HOSTCC  tools/boot_merger
  HOSTLD  tools/mkenvimage
  HOSTLD  tools/mkimage
  HOSTLD  tools/dumpimage
  HOSTLD  tools/loaderimage
  HOSTLD  tools/trust_merger
  HOSTLD  tools/checksum
  CC      board/rockchip/rk33xx/rk33xx.o
  CC      board/rockchip/common/rkboot/fastboot.o
  LD      board/rockchip/rk33xx/built-in.o
  CC      common/main.o
  CC      common/board_f.o
  CC      common/cmd_version.o
  CC      common/cmd_fastboot.o
  CC      common/cmd_bootrk.o
  LD      board/rockchip/common/built-in.o
  CC      lib/display_options.o
  LD      common/built-in.o
  LD      lib/built-in.o
  LD      u-boot
  OBJCOPY u-boot.bin
start=$(/home/ma/proj/firefly-rk3399/u-boot/../prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' '); end=$(/home/ma/proj/firefly-rk3399/u-boot/../prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/bin/aarch64-linux-android-nm u-boot | grep __rel_dyn_end | cut -f 1 -d ' '); tools/relocate-rela u-boot.bin 0x00200000 $start $end
  OBJCOPY u-boot.srec
./tools/boot_merger ./tools/rk_tools/RKBOOT/RK3399MINIALL.ini
out:rk3399_loader_v1.12.109.bin
fix opt:rk3399_loader_v1.12.109.bin
merge success(rk3399_loader_v1.12.109.bin)
./tools/trust_merger  ./tools/rk_tools/RKTRUST/RK3399TRUST.ini
out:trust.img
merge success(trust.img)
./tools/loaderimage --pack --uboot u-boot.bin uboot.img
pack input u-boot.bin
pack file size: 500340
crc = 0x0d3c8ebf
uboot version: U-Boot 2014.10-RK3399-06 (Apr 16 2020 - 23:32:44)
pack uboot.img success!
~/proj/firefly-rk3399
~/proj/firefly-rk3399/kernel ~/proj/firefly-rk3399
#
# configuration written to .config
#
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     scripts/mod/devicetable-offsets.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/bounds.h
make[1]: “arch/arm64/boot/dts/rockchip/rk3399-firefly-aio-lvds-M185XTN01-Test.dtb”是最新的。
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
make[1]: “include/generated/vdso-offsets.h”是最新的。
  CHK     include/generated/compile.h
  GEN     drivers/video/rockchip/screen/lcd.h
make[1]: “arch/arm64/boot/Image”是最新的。
  Image:  kernel.img is ready
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     scripts/mod/devicetable-offsets.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/bounds.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
make[2]: “include/generated/vdso-offsets.h”是最新的。
  Building modules, stage 2.
  MODPOST 11 modules
Pack to resource.img successed!
  Image:  resource.img (with rk3399-firefly-aio-lvds-M185XTN01-Test.dtb logo.bmp ) is ready
~/proj/firefly-rk3399
including device/generic/mini-emulator-arm64/vendorsetup.sh
including device/generic/mini-emulator-armv7-a-neon/vendorsetup.sh
including device/generic/mini-emulator-mips64/vendorsetup.sh
including device/generic/mini-emulator-mips/vendorsetup.sh
including device/generic/mini-emulator-x86_64/vendorsetup.sh
including device/generic/mini-emulator-x86/vendorsetup.sh
including device/google/dragon/vendorsetup.sh
including device/rockchip/rk3399/vendorsetup.sh
including sdk/bash_completion/adb.bash

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
TARGET_PRODUCT=rk3399_firefly_aio_lvds_box
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-142-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NHG47K
OUT_DIR=out
============================================
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=7.1.2
TARGET_PRODUCT=rk3399_firefly_aio_lvds_box
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=cortex-a53
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv7-a-neon
TARGET_2ND_CPU_VARIANT=cortex-a15
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-142-generic-x86_64-with-Ubuntu-14.04-trusty
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=NHG47K
OUT_DIR=out
============================================


作者: m1843514989    时间: 2020-4-17 00:20
[ 本帖最后由 m1843514989 于 2020-4-17 00:22 编辑 ]\n\n请各路神仙指教

作者: jpchen    时间: 2020-4-17 10:25
m1843514989 发表于 2020-4-17 00:20
[ 本帖最后由 m1843514989 于 2020-4-17 00:22 编辑 ]\n\n请各路神仙指教

source FFTools/build.sh;lunch rk3399_firefly_aio_lvds_box-userdebug;make installclean;make -j8;这个命令试试,同时现在主推Industry7.1
作者: m1843514989    时间: 2020-4-17 20:14
jpchen 发表于 2020-4-17 10:25
source FFTools/build.sh;lunch rk3399_firefly_aio_lvds_box-userdebug;make installclean;make -j8;这 ...

make installclean报错:

build/core/main.mk:576: PRODUCT_VBOOT_SIGNING_SUBKEY has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: PRODUCT_VERITY_SIGNING_KEY has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: PRODUCT_SYSTEM_VERITY_PARTITION has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: PRODUCT_VENDOR_VERITY_PARTITION has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: PRODUCT_DEX_PREOPT_MODULE_CONFIGS has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: PRODUCT_DEX_PREOPT_DEFAULT_FLAGS has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: PRODUCT_DEX_PREOPT_BOOT_FLAGS has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: PRODUCT_SANITIZER_MODULE_CONFIGS has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: PRODUCT_SYSTEM_BASE_FS_PATH has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: PRODUCT_VENDOR_BASE_FS_PATH has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: PRODUCT_SHIPPING_API_LEVEL has been modified: 25
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: PRODUCT_BOOTCLASSPATH has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: PRODUCT_SYSTEM_SERVER_CLASSPATH has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: TARGET_ARCH has been modified: arm64
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: TARGET_ARCH_VARIANT has been modified: armv8-a
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: TARGET_CPU_VARIANT has been modified: cortex-a53
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: TARGET_BOARD_PLATFORM has been modified: rk3399
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: TARGET_BOARD_PLATFORM_GPU has been modified: mali-t860
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: TARGET_BOARD_KERNEL_HEADERS has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: TARGET_DEVICE_KERNEL_HEADERS has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: TARGET_PRODUCT_KERNEL_HEADERS has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: TARGET_BOOTLOADER_BOARD_NAME has been modified: rk30sdk
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: TARGET_NO_BOOTLOADER has been modified: true
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: TARGET_NO_KERNEL has been modified: false
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: TARGET_NO_RECOVERY has been modified: false
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: TARGET_NO_RADIOIMAGE has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: TARGET_HARDWARE_3D has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: TARGET_CPU_ABI has been modified: arm64-v8a
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: TARGET_CPU_ABI2 has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: BOARD_WPA_SUPPLICANT_DRIVER has been modified: NL80211
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: BOARD_WLAN_DEVICE has been modified: bcmdhd
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: BOARD_USES_GENERIC_AUDIO has been modified: true
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: BOARD_KERNEL_CMDLINE has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: BOARD_KERNEL_BASE has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: BOARD_HAVE_BLUETOOTH has been modified: true
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: BOARD_VENDOR_USE_AKMD has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: BOARD_EGL_CFG has been modified: vendor/rockchip/common/gpu/MaliT860/etc/egl.cfg
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: BOARD_BOOTIMAGE_PARTITION_SIZE has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: BOARD_RECOVERYIMAGE_PARTITION_SIZE has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: BOARD_SYSTEMIMAGE_PARTITION_SIZE has been modified: 1200000000
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE has been modified: f2fs
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: BOARD_USERDATAIMAGE_PARTITION_SIZE has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: BOARD_CACHEIMAGE_PARTITION_SIZE has been modified: 69206016
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: BOARD_FLASH_BLOCK_SIZE has been modified: 131072
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: BOARD_VENDORIMAGE_PARTITION_SIZE has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: BOARD_INSTALLER_CMDLINE has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: DEFAULT_SYSTEM_DEV_CERTIFICATE has been modified: build/target/product/security/testkey
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: WITH_DEXPREOPT has been modified: false
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: WITH_DEXPREOPT_BOOT_IMG_ONLY has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: GLOBAL_CFLAGS_NO_OVERRIDE has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: GLOBAL_CPPFLAGS_NO_OVERRIDE has been modified:
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: GLOBAL_CLANG_CFLAGS_NO_OVERRIDE has been modified: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: previous value: -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type
build/core/main.mk:576: *** The following variables have been changed: PRODUCT_NAME PRODUCT_MODEL PRODUCT_LOCALES PRODUCT_AAPT_CONFIG PRODUCT_AAPT_PREF_CONFIG PRODUCT_AAPT_PREBUILT_DPI PRODUCT_PACKAGES PRODUCT_PACKAGES_DEBUG PRODUCT_PACKAGES_ENG PRODUCT_PACKAGES_TESTS PRODUCT_DEVICE PRODUCT_MANUFACTURER PRODUCT_BRAND PRODUCT_PROPERTY_OVERRIDES PRODUCT_DEFAULT_PROPERTY_OVERRIDES PRODUCT_CHARACTERISTICS PRODUCT_COPY_FILES PRODUCT_OTA_PUBLIC_KEYS PRODUCT_EXTRA_RECOVERY_KEYS PRODUCT_PACKAGE_OVERLAYS DEVICE_PACKAGE_OVERLAYS PRODUCT_SDK_ATREE_FILES PRODUCT_SDK_ADDON_NAME PRODUCT_SDK_ADDON_COPY_FILES PRODUCT_SDK_ADDON_COPY_MODULES PRODUCT_SDK_ADDON_DOC_MODULES PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP PRODUCT_DEFAULT_WIFI_CHANNELS PRODUCT_DEFAULT_DEV_CERTIFICATE PRODUCT_RESTRICT_VENDOR_FILES PRODUCT_VENDOR_KERNEL_HEADERS PRODUCT_BOOT_JARS PRODUCT_SUPPORTS_BOOT_SIGNER PRODUCT_SUPPORTS_VBOOT PRODUCT_SUPPORTS_VERITY PRODUCT_SUPPORTS_VERITY_FEC PRODUCT_OEM_PROPERTIES PRODUCT_SYSTEM_PROPERTY_BLACKLIST PRODUCT_SYSTEM_SERVER_JARS PRODUCT_VBOOT_SIGNING_KEY PRODUCT_VBOOT_SIGNING_SUBKEY PRODUCT_VERITY_SIGNING_KEY PRODUCT_SYSTEM_VERITY_PARTITION PRODUCT_VENDOR_VERITY_PARTITION PRODUCT_DEX_PREOPT_MODULE_CONFIGS PRODUCT_DEX_PREOPT_DEFAULT_FLAGS PRODUCT_DEX_PREOPT_BOOT_FLAGS PRODUCT_SANITIZER_MODULE_CONFIGS PRODUCT_SYSTEM_BASE_FS_PATH PRODUCT_VENDOR_BASE_FS_PATH PRODUCT_SHIPPING_API_LEVEL PRODUCT_BOOTCLASSPATH PRODUCT_SYSTEM_SERVER_CLASSPATH TARGET_ARCH TARGET_ARCH_VARIANT TARGET_CPU_VARIANT TARGET_BOARD_PLATFORM TARGET_BOARD_PLATFORM_GPU TARGET_BOARD_KERNEL_HEADERS TARGET_DEVICE_KERNEL_HEADERS TARGET_PRODUCT_KERNEL_HEADERS TARGET_BOOTLOADER_BOARD_NAME TARGET_NO_BOOTLOADER TARGET_NO_KERNEL TARGET_NO_RECOVERY TARGET_NO_RADIOIMAGE TARGET_HARDWARE_3D TARGET_CPU_ABI TARGET_CPU_ABI2 BOARD_WPA_SUPPLICANT_DRIVER BOARD_WLAN_DEVICE BOARD_USES_GENERIC_AUDIO BOARD_KERNEL_CMDLINE BOARD_KERNEL_BASE BOARD_HAVE_BLUETOOTH BOARD_VENDOR_USE_AKMD BOARD_EGL_CFG BOARD_BOOTIMAGE_PARTITION_SIZE BOARD_RECOVERYIMAGE_PARTITION_SIZE BOARD_SYSTEMIMAGE_PARTITION_SIZE BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE BOARD_USERDATAIMAGE_PARTITION_SIZE BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE BOARD_CACHEIMAGE_PARTITION_SIZE BOARD_FLASH_BLOCK_SIZE BOARD_VENDORIMAGE_PARTITION_SIZE BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE BOARD_INSTALLER_CMDLINE DEFAULT_SYSTEM_DEV_CERTIFICATE WITH_DEXPREOPT WITH_DEXPREOPT_BOOT_IMG_ONLY GLOBAL_CFLAGS_NO_OVERRIDE GLOBAL_CPPFLAGS_NO_OVERRIDE GLOBAL_CLANG_CFLAGS_NO_OVERRIDE。 停止。

#### make failed to build some targets (2 seconds) ####

ma@ma-ubuntu:~/proj/firefly-rk3399$
作者: m1843514989    时间: 2020-4-17 22:10
结贴
-------------------------------------------
git status 查看修改
再使用git checkout 文件名,撤销修改可能影响的文件.
-----------------------------------------------------
ma@ma-ubuntu:~/proj/firefly-rk3399$ git status
位于分支 firefly-rk3399
尚未暂存以备提交的变更:
  (使用 "git add <文件>..." 更新要提交的内容)
  (使用 "git checkout -- <文件>..." 丢弃工作区的改动)

        修改:         build/core/main.mk
        修改:         build/target/product/full_base.mk
        修改:         build/tools/buildinfo.sh
        修改:         device/rockchip/rk3399/device.mk
        修改:         device/rockchip/rk3399/gps/u-blox.conf
        修改:         device/rockchip/rk3399/rk3399_firefly_aio_lvds_box/system.prop
        修改:         device/rockchip/rk3399/rk3399_firefly_aioc_ai_lvds_box/system.prop
        修改:         frameworks/base/packages/SystemUI/res/layout/system_icons.xml
        修改:         frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/BatteryControllerImpl.java
        修改:         frameworks/base/services/core/java/com/android/server/pm/PackageManagerService.java
        修改:         kernel/arch/arm64/boot/dts/rockchip/Makefile
        修改:         kernel/logo.bmp
        修改:         prebuilts/sdk/tools/jack-admin

未跟踪的文件:
  (使用 "git add <文件>..." 以包含要提交的内容)

        .bundle/
        kernel/arch/arm64/boot/dts/rockchip/rk3399-firefly-aio-lvds-M185XTN01-Test.dts





欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1