source: svn/trunk/newcon3bcm2_21bu/magnum/basemodules/dsp/bdsp.inc @ 3

Last change on this file since 3 was 2, checked in by phkim, 11 years ago

1.phkim

  1. revision copy newcon3sk r27
  • Property svn:executable set to *
File size: 2.7 KB
Line 
1############################################################
2#     Copyright (c) 2003-2012, Broadcom Corporation
3#     All Rights Reserved
4#     Confidential Property of Broadcom Corporation
5#
6#  THIS SOFTWARE MAY ONLY BE USED SUBJECT TO AN EXECUTED SOFTWARE LICENSE
7#  AGREEMENT  BETWEEN THE USER AND BROADCOM.  YOU HAVE NO RIGHT TO USE OR
8#  EXPLOIT THIS MATERIAL EXCEPT SUBJECT TO THE TERMS OF SUCH AN AGREEMENT.
9#
10# $brcm_Workfile: bdsp.inc $
11# $brcm_Revision: Hydra_Software_Devel/5 $
12# $brcm_Date: 1/27/12 12:58p $
13#
14# Module Description:
15#
16# Revision History:
17#
18# Created: 12/15/2010 by Jon Garrett
19#
20# $brcm_Log: /magnum/basemodules/dsp/bdsp.inc $
21#
22# Hydra_Software_Devel/5   1/27/12 12:58p ashoky
23# FWRAA-377: Merging h264 soft dsp video encoder to mainline.
24#
25# Hydra_Software_Devel/4   6/8/11 4:46p gautamk
26# SW7425-572: [7425] Adding DM related API support for VP6  in BDSP
27#
28# Hydra_Software_Devel/3   4/6/11 2:49p srajapur
29# SW7425-291: [7425]BDSP directory structure changes
30#
31# Hydra_Software_Devel/3   4/6/11 2:47p srajapur
32# SW7425-291: [7425]BDSP directory structure changes
33#
34# Hydra_Software_Devel/2   12/15/10 6:47p jgarrett
35# SW7422-146: Initial compileable prototype
36#
37# Hydra_Software_Devel/1   12/15/10 1:59p jgarrett
38# SW7422-146: Adding initial BDSP files
39#
40############################################################
41
42#
43# Conditional Options for this Makefile
44#
45# BDSP_AUDIO_SUPPORT (default=y) - Include audio support
46# BDSP_VIDEO_SUPPORT (default=n) - Include video support
47# BDSP_IMG_ONLY (default=n) - Include firmware only
48# BDSP_IMG_EXTERNAL (default=n) - Include non-firmware files only
49#
50
51# Define this module
52MAGNUM_MODULES += BDSP
53
54# Set Default conditional options
55BDSP_AUDIO_SUPPORT ?= y
56BDSP_VIDEO_SUPPORT ?=y
57BDSP_VIDEO_ENCODE_SUPPORT ?= y
58
59# Include standard files
60BDSP_INCLUDES := $(MAGNUM)/basemodules/dsp/common
61
62ifneq ($(BDSP_IMG_ONLY),y)
63BDSP_SOURCES := \
64        $(MAGNUM)/basemodules/dsp/common/bdsp.c \
65        $(MAGNUM)/basemodules/dsp/common/bdsp_context.c \
66        $(MAGNUM)/basemodules/dsp/common/bdsp_task.c \
67        $(MAGNUM)/basemodules/dsp/common/bdsp_priv.c
68       
69# Include conditional files
70ifeq ($(BDSP_AUDIO_SUPPORT),y)
71BDSP_SOURCES += $(MAGNUM)/basemodules/dsp/common/bdsp_audio_task.c
72BDSP_DEFINES += BDSP_AUDIO_SUPPORT=1
73endif
74ifeq ($(BDSP_VIDEO_SUPPORT),y)
75BDSP_SOURCES += $(MAGNUM)/basemodules/dsp/common/bdsp_video_task.c
76BDSP_DEFINES += BDSP_VIDEO_SUPPORT=1
77endif
78
79ifeq ($(BDSP_VIDEO_ENCODE_SUPPORT),y)
80BDSP_SOURCES += $(MAGNUM)/basemodules/dsp/common/bdsp_video_encode_task.c
81BDSP_DEFINES += BDSP_VIDEO_ENCODE_SUPPORT=1
82endif
83
84endif #BDSP_IMG_ONLY != y
85
86# Include chip-specifics
87include $(MAGNUM)/basemodules/dsp/$(BCHP_CHIP)/bdsp_chip.inc
88
Note: See TracBrowser for help on using the repository browser.