| 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 |
|---|
| 52 | MAGNUM_MODULES += BDSP |
|---|
| 53 | |
|---|
| 54 | # Set Default conditional options |
|---|
| 55 | BDSP_AUDIO_SUPPORT ?= y |
|---|
| 56 | BDSP_VIDEO_SUPPORT ?=y |
|---|
| 57 | BDSP_VIDEO_ENCODE_SUPPORT ?= y |
|---|
| 58 | |
|---|
| 59 | # Include standard files |
|---|
| 60 | BDSP_INCLUDES := $(MAGNUM)/basemodules/dsp/common |
|---|
| 61 | |
|---|
| 62 | ifneq ($(BDSP_IMG_ONLY),y) |
|---|
| 63 | BDSP_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 |
|---|
| 70 | ifeq ($(BDSP_AUDIO_SUPPORT),y) |
|---|
| 71 | BDSP_SOURCES += $(MAGNUM)/basemodules/dsp/common/bdsp_audio_task.c |
|---|
| 72 | BDSP_DEFINES += BDSP_AUDIO_SUPPORT=1 |
|---|
| 73 | endif |
|---|
| 74 | ifeq ($(BDSP_VIDEO_SUPPORT),y) |
|---|
| 75 | BDSP_SOURCES += $(MAGNUM)/basemodules/dsp/common/bdsp_video_task.c |
|---|
| 76 | BDSP_DEFINES += BDSP_VIDEO_SUPPORT=1 |
|---|
| 77 | endif |
|---|
| 78 | |
|---|
| 79 | ifeq ($(BDSP_VIDEO_ENCODE_SUPPORT),y) |
|---|
| 80 | BDSP_SOURCES += $(MAGNUM)/basemodules/dsp/common/bdsp_video_encode_task.c |
|---|
| 81 | BDSP_DEFINES += BDSP_VIDEO_ENCODE_SUPPORT=1 |
|---|
| 82 | endif |
|---|
| 83 | |
|---|
| 84 | endif #BDSP_IMG_ONLY != y |
|---|
| 85 | |
|---|
| 86 | # Include chip-specifics |
|---|
| 87 | include $(MAGNUM)/basemodules/dsp/$(BCHP_CHIP)/bdsp_chip.inc |
|---|
| 88 | |
|---|