omxvideodec: use the correct printf format in a debug message
[platform/upstream/gstreamer.git] / Android.mk
1 LOCAL_PATH := $(call my-dir)
2 include $(CLEAR_VARS)
3
4 GST_OMX_TOP := $(LOCAL_PATH)
5
6 GST_OMX_BUILT_SOURCES := omx/Android.mk
7
8 GST_OMX_BUILT_SOURCES := $(patsubst %, $(abspath $(GST_OMX_TOP))/%, $(GST_OMX_BUILT_SOURCES))
9
10 .PHONY: gst-omx-configure
11 gst-omx-configure:
12         cd $(GST_OMX_TOP) ; \
13         CC="$(CONFIGURE_CC)" \
14         CFLAGS="$(CONFIGURE_CFLAGS)" \
15         LD=$(TARGET_LD) \
16         LDFLAGS="$(CONFIGURE_LDFLAGS)" \
17         CPP=$(CONFIGURE_CPP) \
18         CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \
19         PKG_CONFIG_LIBDIR="$(CONFIGURE_PKG_CONFIG_LIBDIR)" \
20         PKG_CONFIG_TOP_BUILD_DIR=/ \
21         $(abspath $(GST_OMX_TOP))/$(CONFIGURE) --host=arm-linux-androideabi \
22         --prefix=/system --disable-orc --disable-valgrind --disable-gtk-doc && \
23         for file in $(GST_OMX_BUILT_SOURCES); do \
24                 rm -f $$file && \
25                 make -C $$(dirname $$file) $$(basename $$file) ; \
26         done
27
28 CONFIGURE_TARGETS += gst-omx-configure
29
30 -include $(GST_OMX_TOP)/omx/Android.mk