S3C6410移植android4.0 ice scream
来源:互联网 发布:西门子plm软件 列表 编辑:程序博客网 时间:2024/04/29 09:22
1、修改源码使其支持s3c6410:
修改/WORKING_DIRECTORY/build/target/board/generic下的BoardConfig.mk文件:
修改以下内容为:
TARGET_ARCH_VARIANT := armv5te-vfp
TARGET_CPU_ABI := armeabi
TARGET_CPU_ABI2 := armeabi
修改external/webrtc/src/common_audio/signal_processing_library/main/interface/spl_inl.h,如图:
否则会报错
/tmp/ccqlae8X.s: Assembler messages:
/tmp/ccqlae8X.s:208: Error: selected processor does not support `qadd16 ip,r0,r3'
/tmp/ccqlae8X.s:236: Error: selected processor does not support `qadd16 r9,r4,r9'
/tmp/ccqlae8X.s:253: Error: selected processor does not support `qadd16 ip,ip,r4'
make: *** [out/target/product/OK6410/obj/STATIC_LIBRARIES/libwebrtc_spl_intermed
iates/auto_corr_to_refl_coef.o] Error 1
2、修改/WORKING_DIRECTORY/build/core/main.mk
include $(BUILD_SYSTEM)/legacy_prebuilts.mk
ifneq ($(filter-out $(GRANDFATHERED_ALL_PREBUILT),$(strip $(notdir $(ALL_PREBUILT)))),)
$(warning *** Some files have been added to ALL_PREBUILT.)
$(warning *)
$(warning * ALL_PREBUILT is a deprecated mechanism that)
$(warning * should not be used for new files.)
$(warning * As an alternative, use PRODUCT_COPY_FILES in)
$(warning * the appropriate product definition.)
$(warning * build/target/product/core.mk is the product)
$(warning * definition used in all products.)
$(warning *)
$(foreach bad_prebuilt,$(filter-out $(GRANDFATHERED_ALL_PREBUILT),$(strip $(notdir $(ALL_PREBUILT)))),$(warning * unexpected $(bad_prebuilt) in ALL_PREBUILT))
$(warning *)
$(warning ALL_PREBUILT contains unexpected files) //把error改为warning
endif
修改/WORKING_DIRECTORY/build/core/product.mk
define assert-product-vars
$(strip \
$(eval changed_variables:=)
$(foreach v,$(_product_stash_var_list), \
$(if $(call streq,$($(v)),$($(strip $(1))_$(call rot13,$(v)))),, \
$(eval $(warning $(v) has been modified: $($(v)))) \
$(eval $(warning previous value: $($(strip $(1))_$(call rot13,$(v))))) \
$(eval changed_variables := $(changed_variables) $(v))) \
) \
$(if $(changed_variables),\
$(eval $(warning The following variables have been changed: $(changed_variables))),) //把error改为warning
)
修改/WORKING_DIRECTORY/build/core/Makefile
define check-product-copy-files
$(if $(filter %.apk, $(1)),$(warning \ //把error改为warning
Prebuilt apk found in PRODUCT_COPY_FILES: $(1), use BUILD_PREBUILT instead!))
endef
- S3C6410移植android4.0 ice scream
- android4.0移植tslib
- android4.0 camera hal 移植
- android4.0 camera hal 移植
- android4.0电容屏移植
- 移植live555到android4.0
- android4.0 camera hal 移植
- android4.0移植,拨号异常
- S3C6410 移植Android 内核
- S3C6410 SPI驱动移植
- S3C6410 移植Android 内核
- S3C6410 移植Android 内核
- S3C6410 移植Android 内核
- S3C6410 移植Android 内核
- qwt移植到s3c6410
- S3C6410移植u-boot
- S3C6410移植u-boot
- oRTP移植到S3C6410
- [黑马程序员] abstract
- 黑马程序员-----代理之动态代理总结*
- 高效网站开发缓存技术应用——网页输出缓存(Ⅲ)
- Oracle directory 目录
- 魔幻数字47
- S3C6410移植android4.0 ice scream
- 开源代码分析技巧之——高效Windows源码分析
- Leetcode: Rotate Image
- js读取 写入 cookie
- 2013 Linux领域年终盘点
- Java异常处理机制
- 2. Windows下Linux模拟器的卸载方法
- Windows系统下配置Android NDK开发环境
- 【Angular】服务都是全局可见的