没有规则来制定目标---交叉编译时

时间:2013-06-12 10:18:15

标签: android shared-libraries android-build

我正在尝试包含指纹模块。我将所有.c和.h文件放在/ external /下的新目录中,并创建了一个Android.mk文件

########## libdpfpdd ############
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := ldpfpdd
LOCAL_SRC_FILES := libdpfpdd.so
include $(PREBUILT_SHARED_LIBRARY)

########### libdpfj ##############

include $(CLEAR_VARS)
LOCAL_MODULE := ldpfj
LOCAL_SRC_FILES := libdpfj.so
include $(PREBUILT_SHARED_LIBRARY)

######### fingerprint ############

include $(CLEAR_VARS)
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE := fingerprint
LOCAL_SRC_FILES := \
  enrollment.c helpers.c identification.c \
  menu.c sample.c selection.c verification.c
LOCAL_SHARED_LIBRARIES += ldpfpdd ldpfj
include $(BUILD_EXECUTABLE)

在此之后我试图进行交叉编译     make TARGET_PRODUCT = am335xevm_sk -j8 OMAPES = 4.x. 并得到错误

make: *** No rule to make target `out/target/product/am335xevm_sk/obj/lib/ldpfpdd.so', needed by `out/target/product/am335xevm_sk/obj/EXECUTABLES/fingerprint_intermediates/LINKED/fingerprint'.  Stop.
make: *** Waiting for unfinished jobs....

0 个答案:

没有答案