blob: bb8211720696d230867c24e414bbe2ed1e048e00 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
GST_PLUGINS_UGLY_TOP := $(LOCAL_PATH)
GST_PLUGINS_UGLY_BUILT_SOURCES = \
ext/mad/Android.mk \
gst/realmedia/Android.mk \
gst/dvdsub/Android.mk \
gst/dvdlpcmdec/Android.mk \
gst/asfdemux/Android.mk \
ext/x264/Android.mk
GST_PLUGINS_UGLY_BUILT_SOURCES := $(patsubst %, $(abspath $(GST_PLUGINS_UGLY_TOP))/%, $(GST_PLUGINS_UGLY_BUILT_SOURCES))
.PHONY: gst-plugins-ugly-configure gst-plugins-ugly-configure-real
gst-plugins-ugly-configure-real:
cd $(GST_PLUGINS_UGLY_TOP) ; \
CC="$(CONFIGURE_CC)" \
CFLAGS="$(CONFIGURE_CFLAGS)" \
LD=$(TARGET_LD) \
LDFLAGS="$(CONFIGURE_LDFLAGS)" \
CPP=$(CONFIGURE_CPP) \
CPPFLAGS="$(CONFIGURE_CPPFLAGS)" \
PKG_CONFIG_LIBDIR="$(CONFIGURE_PKG_CONFIG_LIBDIR)" \
PKG_CONFIG_TOP_BUILD_DIR=/ \
$(abspath $(GST_PLUGINS_UGLY_TOP))/$(CONFIGURE) --host=arm-linux-androideabi \
--prefix=/system --disable-orc --disable-valgrind --disable-gtk-doc && \
for file in $(GST_PLUGINS_UGLY_BUILT_SOURCES); do \
rm -f $$file && \
make -C $$(dirname $$file) $$(basename $$file) ; \
done
gst-plugins-ugly-configure: gst-plugins-ugly-configure-real
CONFIGURE_TARGETS += gst-plugins-ugly-configure
-include $(GST_PLUGINS_UGLY_TOP)/ext/mad/Android.mk
-include $(GST_PLUGINS_UGLY_TOP)/ext/x264/Android.mk
-include $(GST_PLUGINS_UGLY_TOP)/gst/realmedia/Android.mk
-include $(GST_PLUGINS_UGLY_TOP)/gst/dvdsub/Android.mk
-include $(GST_PLUGINS_UGLY_TOP)/gst/dvdlpcmdec/Android.mk
-include $(GST_PLUGINS_UGLY_TOP)/gst/asfdemux/Android.mk
|