1 LOCAL_PATH := $(call my-dir)
4 GST_OMX_TOP := $(LOCAL_PATH)
6 GST_OMX_BUILT_SOURCES := omx/Android.mk
8 GST_OMX_BUILT_SOURCES := $(patsubst %, $(abspath $(GST_OMX_TOP))/%, $(GST_OMX_BUILT_SOURCES))
10 .PHONY: gst-omx-configure
13 CC="$(CONFIGURE_CC)" \
14 CFLAGS="$(CONFIGURE_CFLAGS)" \
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 \
25 make -C $$(dirname $$file) $$(basename $$file) ; \
28 CONFIGURE_TARGETS += gst-omx-configure
30 -include $(GST_OMX_TOP)/omx/Android.mk