otapackage and new device

897 views
Skip to first unread message

Alexander

unread,
Apr 7, 2011, 8:09:39 AM4/7/11
to Android Building
Hi, all.
I added new device to latest AOSP

unch

You're building on Linux

Lunch menu... pick a combo:
1. generic-eng
2. simulator
3. full_passion-userdebug
4. full_umts_basil-userdebug
5. full_crespo-userdebug

But when i try to build otapackage it failing with


make -j40 otapackage
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.3
TARGET_PRODUCT=full_umts_basil
TARGET_BUILD_VARIANT=userdebug
TARGET_SIMULATOR=false
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
HOST_ARCH=x86
HOST_OS=linux
HOST_BUILD_TYPE=release
BUILD_ID=GINGERBREAD
============================================


make: *** No rule to make target `otapackage'. Stop.


Whats wrong?
I

Ying Wang

unread,
Apr 8, 2011, 1:29:11 PM4/8/11
to android-...@googlegroups.com, Alexander
Check out the definition of otapackage in aosp-master/build/core/Makefile:
...
ifneq ($(TARGET_SIMULATOR),true)
ifneq ($(TARGET_PRODUCT),sdk)
ifneq ($(TARGET_DEVICE),generic)
ifneq ($(TARGET_NO_KERNEL),true)
...

.PHONY: otapackage
otapackage: $(INTERNAL_OTA_PACKAGE_TARGET)
..

I guess your new device is of PRODUCT_DEVICE "generic", or it does not have a kernel.



--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

Reply all
Reply to author
Forward
0 new messages