From mboxrd@z Thu Jan 1 00:00:00 1970 From: karim.yaghmour@opersys.com (Karim Yaghmour) Date: Wed, 20 Apr 2011 19:20:53 -0400 Subject: [ltt-dev] building ust for android/arm In-Reply-To: References: Message-ID: <05d31a9aed48a0c39fac93c6b135160a@mail.gmail.com> > -----Original Message----- > From: Xing Fan [mailto:xing.fan0302@googlemail.com] > > Here are more description of my setting. > 1. I placed the ust code in external/ folder. > 2. my Android.mk file in external/ust-0.6 looks like this: > =========================================================== > include $(call all-subdir-makefiles) > > LOCAL_PATH := $(call my-dir) > > include $(CLEAR_VARS) > LOCAL_MODULE := libust > LOCAL_SRC_FILES := libust-initializer.c > LOCAL_C_INCLUDES += \ > $(LOCAL_PATH) \ > $(LOCAL_PATH)/include \ > external/userspace-rcu-0.4.6 > include $(BUILD_SHARED_LIBRARY) > =============================================================== > > > 3. However, I have problems to build libust.so. The error msg is: make: *** No rule to make target > `build/core/libust-initializer.c', needed by > `out/target/product/u8500/obj/SHARED_LIBRARIES/libust_intermediates/libust -initializer.o'. Stop. > > It is very strange that the compiler tries to pick up libust-initializer.c from build/core folder, > even though I have specified that the source file is in my LOCAL_PATH, which is external/ust-0.6; Is there an online version of this AOSP tree that I can pull using "repo"? -- Karim Yaghmour CEO - Opersys inc. / www.opersys.com http://twitter.com/karimyaghmour