首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 移动开发 > 移动开发 >

Cupcake编译指点

2012-09-07 
Cupcake编译指导\cupcake\从服务器下载该目录下所有文件tar zxfpath/cupcake.tgz –C ~/cp –r ~/pxa_cupcak

Cupcake编译指导

\cupcake\

从服务器下载该目录下所有文件

tar zxfpath/cupcake.tgz –C ~/

cp –r ~/pxa_cupcake/src/cupcake/cupcake_patches/*~/cupcake/

?

2. qemu_gnu.patch

projectexternal/qemu/

diff--git a/Makefile.android b/Makefile.android

index4c697fb..98d2084 100644

---a/Makefile.android

+++b/Makefile.android

@@-18,7 +18,7 @@ MY_CFLAGS := $(CONFIG_INCLUDES) -O2 -g \

?

?# this is needed to build the emulator on64-bit Linux systems

?ifeq ($(HOST_OS)-$(HOST_ARCH),linux-x86)

-? MY_CFLAGS += -Wa,--32

+? MY_CFLAGS += -Wa,--32 -D_GNU_SOURCE

?endif

?

?ifeq ($(HOST_OS),freebsd)

?

编译cupcake

Buid PXA Android by:

?$ .build/envsetup.sh

?$choosecombo

Note: please choseDevice-release-littleton-user

?$make –j4

After a while (30~60 minutes), the binarieswill be generated under?/out/target/product/littleton/.

热点排行