hi,

Here i meet a problem during compilation say:
build/core/shared_library.mk:20: *** hardware/libhardware_legacy/gps:
Illegal use of OVERRIDE_BUILT_MODULE_PATH.  Stop.


Here is my Android.mk

ifeq ($(strip $(BOARD_HAVE_GPS)),true)

  LOCAL_PATH := $(call my-dir)

  include $(CLEAR_VARS)


  LOCAL_SRC_FILES += gps/gps.c
  LOCAL_SRC_FILES += gps/gps.cpp

  LOCAL_MODULE := lib_gps

  LOCAL_SHARED_LIBRARIES := \
    libutils \
    libcutils \
    libdl \
    libc

  include $(BUILD_SHARED_LIBRARY)

endif


Does anyone have experience on that?

Thanks and Regards,
King.S

On 11月11日, 下午6時56分, Gilles TALIS <[email protected]> wrote:
> Hi King
>
> I think you would need to implement the HAL for your GPS device.
>
> There is an implementation for QEMU available in:
> \hardware\libhardware_legacy\gps\gps_qemu.c
>
> you would need to provide the same for your device.
>
> Gilles
>
> On Nov 10, 6:28 am, king <[email protected]> wrote:
>
> > Hi,
>
> > i am going to port a gps module to android on arm device,
> > The gps only needed to provide power and connect its RX and TX to the
> > arm device.
> > So far i can get the data from gps modules through the uart port of
> > the arm device.
> > I would like to ask how can i make it on the UI too?
>
> > I have put a google map apk in  the device but it always say "Please
> > enable a my location sample in the system setting ".
> > It seem cant get the data from the device.
> > What shd i do to resolve this problem ?
>
> > Thanks and Regards,
> > King.S

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to