读书人

Cupcake编译指点

发布时间: 2012-09-07 10:38:15 作者: rapoo

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/.

读书人网 >移动开发

热点推荐