[proprietary-open] Update WLAN firmware file
[android-sdk/device-ti-proprietary-open.git] / omap4 / ducati / Android.mk
1 LOCAL_PATH := $(call my-dir)
3 define _add-ducati-vendor-fw
4 include $$(CLEAR_VARS)
5 $(if $(word 2,$1),$(error Invalid Ducati module name $1))
6 LOCAL_MODULE := $(basename $(notdir $1))
7 LOCAL_SRC_FILES := $1
8 LOCAL_MODULE_TAGS := optional
9 LOCAL_MODULE_SUFFIX := $(suffix $1)
10 LOCAL_MODULE_CLASS := SHARED_LIBRARIES
11 LOCAL_MODULE_PATH := $$(TARGET_OUT)$(abspath /vendor/$(dir $1))
12 LOCAL_STRIP_MODULE := false
13 OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_LIBRARIES)
14 include $$(BUILD_PREBUILT)
15 endef
17 define _add-ducati-dcc
18 include $$(CLEAR_VARS)
19 $(if $(word 2,$1),$(error Invalid SGX module name $1))
20 LOCAL_MODULE := $(basename $(notdir $1))
21 LOCAL_SRC_FILES := $1
22 LOCAL_MODULE_TAGS := optional
23 LOCAL_MODULE_SUFFIX := $(suffix $1)
24 LOCAL_MODULE_CLASS := EXECUTABLES
25 LOCAL_MODULE_PATH := $$(TARGET_OUT_DATA)$(abspath /misc/$(dir $1))
26 LOCAL_STRIP_MODULE := false
27 OVERRIDE_BUILT_MODULE_PATH := $$(TARGET_OUT_INTERMEDIATE_EXECUTABLES)
28 include $$(BUILD_PREBUILT)
29 endef
32 prebuilt_ducati_vendor_fw := \
33         firmware/ducati-m3.bin
35 prebuilt_ducati_dcc := \
36         camera/R8_MVEN002_LD2_ND0_IR0_SH0_FL1_SVEN003_DCCID1042/cid1042_ov5640_vnf_cfg_dcc.bin \
37         camera/R8_MVEN002_LD2_ND0_IR0_SH0_FL1_SVEN003_DCCID1042/cid1042_ov5640_ducati_nsf_ldc.bin \
38         camera/R8_MVEN002_LD2_ND0_IR0_SH0_FL1_SVEN003_DCCID1042/cid1042_ov5640_capabilities.bin \
39         camera/R8_MVEN002_LD2_ND0_IR0_SH0_FL1_SVEN003_DCCID1042/cid1042_ov5640_ldc_cfg_dcc.bin \
40         camera/R8_MVEN002_LD2_ND0_IR0_SH0_FL1_SVEN003_DCCID1042/cid1042_ov5640_face_detect_dcc.bin \
41         camera/R8_MVEN002_LD2_ND0_IR0_SH0_FL1_SVEN003_DCCID1042/cid1042_ov5640_face_tracking_dcc.bin \
42         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_isif_csc_dcc.bin \
43         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ipipe_nf2_dcc.bin \
44         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ipipe_lsc_poly_dcc.bin \
45         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_h3a_aewb_dcc.bin \
46         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_alg_3a_af_caf_dcc.bin \
47         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_awb_alg_mms2_tuning.bin \
48         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_gbce_sw1_dcc.bin \
49         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ipipe_rgb2rgb_1_dcc.bin \
50         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_alg_3a_af_affw_dcc_tuning.bin \
51         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ipipe_gic_dcc.bin \
52         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ipipe_cgs_dcc.bin \
53         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_isif_clamp_dcc.bin \
54         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_awb_alg_ti3_tuning.bin \
55         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_iss_vstab_dcc.bin \
56         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ipipe_gbce_dcc.bin \
57         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_alg_3a_af_saf_dcc.bin \
58         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ducati_eff_tun.bin \
59         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_iss_glbce3_dcc.bin \
60         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_alg_3a_ae_mms2_dcc.bin \
61         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ldc_cac_cfg_dcc.bin \
62         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ipipe_nf1_dcc.bin \
63         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ipipe_ee_dcc.bin \
64         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ipipe_rgb2yuv_dcc.bin \
65         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ipipe_rgb2rgb_2_dcc.bin \
66         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_vnf_cfg_dcc.bin \
67         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ipipe_3d_lut_dcc.bin \
68         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ducati_gamma.bin \
69         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_kgen_dcc_preflash.bin \
70         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_vss_sac_smac_cfg_dcc.bin \
71         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_alg_3a_ae_ti2_dcc.bin \
72         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_face_tracking_dcc.bin \
73         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_iss_lbce_dcc.bin \
74         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_alg_3a_af_hllc_dcc_tuning.bin \
75         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ipipe_cfai_dcc.bin \
76         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_alg_3a_af_caf_dcc_tuning.bin \
77         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ipipe_car_dcc.bin \
78         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_alg_3a_af_saf_dcc_tuning.bin \
79         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ducati_lsc_2d.bin \
80         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ducati_awb_ti2_tun.bin \
81         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ipipe_dpc_otf.bin \
82         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_iss_scene_modes_dcc.bin \
83         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ducati_nsf_ldc.bin \
84         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ldc_cfg_dcc.bin \
85         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ipipe_rsz_dcc.bin \
86         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_face_detect_dcc.bin \
87         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ipipe_yuv444_to_yuv422_dcc.bin \
88         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_ipipe_dpc_lut_dcc.bin \
89         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_alg_3a_af_affw_dcc.bin \
90         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_alg_adjust_rgb2rgb_dcc.bin \
91         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_alg_3a_ae_dcc.bin \
92         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_alg_3a_af_hllc_dcc.bin \
93         camera/R12_MVEN001_LD1_ND0_IR0_SH0_FL0_SVEN001_DCCID43/cid43_imx060_capabilities.bin \
94         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ipipe_gbce_dcc.bin \
95         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_capabilities.bin \
96         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_awb_alg_ti3_tuning.bin \
97         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_alg_3a_ae_mms2_dcc.bin \
98         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_iss_lbce_dcc.bin \
99         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ipipe_nf1_dcc.bin \
100         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ducati_eff_tun.bin \
101         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ipipe_rgb2yuv_dcc.bin \
102         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_isif_clamp_dcc.bin \
103         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ipipe_rsz_dcc.bin \
104         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ducati_awb_ti2_tun.bin \
105         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_vss_sac_smac_cfg_dcc.bin \
106         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ipipe_cgs_dcc.bin \
107         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_alg_3a_af_hllc_dcc_tuning.bin \
108         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_iss_scene_modes_dcc.bin \
109         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ipipe_dpc_lut_dcc.bin \
110         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_face_tracking_dcc.bin \
111         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_alg_adjust_rgb2rgb_dcc.bin \
112         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ipipe_yuv444_to_yuv422_dcc.bin \
113         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ipipe_rgb2rgb_2_dcc.bin \
114         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ipipe_ee_dcc.bin \
115         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_alg_3a_af_saf_dcc.bin \
116         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_isif_csc_dcc.bin \
117         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ipipe_car_dcc.bin \
118         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_alg_3a_ae_dcc.bin \
119         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_face_detect_dcc.bin \
120         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ipipe_3d_lut_dcc.bin \
121         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ducati_lsc_2d.bin \
122         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_alg_3a_af_caf_dcc_tuning.bin \
123         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ipipe_dpc_otf.bin \
124         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_alg_3a_af_hllc_dcc.bin \
125         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ipipe_rgb2rgb_1_dcc.bin \
126         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_alg_3a_af_affw_dcc_tuning.bin \
127         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ipipe_cfai_dcc.bin \
128         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ducati_gamma.bin \
129         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_alg_3a_af_caf_dcc.bin \
130         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ducati_nsf_ldc.bin \
131         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_h3a_aewb_dcc.bin \
132         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_alg_3a_af_affw_dcc.bin \
133         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_iss_vstab_dcc.bin \
134         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ipipe_nf2_dcc.bin \
135         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ipipe_lsc_poly_dcc.bin \
136         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_alg_3a_ae_ti2_dcc.bin \
137         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ldc_cfg_dcc.bin \
138         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_iss_glbce3_dcc.bin \
139         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_alg_3a_af_saf_dcc_tuning.bin \
140         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ldc_cac_cfg_dcc.bin \
141         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_ipipe_gic_dcc.bin \
142         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_kgen_dcc_preflash.bin \
143         camera/R12_MVEN002_LD2_ND0_IR0_SH0_FL0_SVEN002_DCCID42/cid42_ov5650_vnf_cfg_dcc.bin
145 prebuilt_ducati_modules := \
146   $(foreach _file,$(prebuilt_ducati_vendor_fw) $(prebuilt_ducati_dcc), \
147     $(notdir $(basename $(_file))))
149 include $(CLEAR_VARS)
150 LOCAL_MODULE := ti_omap4_ducati_libs
151 LOCAL_MODULE_TAGS := optional
152 LOCAL_REQUIRED_MODULES := $(prebuilt_ducati_modules)
153 include $(BUILD_PHONY_PACKAGE)
155 $(foreach _file,$(prebuilt_ducati_vendor_fw),\
156   $(eval $(call _add-ducati-vendor-fw,$(_file))))
158 $(foreach _file,$(prebuilt_ducati_dcc),\
159   $(eval $(call _add-ducati-dcc,$(_file))))
161 prebuilt_ducati_modules :=
162 prebuilt_ducati_vendor_fw :=
163 _add-ducati-vendor-fw :=
164 _add-ducati-dcc :=