Compilation Error

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