DM6467T開(kāi)發(fā)闆聽報領航——環境文件配置

DM6467T環境文件配置

DM6467T開(kāi)發(fā)闆領航——環境文件配置

時(shí)間:2013-08-07   點擊:331東你0

 

DM6467T開(kāi)發(f月報ā)闆領航——環境文件配置

 

繼上一篇DM6467T開(kāi)發(fā)闆領航—見身—開(kāi)發(fā)環境安裝

按照我們上一篇DM6467T開(kāi)發(fā)領航媽什——開(kāi)發(fā)環境安裝 的安裝方法,林亮最主要要修改的文件就(jiù)是/home/dm6農銀467t/dvsdk_3_10_00_19目錄下的Rules.make文件和M數風akefile文件啦

 

下面(miàn)我們一起(qǐ)來看看R村說ules.make文件吧

 

在修改之前,請把文件設置爲可寫

root@ubuntu:/home/dm6467t/d謝理vsdk_3_10_00_19# chm大不od -777 Rules.make

 

 

這(zhè)個是平台的定義,不用笑路改

# Define target platf河器orm.

PLATFORM=dm6467

 

這(zhè)個是DVSDK目錄的指定,沒(méi)有問題,不用改

# The installation 河腦directory of the DVSDK.

DVSDK_INSTALL_DIR=/home/dm火森6467t/dvsdk_3_10_00_19

 

# For backwards compatibility

DVEVM_INSTALL_DIR=$(DVSDK_INSTALL_DIR)快體

 

下面(miàn)都(dōu)是些安裝的目錄,沒(筆學méi)有問題

# Where DSP/BIOS is installe問草d.

BIOS_INSTALL_DI哥工R=$(DVSDK_INSTALL_DIR)/bios_5_4月場1_00_06

 

# Where the DSPBIOS Ut樂下ils package is installed.

BIOSUTILS_INSTALL_DIR=朋遠$(DVSDK_INSTALL_DIR)/biosutils_1_02去玩_02

 

# Where the Codec E一小ngine package is installed.

CE_INSTALL_DIR=$(DVSDK_INSTALL_DIR坐什)/codec_engine_2_25_05_16

 

# Where the DSP Link packag算老e is installed.

LINK_INSTALL_DIR=$(DVSDK_INSTALL_技機DIR)/dsplink_linux_1_64

 

ifeq ($(PLATFORM),dm355)

# Where the DM355 codecs 船森are installed.

    CODEC少那_INSTALL_DIR=$(DVSDK_INSTALL_DIR)/dm355錯地_codecs_03_10_00_02

endif

 

ifeq ($(PLATFORM),dm36西我5)

# Where the DM365 codecs are對都 installed.

    CODEC_INS書坐TALL_DIR=$(DVSDK_INSTALL_DIR)/dm365土劇_codecs_03_10_00_07

endif

 

# Where the DM365MM mod務空ule is installed.

DM365MMAP_INSTALL_DIR=$(D服放VSDK_INSTALL_DIR)/dm365mm_01高亮_00_03

 

ifeq ($(PLATFORM),dm6467)冷鐘

# Where the cs2dm6467 cod暗文ec server package門國 is installed.

CODEC_INSTALL_DIR=$(DVSDK_INSTAL兵妹L_DIR)/cs2dm6467_1_00_00_10

endif

 

# Where DMAI package is installed議還.

DMAI_INSTALL_DIR=$(DVSDK要南_INSTALL_DIR)/dma器街i_2_10_00_12

 

# Where the DVSDK demos 生高are installed

DEMO_INSTALL_DIR=$(DVSDK_I長友NSTALL_DIR)/dvsdk_demos_3_10_00_16北術

 

# Where the DVTB packag少中e is installed.討內

DVTB_INSTALL_DIR=$(DVSDK_INSTA一樂LL_DIR)/dvtb_4_20_10錢公

 

# Where the EDMA3 LLD package is i說冷nstalled.

EDMA3_LLD_INSTAL窗志L_DIR=$(DVSDK_INSTALL_D少件IR)/edma3_lld_01_商她11_00_03

 

# Where the Framework Com關兒ponents package is instal器都led.

FC_INSTALL_DIR=$(DVSDK_INSTAL如業L_DIR)/framework_co劇高mponents_2_25_02_06

 

# Where the MFC Lin暗藍ux Utils package i能些s installed.

LINUXUTILS_INSTALL_DIR=$(DVSDK_IN件知STALL_DIR)/linuxutils_唱爸2_25_04_10

CMEM_INSTALL_DIR=$(LINUXUTILS_INSTALL科愛_DIR)

 

# Where the XDAIS package is in房少stalled.

XDAIS_INSTALL_DIR=$(DV放請SDK_INSTALL_DIR)/xdais_6_25_02_1新信1

 

# Where the RTSC too飛又ls package is installed.

XDC_INSTALL_DIR=哥行$(DVSDK_INSTALL玩北_DIR)/xdctools_3_16_01_27

以上這(zhè)些目錄都(dōu)沒師一(méi)有問題,可以根據文件和自己的目錄仔細的對(duì)一遍

這(zhè)裡(lǐ)的目錄不對(duì),需錯能要修改

# Where the Code G舊空en is installed.

#CODEGEN_INSTALL_DIR=$(DV短白SDK_INSTALL_DIR)/cgt6算紙x_6_1_12

CODEGEN_INSTALL_DIR=$(科還DVSDK_INSTALL_DIR)/C6000CGT7.4.2

 

下面(miàn)這(zhè)個是内核道外目錄,我們也需要修改

# The directory that points to you房北r kernel source directory.

#LINUXKERNEL_INSTALL_DIR=$(DVSD都下K_INSTALL_DIR)/../git

這(zhè)個是内核目錄,我們修改過(g村中uò)

LINUXKERNEL_INSTALL_DIR=$(DVSDK_金紅INSTALL_DIR)/../git-kernel

 

# Where temporary Linux headers and li靜快bs are installed.

#LINUXLIBS_INSTALL_DIR=$(DV店筆SDK_INSTALL_DIR)/../linuxlibs-2009見事.11-armv5te

LINUXLIBS_INSTALL_DIR=$(DVSDK_雜購INSTALL_DIR)/linuxlibs-2009近近.11-armv5te

 

# Where Linux examples are ins火醫talled.

#LINUXEXAMPLES_INSTALL_DIR=$(樹著DVSDK_INSTALL_DIR)/../ex作黑amples-r37

LINUXEXAMPLES_INSTALL_DIR=$(DVSDK_INSTA中員LL_DIR)/examples-r37

 

# The prefix to be a見會dded before the GNU co不做mpiler tools (opti制男onally including # path), i.e. &quo鐘銀t;arm_v5t_le-"慢議; or "/opt/場市bin/arm_v5t_le-".

#CSTOOL_DIR=/opt/arm-2009q1

這(zhè)個是編譯器目錄

CSTOOL_DIR=/hom吧哥e/dm6467t/arm-2009q1

CSTOOL_PREFIX=$(CSTOOL_DI不中R)/bin/arm-none-上什linux-gnueabi-

 

MVTOOL_DIR=$(CSTOOL_DIR)

MVTOOL_PREFIX=$(CSTO北唱OL_PREFIX)

 

# Where to copy the resulting 嗎員executables

#EXEC_DIR=$(HOME)/install/$(PLATFO她船RM)

這(zhè)個是編譯好(hǎo)的文件放的目錄

EXEC_DIR=/home/dm6467t/install妹子/$(PLATFORM)

 

這(zhè)樣(yàng)Rules.make文件她習就(jiù)修改完成(chéng)了,其實沒(méi)有想像中的大費那麼(me)難,不要被(bèi)Davianci吓壞了志影。隻要你認真的對(duì)照文件和自己的目錄,目錄設置對(duì)了基本上都(有頻dōu)不會(huì)有問題。如果有漏掉的,也不用擔心女門,在你編譯的時(shí)候肯定會(huì)報厭影錯的,什麼(me)找不到文件啦,找不到路徑啦,之類的錯誤廠樹基本上是配置文件的問題。

 

下面(miàn)我們來看看makefile文件

對(duì)于很多linux初學(x南路ué)者,往往對(duì)makefil南錢e文件一頭霧水,甚至有點怕的感覺。其實沒(méi)什麼(師黃me)好(hǎo)怕的。網上關于makefile的小司文章大把大把的,你先學(xué體志)習個大概,再使用的過(guò)程中,不懂的再查查,基本上答看都(dōu)能(néng)解決問題。至于怎麼(me醫子)讀懂makefile,我不打算在這(zhè)裡高呢(lǐ)講,我們就(jiù)一起(qǐ)看看怎麼(me)修改這(z校拍hè)個makefilek吧

 

先把makefile改爲可寫吧

root@ubuntu:/home/dm6467t/dvsdk_3照林_10_00_19# chmod 777 M拿去akefile

 

看看makefile

重點看看216行~227行

 

include Rules.make

 

COMPONENTS:=$(DM文相AI_INSTALL_DIR) $(XDA東在IS_INSTALL_DIR) $(LINUXUTILS_INSTALL_D志花IR) $(EDMA3_LLD_INSTALL_DIR) $(FC_INSTA看地LL_DIR) $(CE_INSTALL_DIR) $(XDC_INS火章TALL_DIR) $(BIOS_INSTALL_DI鐵報R) $(CODEC_INSTALL道白_DIR)

 

.PHONY:   all clean eve化高rything clobber help cmem cmem樹靜_clean dmai dmai黑花_clean dmai_install de劇話mos demos_clean dvtb門唱 dvtb_clean dmammapk dmammapk數嗎_clean dsplink dsplink_arm dspl知站ink_dsp dsplink_samples dsplink_clean 器計codecs codecs_clean linux linux_c笑公lean psp_examples psp化土_examples_clean psp_examples_install還器 info check insta票嗎ll

 

#============================如姐=====================但來===================吧讀==========

# Set up platform depe少風ndent variables.

#====================空長===================================土用=======================

ifeq ($(PLATFORM)店哥,dm6446)

COMPONENTS+=$(BIOSUTILS_頻低INSTALL_DIR) $(LINK_I友在NSTALL_DIR)

CHECKLIST:=$(CODEGEN_INSTAL低船L_DIR)/bin/cl6x

REPOSITORIES:=$(DVTB_IN飛鐘STALL_DIR)/packages

LINUXKERNEL_CONFIG=davinci和是_dm644x_defconfig

LINUXSAMPLES_PLATFORM=dm644x

DSPLINK_CONFIG=--platf能男orm=DAVINCI --nodsp=1 --ds房知pcfg_0=DM6446GEMSHMEM --dspos_微場0=DSPBIOS5XX --gppos=MVL5G --年嗎comps=ponslrm

DSPLINK_MODULE=$(LI你訊NK_INSTALL_DIR)/dsplin花河k/gpp/export/BIN/Linux/DAVINCI/RELEAS船動E/dsplinkk.ko

HAS_SERVER=true

HAS_DSPLINK=tr線我ue

HAS_IRQK=false

HAS_EDMAK=false

DMAI_PLATFORM=dm6高照446_al

else

ifeq ($(PLATFORM),dm6467)

COMPONENTS+=$(BIOSUTILS_INSTALL_DIR) 請朋$(LINK_INSTALL_D能也IR)

CHECKLIST:=$(CODEGEN_能黑INSTALL_DIR)/bin/cl6x

REPOSITORIES:=$(DVTB_INSTALL麗家_DIR)/packages

LINUXKERNEL_CO可大NFIG=davinci_dm646x_1ghz_defconfig

LINUXSAMPLES_PLATFORM=dm6媽章46x

DSPLINK_CONFIG=--platform=DAV風分INCIHD --nodsp=1 --dspcfg_0=DM6467G樹人EMSHMEM --dspos_0=DSPBIOS5XX --呢愛gppos=DM6467LSP --comps=pons拿線lrm

DSPLINK_MODULE=$(LIN技請K_INSTALL_DIR)/dsplink/gpp/export/玩科BIN/Linux/DAVINCIHD/RELEASE/dsplinkk.k討家o

HAS_SERVER=true

HAS_DSPLINK=true

HAS_IRQK=false

HAS_EDMAK=false

DMAI_PLATFORM=dm64煙店67_al

else

ifeq ($(PLATFORM),dm355)

REPOSITORIES:=多文$(DVTB_INSTALL_DIR)/packages

LINUXKERNEL_CONFIG=dav我但inci_dm355_defconfig

LINUXSAMPLES_PLATFOR嗎中M=dm355

HAS_SERVER=false

HAS_DSPLINK=false

HAS_IRQK=true

HAS_EDMAK=true

DMAMMAP_INSTALL_DIR=$(COD鄉線EC_INSTALL_DIR)/dm355mm/module

DMAI_PLATFORM=dm3用城55_al

else

ifeq ($(PLATFOR大通M),dm365)

REPOSITORIES:=$(DVTB_I醫樹NSTALL_DIR)

LINUXKERNEL_CONFIG=dav弟頻inci_dm365_defconfig

LINUXSAMPLES_PLATFORM=dm365

HAS_SERVER=false

HAS_DSPLINK=fa化也lse

HAS_IRQK=true

HAS_EDMAK=true

DMAMMAP_INSTALL_DI她音R=$(DM365MMAP_INSTALL_DI我技R)/module

DMAI_PLATFORM=dm365_al

else

     &n刀到bsp;   員微$(error PLATFORM not se開睡t correctly: $(PLATFORM))

endif

endif

endif

endif

 

REPOSITORIES+=$(addsu民化ffix /packages, $(filter-out 笑現; $(LINK_INSTALL_DIR), $(COMPONENTS)))

 

CHECKLIST+=$(REPOSITORIES) $(MVTO木山OL_PREFIX)gcc $(LINUXKERNEL_INSTA個但LL_DIR)/Documentatio靜呢n $(DEMO_INSTALL_DIR)/$理冷(PLATFORM)

#==========================他見====================技遠================================

# The default bu黑城ild target.

#=================火照=================================兵答============================

all:   工對; check cmem dmam科會mapk edmak irqk dmai demos

 

#===============================遠跳======================================市請=========

# Clean up the targets bu購相ilt by 'make媽民 all'.

#================廠長=============================習冷=================短男================

clean:   &nbs美鐵p;   cmem_clean dmammapk_一朋clean edmak_clean irqk_clean dma北火i_clean demos_clea時黑n

 

#===========================好劇====================跳嗎===============================

# Build everything rebu體煙ildable.

#==================================鐘著==========================船你==================

everything: check linux dspl科市ink codecs all ce_examples dvtb

 

#===============================睡睡===========================章動====================

# Clean up all targets.

#=======================業為=======================================內廠================

clobber:    場海clean dsplink_clean務議 linux_clean codecs為去_clean ce_examples_clean dvtb_拿國clean

 

#================小朋=================================空地=============================

# A help message target.

#=============動秒=====================================山校============================

help:

  &nb做北sp;    &nb樹金sp; @echo

   樂自     長大; @echo "Available build targets裡遠 are:"

   &nb跳城sp;     @echo

   &n電章bsp;     @echo &qu冷船ot;    check &nbs計數p;     &白門nbsp;   : Make sure R麗那ules.make is set up properly"這也

    &n樹聽bsp;  &n藍說bsp; @echo "    照業info   請新;  &nbs大服p;      : Lis兒一t versions of DVSDK components"

     海花    @echo

    &為通nbsp;    @echo媽文 "  &nb在她sp; all    一分     慢月    : 海用Build the components below&q歌開uot;

   科在;      @會和echo "  的日  clean  關什      到司;   : Remove files gene討風rated by the 'all' target&q小銀uot;

      &n又校bsp;  @echo

     &n電厭bsp;   @echo "物船;    cme下用m     明放    &nbs裡湖p;  : Build the CMEM微和 kernel module 西很for $(PLATFORM)&quo廠子t;

     &不區nbsp;   靜舊@echo "    cmem_cle妹土an      : Remo那很ve generated cmem files."

   短中     個金; @echo

    &我問nbsp;    @ec火我ho "  照筆;  dmai   &n林答bsp;  &n紅秒bsp;     : Build DM錯雜AI for $(PLATFORM)_al"鐘美;

   &n離西bsp;     @ec山離ho "  笑也;  dmai_clean &他歌nbsp;   能畫 : Remove generated DMAI files."

    &山山nbsp;    @echo

    &nb了票sp;    @echo &老也quot;    demos&n弟銀bsp;    司科;      謝筆: Build the DVSDK demos for $(P文愛LATFORM)"

     東公    @echo &qu厭快ot;    d商紙emos_clean  北舊;   : 就可Remove generated DVSDK demo files火醫."

  &nbs問船p;   &nb站近sp;  @echo

     &月要nbsp;   @echo &qu中計ot;    dvtb綠河  &nbs個制p;   &n北我bsp;     : Bu快可ild DVTB for $(PLA店務TFORM)"

  &nbs朋土p;    &n空到bsp; @echo "  黑妹  dvtb_clean  &nb但照sp;   : Remove generated DV微我TB files"

ifneq ($(DMAMMAP_IN鐵笑STALL_DIR),)

      林廠   @echo

      見東;   @echo "&睡湖nbsp;   dmammapk  工動      :暗黃 Build the DMA MMAP 男在kernel module"

      &坐慢nbsp;  @ech一西o " &n報民bsp;  dmamm商懂apk_clean  : Remove genera話月ted DMA MMAP files"

endif

ifeq ($(HAS_EDMAK),true)

     &城制nbsp;  日分 @echo

   線現;   &n媽睡bsp;  @echo " &nbs線靜p;  edmak  &nb到子sp;     &nb們可sp;  : Build the EDMA ker的爸nel module"

   &nbs站友p;  &nbs科農p;  @echo "來歌;   秒動; edmak_clean  &nbs很她p;  : Remo子讀ve generated EDMA files"

endif

ifeq ($(HAS_IRQK),true)

     近鐘   笑們 @echo

  &nbs遠水p;  &nbs有業p;   @echo "話作;  &nb藍費sp; irqk  &nb湖唱sp;   議黑   &nbs跳理p;  : Build the I藍購RQ kernel module&qu子妹ot;

    雜資     城老@echo "  &nb會費sp; irqk_clean &nb好女sp;   來做 : Remove generated IRQ files"

endif

      舊子   @echo

    &nbs但商p;    @echo "The 西紙following targets have to be 那林explicitly built and cleaned:"

  &nbs科風p;   &船制nbsp;  @echo

      和現;   @echo &微關quot;    everything 短志;     : Rebuild eve木近rything including below targ土上ets"

ifeq ($(HAS_DSPLINK),true)

      信舊;   @echo "&n化路bsp;     &nb相文sp;   &nb件短sp;    水站;      站子       風農 Note: C6000 code gen 醫如tools are requir些在ed"

endif

  &n話火bsp;  &對熱nbsp;   @echo "&nb如近sp;   clo些算bber  作山    做樂;   : Remove all gene請很rated files"

ifeq ($(HAS_DSPLINK)男話,true)

    &nb紙物sp;    @ech門能o "    &nb事物sp;    &nbs筆很p;    &nbs答說p;    &請懂nbsp;     &n男熱bsp;   Note:河月 C6000 code gen 藍器tools are required"

endif

ifeq ($(HAS_DSPLINK),true)

    &相日nbsp;   懂畫 @echo

   靜湖    &nb火公sp; @echo "   是土; dsplink     很有    :資如 Configure and build DSP Link for 線遠$(PLATFORM) ARM and D他要SP"

      &制一nbsp;  @echo &q匠下uot;     說通  &nbs可術p;   &現爸nbsp;     &nbs紅們p;  &河工nbsp;     畫亮   Note: C6000 code gen too綠紙ls are required"

   舞老    子國  @echo "  &技生nbsp; dsplink_arm &nb影民sp;   : Configure a廠會nd build DSP Link for $(PLATFOR男的M) ARM"

   哥物    好討  @echo " 就他   dsplink_ds裡數p  &nbs行是p;  : Configu制年re and build DSP Lin司男k for $(PLATFORM) DSP"他可

   &n森木bsp;  &n兒從bsp;  @ech章子o "    &n東劇bsp;      弟都;  &nbs空議p;    視高;   做樹;    房街    N土麗ote: C6000 code gen to機南ols are required"

  &nbs是服p;   &分上nbsp;  @echo &quo木他t;    ds算花plink_samples : Bui雪可ld DSP Link ARM a話時nd DSP sample app廠放lications for $(PL山雪ATFORM)"

  &n微房bsp;     農腦 @echo " 也書     &nbs拿她p;   &nb睡子sp;  &跳房nbsp;    &n子們bsp;     &n男藍bsp;  &n東從bsp; Note: C6000 code gen too美服ls are required"

      &就樹nbsp;  @echo "  音內;  dsplink_clean  都店; : Remove generat裡房ed DSP Link files"

  &nbs飛視p;  &n站刀bsp;   @echo "算和;   如書;     &nb習舊sp;    &n亮離bsp;    &n綠高bsp;     見子;     N到冷ote: C6000 code gen tools are北哥 required"

endif

ifeq ($(HAS_SERVER),true)

  &nbs腦書p;    &地門nbsp; @echo

   &n件現bsp;    船農; @echo " &nb我站sp;  codecs 她亮;      &通快nbsp;  : Build codec ser也數vers for $(PLATFORM)"

   說車    唱為;  @echo " 民技   codecs_clean &n跳員bsp;  : Remove generated c這白odec server files&quo議數t;

endif

  &nb綠數sp;    紅男  @echo

      &n林南bsp;  @echo "  &n小信bsp; linux  &書司nbsp;   水玩   &n內場bsp; : Build Linux kernel uImag木工e for $(PLATFORM)&開木quot;

  &n內舞bsp;      @ech我年o "   &nbs吧錢p;    &nbs農車p;     廠笑;     &nbs員村p;   &nb花見sp;     Note: With風照 'MENUCONFIG=true' opens menuc空友onfig"

     &nbs黑理p;   @echo " &nb飛自sp;  linux_clean &作間nbsp;   : 船到Remove generated Linux kernel fi數但les"

     &nbs鐵作p;   @echo

    &n見機bsp;  &nbs她歌p; @echo " &章間nbsp;  install自舊    光厭;     : Inst制老all binaries to $(女日EXEC_DIR)"

   東爸    &坐樹nbsp; @echo &qu雜我ot;    dmai_inst來用all    : 雪志Install DMAI binaries t輛鐘o $(EXEC_DIR)"

    &術那nbsp;  &nb跳媽sp; @echo

   相技   &n訊林bsp;  @echo " 討明   ce_examples  問的;   : Build Codec Engine北鐘 Examples for $(PLATFORM)&quo窗是t;

ifeq ($(HAS_SERVER)生爸,true)

     &制雨nbsp;   @echo "&nb窗讀sp;    &nbs靜會p;      這訊;     &nbs如中p;     紙妹   匠線;   No家我te: C6000 code gen tools are requ拍好ired"

endif

   &n她裡bsp;  &nb路筆sp;  @echo &qu長風ot;    ce_exampl農短es_clean:Remove Cod林愛ec Engine Examples"

ifeq ($(HAS_SERVER),true)

   些到      @echo吧花 "  &nb數票sp;    &nb市都sp;  呢員   購頻;    &nbs南北p;    &錢動nbsp;   &nb我店sp;  Note: C6000 code gen房子 tools are required"

endif

    &nb村文sp;    @echo 家資"  &nb了跳sp; psp_examples    :友術 Build Linux PSP Examples for $(PLA現個TFORM)"

    和去;  &nbs熱務p;  @echo "  &n答還bsp; psp_example如喝s_clean  : Clean Linux PSP Exam金民ples for $(PLATFORM)"有家;

  &nbs下慢p;    喝學;  @echo "    笑影psp_examples_instal遠資l: Install Linux PSP年技 Examples to $(EXEC_D雜來IR)"

   &n鐵在bsp;   &風劇nbsp; @echo

 

#===============================靜是================================務也===============

# Target for listing informatio兵兒n about the DVSDK comp家場onents.

#==============紅河===============================子信======================行少===========

info: check

     &人鐘nbsp; &nbs低黑p; @LINUXKERNEL_INSTALL_DIR="銀靜$(LINUXKERNEL_INSTALL林關_DIR)" CODEGEN_INSTALL懂的_DIR="$(CODEGEN_IN工花STALL_DIR)" GCC_PREFI光窗X="$(MVTOOL_PREFIX)&q讀我uot; XDC_INSTALL_DIR=&q空一uot;$(XDC_INSTALL_DIR)" R朋我EPOSITORIES="$(REPOSITOR為村IES)" $(DVSDK_INSTALL_DIR)/bin/慢黑info.sh

 

#===============雨妹============================他雪===========================廠我========

# Target for chec都木king that the Rules.make f車件ile is set up properly.

#===================理個===============================玩老===================間森=========

check:

      看說;   @CHE你音CKLIST="$(CHECKLIST)"書舞; $(DVSDK_INSTALL_DIR)/b要技in/check.sh

 

#======================水內=============================喝友======================文北=====

# Build the dvsdk 在爸demos for the configured platform. 明是Also, an explicit cleanup

# target is defined.

#========================校友==============================男爸========================身多

demos:

    妹雨     $(MAKE) -C $鐘玩(DEMO_INSTALL_DIR) $(PLATFORM) DVSDK_微話INSTALL_DIR=$(DV街了SDK_INSTALL_DIR) XDC_INSTALL_DIR=$(XDC_樂近INSTALL_DIR) CE白上_INSTALL_DIR=$(CE_風對INSTALL_DIR) FC_INSTALL_DIR=$(FC_INST南務ALL_DIR) CMEM_INSTAL輛跳L_DIR=$(CMEM_INSTALL_DIR) CODEC_I短南NSTALL_DIR=$(CODEC_I時土NSTALL_DIR) XDAIS_INSTALL_DIR=$(多拍XDAIS_INSTALL_DIR) 通知LINK_INSTALL_DIR=$(LINK_INSTALL_D錯舞IR) DMAI_INSTALL_DIR=$(DMAI_INS費文TALL_DIR) MVTOOL_DIR=$(MVTOOL_DIR) CC下們=$(CSTOOL_PREFIX)gcc AR=$(CSTOOL_PREFIX年作)ar CROSS_COMPILE=$(MVTOOL_PREFIX) LINU我資XLIBS_INSTALL_DIR=$(LINUXLIBS_INST美制ALL_DIR) PLATFORM=$(PLATFORM)

 

demos_clean:

      &n行請bsp;  $(MAKE) -懂跳C $(DEMO_INSTALL_DIR) 文國clean DVSDK_INSTALL多黃_DIR=$(DVSDK_INSTALL_DI熱得R) XDC_INSTALL_DIR=$(XDC_INST問間ALL_DIR) CE_INSTALL_DIR=$(CE_INSTALL_DI睡術R) FC_INSTALL_DIR=$(FC_INSTALL_DIR海身) CMEM_INSTALL_DIR=$(CMEM_下銀INSTALL_DIR) CODEC_IN草討STALL_DIR=$(CODEC_INSTALL樹來_DIR) XDAIS_INSTALL_DIR=$(XDA喝喝IS_INSTALL_DIR) LINK_INSTALL_DIR=$(區廠LINK_INSTALL_DIR) DMAI_INSTALL_DIR=$(DM離不AI_INSTALL_DIR) MVTOOL_DIR=$(MVTO歌劇OL_DIR) CC=$(CSTOOL_PR匠兒EFIX)gcc CROSS_COM學通PILE=$(MVTOOL_PREFIX) LI的視NUXLIBS_INSTALL_DI小去R=$(LINUXLIBS_IN和舊STALL_DIR) PLATFORM這討=$(PLATFORM)

 

#=========================又國===============================也工======================

# Build the Digital Video Test 子好Bench for the configured子兵 platform. Also, an

# explicit cleanup輛體 target is define歌子d.

#========================問朋============================水關==========================

dvtb:

     &nb們件sp;   $(MAKE坐議) -C $(DVTB_INSTALL_刀煙DIR) $(PLATFORM) CODECS=TSPA

    拍近;     @echo

     還謝;    @echo 體裡"dvtb can be低唱 found under $(DVTB_INSTALL器河_DIR)/packages/t都算i/sdo/dvtb/$(PLATF飛作ORM)/bin"

 

dvtb_clean:

   &化花nbsp;     $(MAKE) -看不C $(DVTB_INSTALL_DIR) clean

 

dvtb_install:

    理森     @cp 金機-f $(DVTB_INSTALL_DIR)/低能packages/ti/sdo/d務從vtb/$(PLATFORM)/bin/dvtb-{r,d厭店} $(EXEC_DIR)

 

#=====================樂鐘===================身他=====================靜什================你男=

# Build the Linux kernel. Als區河o, an explicit cleanup target is de友電fined.

#========================小開==================================城嗎===============學討=====

#$(LINUXKERNEL_INSTALL_DIR)動火/.config:

config:

  &nb友城sp;  微煙    $(MAKE) -C $(LINUXK土靜ERNEL_INSTALL_DIR) CROSS_COMPILE=$(MV上高TOOL_PREFIX) $(LINUXKERNEL_費謝CONFIG)

 

#linux: $(LINUXKERNEL_INSTALL_DIR)/.co吃就nfig

#ifeq ($(MENUCONFIG),true) 

menuconfig:

   &n短外bsp;  術花   $(MAKE) -C $(L可服INUXKERNEL_INSTALL坐視_DIR) CROSS_COMPILE=$(MVTOOL_P到遠REFIX) menuconfig

#endif

linux:

      &白低nbsp;  $(MAKE) -C $(LIN喝慢UXKERNEL_INSTALL_DIR) C用村ROSS_COMPILE=$(MVTOOL_PREFI懂還X) uImage

    &有都nbsp;    @echo

   爸雜     輛厭 @echo "Your kern樂姐el image can be found at $(農輛LINUXKERNEL_INSTALL_DIR)/arch/arm/bo廠森ot/uImage"

 

linux_clean:

      &n上機bsp;  $(MAKE河湖) -C $(LINUXKERNEL_I服北NSTALL_DIR) mrproper

 

#===================亮我==================================小答=========================

# Build the CE e道師xamples. Also, an explicit cleanup 樂不target is defined志到.

#==============麗女===============關線==================農作=================問市==============

ce_examples:

ifeq ($(HAS_SERVER門綠),true)

      &線工nbsp;  $(MAKE) -C $(CE_INS志個TALL_DIR)/examples/ti/sdo/ce/ex我店amples/servers DEV高紅ICES=$(subst 64會兒67,6467T,$(subst dm,DM,$(PLATFO紅日RM))) CE_EXAMPLES_INST志內ALL_DIR=$(CE_INSTALL_DI銀睡R)/examples/ti/sdo/兒市ce/examples GPPOS=LINUX_GCC CE_IN明空STALL_DIR=$(CE_INSTALL_DIR) BIO章去S_INSTALL_DIR=$(BIOS_INSTALL_DI友技R) XDC_INSTALL_DIR=$(XDC_INSTALL_D請門IR) CGTOOLS_V5T=$(MVTOOL_DIR) D書妹SPLINK_INSTALL_DIR=$(LI北匠NK_INSTALL_DIR) CGTOOL在輛S_C64P=$(CODEGEN_INSTALL_DIR化中) BIOSUTILS_INSTALL_DIR=$(BIOSUTIL下木S_INSTALL_DIR) BIOS_INSTALL_DIR=$(BIOS了員_INSTALL_DIR)

endif

   &請村nbsp;    $(MAKE) -文明C $(CE_INSTALL_DIR)/examples/ti/s他水do/ce/examples/apps DEVICES=$要到(subst 6467,6467T,$(su得就bst dm,DM,$(PLATFORM))) CE_EXAMP場愛LES_INSTALL_DIR=$(匠大CE_INSTALL_DIR)/examples/ti/sdo/c風鄉e/examples GPPOS=LINUX_GCC CE_INST裡低ALL_DIR=$(CE_INSTALL_DIR) BIOS_INSTA錯和LL_DIR=$(BIOS_INSTALL_DIR) X了說DC_INSTALL_DIR=$(XDC_INSTALL_DIR) CGTOO她我LS_V5T=$(MVTOOL_DIR) DSPL歌員INK_INSTALL_DIR=$(LINK_INS船報TALL_DIR) CGTOOLS_C64P=$(CODEGEN_兵少INSTALL_DIR) BIOSUTILS_INSTALL_DIR=河地$(BIOSUTILS_INSTALL_DIR) BIOS風爸_INSTALL_DIR=$(BIOS_INSTALL_D唱高IR)

    &看畫nbsp;    @echo

     &就地nbsp;   @echo 樂長"CE examples can be foun裡水d under $(CE_INSTALL_DIR)/exa上外mples/ti/sdo/ce/exa大技mples"

 

ce_examples_cl對兒ean:

ifeq ($(HAS_SERVER),true)

      &n為友bsp;  $(MAKE) -C $(CE_INSTAL吃靜L_DIR)/examples/ti/sdo/ce/ex區對amples/servers DEVICES=$(subst湖都 6467,6467T,$(subst dm,DM對知,$(PLATFORM))) CE_EXAMPLES_IN訊刀STALL_DIR=$(CE_INSTALL_DIR)/example我日s/ti/sdo/ce/examples G相美PPOS=LINUX_GCC CE_INSTALL_DIR=$(CE_技玩INSTALL_DIR) BIO科你S_INSTALL_DIR=$(BIOS_INSTALL_DIR) 的不XDC_INSTALL_DIR=$(XDC_INSTALL_DIR) C近看GTOOLS_V5T=$(MVTOOL_DI對醫R) DSPLINK_INSTALL_DIR=$(LINK_INSTALL_紙大DIR) CGTOOLS_C64P=$(CODEGEN_INSTA光林LL_DIR) BIOSUTILS_INST那都ALL_DIR=$(BIOSUTILS_INSTALL_DIR是短) BIOS_INSTALL_DIR=$(BIOS_INSTALL_DIR)做黑 clean

endif

  &nb冷從sp;   什農  $(MAKE) -C $(CE_INSTALL_DIR)師對/examples/ti/sdo/ce/examples/apps D地裡EVICES=$(subst 6467錢她,6467T,$(subst dm,DM,$(關但PLATFORM))) CE_EXAM木路PLES_INSTALL_DIR=$(CE_INST北民ALL_DIR)/examples/t區商i/sdo/ce/examples CRO劇動SS_COMPILE=$(MVTOOL_PREFIX) GPPOS=LI物日NUX_GCC CE_INSTALL_DIR=$(CE_INSTALL_DI麗黃R) BIOS_INSTALL_DIR=$(BIOS_INSTALL_DI的綠R) XDC_INSTALL_DIR=$(XDC_INST又少ALL_DIR)  CGTOOLS_V5T=$(MVTOOL_DI花器R) DSPLINK_INSTALL_DIR=$(LINK_INSTALL_姐我DIR) CGTOOLS_C64秒雪P=$(CODEGEN_INSTA慢船LL_DIR) BIOSUTILS_科快INSTALL_DIR=$(BIOSUTILS_I長廠NSTALL_DIR) BIOS慢和_INSTALL_DIR=$(BIOS_INSTALL_DIR) clean

 

#=============================雪舞====================================來人=============

# Build the CMEM kerne空森l module for the co秒為nfigured platfor微關m, and make sure t習用he

# kernel_binaries directory is ke會內pt in sync. Also, an explicit clean場雨up target

# is defined.

#===========================門麗===============================車還====================

cmem:

    上票   土喝;  $(MAKE) -C $(LINUXUTILS_INSTAL美北L_DIR)/packages/t是樹i/sdo/linuxutils/cmem/src/interface謝窗 ../../lib/cmem.a470MV劇體 RULES_MAKE=$(DVSDK場機_INSTALL_DIR)/Rules.make

      明答   $(MA光遠KE) -C $(LINUXUTILS_INSTALL_DIR)/pa門理ckages/ti/sdo/linuxutils/cm跳明em/src/module RULES_MAK還個E=$(DVSDK_INSTA人中LL_DIR)/Rules.make

      &對都nbsp;  @mkdir -p $(DVSDK_INS雪作TALL_DIR)/kernel_binaries老文/$(PLATFORM)

     理多  &nbs吧內p; @cp $(LINUXUTILS_INSTALL_DIR)/packa笑校ges/ti/sdo/linuxutils/cmem/src/module/c短會memk.ko $(DVSDK_INSTALL_DI美短R)/kernel_binari跳多es/$(PLATFORM)/

    &nb看地sp;  &nb信喝sp; @echo

  &nb還好sp;  &事那nbsp;   @echo "明從;cmemk.ko kernel module can be found u農頻nder $(DVSDK_INSTALL_DIR通讀)/kernel_binaries/$(PLATFORM)"現著

 

cmem_clean:

    司答;   花裡;  $(MAKE) -C $(LINU很山XUTILS_INSTALL_DIR)/packages/ti/sd去姐o/linuxutils/cmem/src/m山日odule clean RULES_M票音AKE=$(DVSDK_INSTALL_DIR)/Rules書影.make

     但冷;    $(MAKE) -C $(LIN你到UXUTILS_INSTALL_DIR)/packages/ti風見/sdo/linuxutils/c我那mem/src/interface cl好都ean RULES_MAKE=$(DVSDK_INSTALL事工_DIR)/Rules.make都友

 

#=========================分友=======================================弟匠==============

# Build the *pro錢老duction* codec ser錢化vers for the co嗎東nfigured platform妹紙. Also, an

# explicit clean說人up target is defined.

# Please note the 匠樹following.

#     1. Befo讀微re executing make cod讀朋ecs, execute make codecs公好_clean

#  &子器nbsp;  2. Build DSPLINK 見金for arm and dsp before b工制uilding the codecs

#  &nb那間sp;  3. Buld the Linux 服們kernel before bu小山ilding the dsplink

#================================線睡============================睡了==================

codecs:

ifeq ($(HAS_SERVER),true)

   &n看國bsp;  &可木nbsp;  $(M煙門AKE) -C $(CODEC_INSTALL_DIR) DV國能SDK_INSTALL_DIR=$(DVSDK_I開拿NSTALL_DIR) BIOS_INSTALL_DIR=$(BI土學OS_INSTALL_DIR) XDC_INSTALL_DIR=能睡$(XDC_INSTALL_DIR) CE_IN謝少STALL_DIR=$(CE_INSTALL_DIR畫費) FC_INSTALL_DIR=$(FC_INSTALL_DI地問R) CMEM_INSTALL_D說明IR=$(LINUXUTILS_INS購下TALL_DIR) CODEC_INSTALL少照_DIR=$(CODEC_INS公時TALL_DIR) BIOSUTILS_INSTALL_林就DIR=$(BIOSUTILS_INSTALL_DIR) XDAIS_少了INSTALL_DIR=$(XDAIS_INSTALL_DIR) ED兒紙MA3_LLD_INSTALL_DIR=$(EDM看上A3_LLD_INSTALL_DIR) C得頻ODEGEN_INSTALL_DIR=$(COD靜但EGEN_INSTALL_DIR) LINK_INSTALL_D水土IR=$(LINK_INSTALL_DIR亮票) XDCARGS=\"prod\"

endif

 

codecs_clean:

ifeq ($(HAS_SERVER),tru到友e)

     &不多nbsp;   $(MAKE) -C $好件(CODEC_INSTALL_DIR) DVS習弟DK_INSTALL_DIR=$鄉件(DVSDK_INSTALL_DIR) BIOS_INSTALL銀窗_DIR=$(BIOS_INSTALL_DIR) XDC_INSTALL_工場DIR=$(XDC_INSTALL_DIR) CE_INSTALL訊市_DIR=$(CE_INSTALL_DIR) FC_遠通INSTALL_DIR=$(FC_INSTALL_DIR) CMEM_INST些都ALL_DIR=$(LINUXUTIL黑綠S_INSTALL_DIR) CODEC_INST要算ALL_DIR=$(CODEC_INSTALL_DIR) BIOSUTILS_火她INSTALL_DIR=$(BI分劇OSUTILS_INSTALL_DIR) XDAIS_INSTALL_DIR=裡你$(XDAIS_INSTALL_DIR) LINK_下這INSTALL_DIR=$(LINK_INSTALL_DIR) XDCAR喝讀GS=\"prod\" 筆拿clean

endif

 

#====================舞低============================靜輛==============================

# Build the dmamma男水pk kernel module (if the confi照事gured for the platform). Also,

# an explicit cleanup ta看房rget is defined.

#=====================光了=====================================愛電====================員朋

dmammapk:

ifneq ($(DMAMMAP_INSTALL_DIR),)

     &nb知白sp;   $(MAKE) -C $(DMAMMAP_IN時匠STALL_DIR) KERNEL_DIR=$(LI錢民NUXKERNEL_INSTALL_D章訊IR)

      &n議藍bsp;  @mkdir -p $(DVSDK_INSTALL_DI媽坐R)/kernel_binaries/$(PLAT件也FORM)

   山時;    我坐  @cp $(DMAMMAP_IN綠用STALL_DIR)/*.ko $(DVSDK_INSTALL_DIR通很)/kernel_binaries/$(P靜章LATFORM)/

  &nb北笑sp;   &分問nbsp;  @echo

   錯弟   &nb習林sp;  @echo "dmam了現mapk kernel module can be foun妹東d under $(DVSDK_INSTALL_DIR)/愛問kernel_binaries/$(PL區謝ATFORM)"

endif

 

dmammapk_clean:

ifneq ($(DMAMMAP_INS動廠TALL_DIR),)

    &nb船票sp;    $(MA多花KE) -C $(DMAMMAP_INSTALL_DIR) KERNEL哥笑_DIR=$(LINUXKERNEL_INSTALL_生河DIR) clean

endif

 

#==================照友=================================工內===========================

# Build the edma kernel module (if光關 the configured pl些體atform is dm365). Als制件o,

# an explicit cleanup討作 target is defined.

#================喝個===================================爸風===========================

edmak:

ifeq ($(HAS_EDMAK),true)

     &雜劇nbsp;   $(MA銀站KE) -C $(LINUXUTIL又信S_INSTALL_DIR)/packages/ti路友/sdo/linuxutils/edma/src/module 話黃KERNEL_DIR=$(LINUXKERNEL_INS裡嗎TALL_DIR)

     &nbs視區p;   @mkdir -p $(DVSDK_IN吧訊STALL_DIR)/kernel司睡_binaries/$(PLATFORM)

     &nb見笑sp;   窗雜@cp $(LINUXUTILS亮作_INSTALL_DIR)/pack不門ages/ti/sdo/linuxutils/edma/src/modul業讀e/edmak.ko $(DVSDK_INSTALL如年_DIR)/kernel_bin月聽aries/$(PLATFORM)/

   &n姐從bsp;    微土; @echo

   中還;      @ec雪少ho "edmak.ko kernel module ca市志n be found under $(DVSDK_INSTALL_看金DIR)/kernel_binaries/$(PLATFORM)"

endif

 

edmak_clean:

ifeq ($(HAS_EDMAK),tr器聽ue)

    &nb國看sp;   舞姐 $(MAKE) -C $(LINUXUTILS如嗎_INSTALL_DIR)/pack票放ages/ti/sdo/linuxutils/edma/src/mo村得dule KERNEL_DIR=$鄉畫(LINUXKERNEL_INSTALL_DIR) clean

endif

 

#===============市畫=========================器說====================================店年==

# Build the irq白司 kernel module (i時人f the configured platform 離秒is dm365). Also身放,

# an explicit cleanup風低 target is defin間討ed.

#============================技妹=====================================區森=============

irqk:

ifeq ($(HAS_IRQK),true)

   &nbs門嗎p;  &n美山bsp;  $(MAKE) -C $(LINUXUTILS_女服INSTALL_DIR)/packages/ti/sdo機很/linuxutils/irq/sr舞好c/module KERNEL_DIR=$(LINUXKERNE聽年L_INSTALL_DIR)

     輛外;   麗呢 @mkdir -p $(DV師女SDK_INSTALL_DIR)/kernel_b會不inaries/$(PLATFORM)

     購新;    @cp $(L短和INUXUTILS_INSTALL_DIR)/p村不ackages/ti/sdo/linuxutils我要/irq/src/module/irqk.ko $(DVSD問你K_INSTALL_DIR)/kernel_bina工現ries/$(PLATFORM)/

      &們務nbsp;  @echo

  &nb書北sp;    &n秒資bsp; @echo "irqk.ko制又 kernel module can be found u些有nder $(DVSDK_INSTALL_DIR照為)/kernel_binaries/$(PLATFORM)"

endif

 

irqk_clean:

ifeq ($(HAS_IRQK),true)

   子中;      $(MAKE西綠) -C $(LINUXUTILS_INSTALL_DIR)/package間相s/ti/sdo/linuxutils/irq/src/資白module KERNEL_DIR=$(LINU美銀XKERNEL_INSTALL_DI店也R) clean

endif

 

#======================也了=========================要有========================們生=======

# Build the Davinci Multimedia Appl中冷ication Interface制算 for the config生兵ured

# platform. Also, an explicit c對綠leanup target is defined.

#==================花對======================================影報======================

dmai:

    &nbs在還p;    @$(MAKE) -C $(D朋慢MAI_INSTALL_DIR)票路 PLATFORM=${DMAI_P多不LATFORM} \

      &風區nbsp;  對讀     &nbs得高p;     &nbs綠來p;  &n線錢bsp;   頻如; CE_INSTALL_DIR_${DMAI_校空PLATFORM}=$(CE_INSTALL_DIR木是) \

      南跳;    &nb路輛sp;  冷市   &nb答人sp;     &nb通一sp;    &nb是高sp;   鄉外;    睡近  CODEC_INSTAL友海L_DIR_${DMAI_PLATFORM}=$(C光理ODEC_INSTALL_DIR) \

   &nb站村sp;      市腦    我他    &nbs子機p;      們店     銀文;    &nbs為姐p;  LINK_INSTALL_一道DIR_${DMAI_PLATFORM}=$(LIN雪金K_INSTALL_DIR) \

    &風亮nbsp;     歌國     樹車   &nbs公也p;      &路但nbsp;    &n問化bsp;   &n音他bsp;  CMEM_INSTALL_DIR_劇謝${DMAI_PLATFORM}=$(他動CMEM_INSTALL_DI吃鐘R) \

   多坐      木白;   &刀些nbsp;     &n妹靜bsp;     &呢錢nbsp;  &nbs又上p;    舊好     FC_INSTAL門知L_DIR_${DMAI_PLATFORM}=$(FC_INSTALL_D行身IR) \

    &n答來bsp;   &n答高bsp;    &算報nbsp;    &nbs森計p;  &n飛新bsp;  &nbs工得p;     &nb畫國sp;  好看    LPM_INS商光TALL_DIR_${DMAI_PLATFORM}算草=$(LPM_INSTALL_DIR) \

   &nbs來裡p;    通他;   很子;      銀體    吧歌;    &nbs吃可p;   &n玩資bsp;   &間電nbsp;   XDAIS_IN訊報STALL_DIR_${DMAI_PLATFORM}=$(XDAIS_INS門鐘TALL_DIR) \

      &n子東bsp;  雜內    但答     &訊高nbsp;     靜河    就間      多歌;   B機店IOS_INSTALL_DIR_${DMAI_PLATFORM}=$(BIOS船畫_INSTALL_DIR) \

  &nbs水些p;   吧化   土那      &畫用nbsp;    化商;     店亮;      西化;      LI是微NUXLIBS_INSTALL_DIR_${DMAI_PLATF小山ORM}=$(LINUXLIBS_INSTALL_DIR)\

   &nbs愛又p;  &nbs關區p;     &n了年bsp;     &nbs分又p;    &年但nbsp;    &nb兵機sp;   &在看nbsp;  愛人;  LINUXKER呢為NEL_INSTALL_DIR_${DMAI_白窗PLATFORM}=$(LINUXKERNEL_INS歌司TALL_DIR) \

      &拿放nbsp;    是用;      &風要nbsp;      &海國nbsp;    &nb我電sp;    &nb討資sp;   CROSS_COMPILE_${DMAI_說師PLATFORM}=$(CSTOOL_PR愛火EFIX) \

   &nb雪頻sp;    &nb嗎你sp;  個少    &nbs如刀p;    書新;   飛窗;  &nbs街算p;     &n自腦bsp;   &劇年nbsp; XDC_INSTALL_DIR_${DMAI_PLATFOR暗關M}=$(XDC_INSTALL_DIR) \

    &n音呢bsp;  場男   &n可朋bsp;     報水;     &n年很bsp;     &nb計很sp;  &nbs路數p;      EXEC中購_DIR_${DMAI_PLATFORM}=$(EXEC要廠_DIR) all

 

  &n業歌bsp;    &n短但bsp; @echo

      &鐵西nbsp;  @echo "DMAI ap科算plications can be found under $窗數(DMAI_INSTALL_DIR)/package鐵子s/ti/sdo/dmai/apps"

     &n工厭bsp;   @echo "To ins現視tall them to $(EXEC_DIR)"員畫;

     &nbs慢場p;   @echo "Execu票樂te 'make dmai_i畫得nstall'"

 

dmai_clean:

    拿民;     $(MAKE) -C $子玩(DMAI_INSTALL_DIR頻雜) PLATFORM=${DMAI_PLATFORM} \

      &劇信nbsp;  &nb爸不sp;   &nbs男司p;     XDC_I下還NSTALL_DIR_${DMAI_PLATFOR音件M}=$(XDC_INSTALL_DIR) clean

 

dmai_install:

   黑如;    &件購nbsp; $(MAKE) -C $(DMAI_姐司INSTALL_DIR) PLATFORM=數說${DMAI_PLATFORM} EXEC_DIR=$(EXEC_DIR) i外拍nstall

 

#=====================妹現=============================習他========================我土====

# Build DSP Link for the conf章少igured platform. Also日長, an explicit cleanup target

# is defined.

#=====================農能=======================================如短==================

ifeq ($(HAS_DSPLINK),true)

dsplink: &n訊暗bsp;   dsplink_arm dsp場他link_dsp dsplink_samples

 

dsplink_dsp_genpackage月吧:

      &請坐nbsp;  $(XDC_IN商中STALL_DIR)/xdc -C $(LINK_INSTALL_冷船DIR)/dsplink/ds從文p clean

      &n雨腦bsp;  $(XDC_I時音NSTALL_DIR)/xdc -C $(LIN為離K_INSTALL_DIR)/dspl務我ink/dsp .interfaces

 

dsplink_gpp_genpackage冷東:

   &nbs雜制p;   &nbs窗拍p; $(XDC_INSTALL_DIR)裡生/xdc -C $(LINK_IN還花STALL_DIR)/dsplin務和k/gpp clean

      &n鄉坐bsp;  $(XDC_INSTALL白不_DIR)/xdc -C $(LINK_INSTALL_DI呢書R)/dsplink/gpp .inte購筆rfaces

   &n去愛bsp;  遠來  

dsplink_cfg:

     行鐘;    DSPLINK=$(LINK_I歌海NSTALL_DIR)/dsplink pe木店rl $(LINK_INSTALL愛民_DIR)/dsplink/con飛銀fig/bin/dsplinkcfg.pl $(DSPLI能車NK_CONFIG)

 

dsplink_arm:  &nbs鐘機p; dsplink_cfg dsplink_gpp_genp聽國ackage

     國靜  &nb舊麗sp; DSPLINK=$(LINK_INST師中ALL_DIR)/dsplink $(XDC_INSTALL_DIR)/gma秒笑ke -C $(LINK_INSTALL說北_DIR)/dsplink/gpp/src BASE要購_TOOLCHAIN=$(MVTOOL_DIR) B很請ASE_BUILDOS=$(LINUXKER區來NEL_INSTALL_DIR) K舞會ERNEL_DIR=${LINUXKERNEL_INSTAL離南L_DIR} TOOL_PATH=$(CSTO藍鐘OL_DIR)/bin

     喝下;  &nb時車sp; @mkdir -p $(DVSDK_INSTALL_DIR)拍遠/kernel_binaries/$(PLATFORM)

      &海要nbsp;  @cp $(樂路DSPLINK_MODULE) $(DVSDK_INST大房ALL_DIR)/kernel黃身_binaries/$(PLATFORM)/

  &nb店山sp;      @e花歌cho

     錯雪;    @echo &qu話西ot;dsplinkk.ko kernel章日 module can be found under 兵報$(DVSDK_INSTALL_DIR)房近/kernel_binaries/$(PLATF員嗎ORM)"

 

dsplink_dsp:     朋購dsplink_cfg dsplink_dsp_genpackage

      &務人nbsp;  DSPLINK線筆=$(LINK_INSTALL_紙件DIR)/dsplink $(XDC_INSTALL_D報志IR)/gmake -C $(LINK_INSTALL_D麗女IR)/dsplink/dsp/src BAS跳能E_SABIOS=$(BIOS_INSTALL_DIR他長) XDCTOOLS_DIR=$(XDC_INSTALL_DIR)行民 BASE_CGTOOLS=$(CODEGEN_能討INSTALL_DIR)

 

dsplink_samples:

     信也;   街能 DSPLINK=$(LINK_INSTALL_DIR)/dsplin在東k $(XDC_INSTALL_DIR)/gmak票村e -C $(LINK_INSTALL_DI見都R)/dsplink/gpp/src/samples BAS分妹E_TOOLCHAIN=$(MVT匠河OOL_DIR) BASE_BUILDOS=$(LI唱你NUXKERNEL_INSTALL_DIR)

   &長刀nbsp;     DSPL喝見INK=$(LINK_INSTALL_DIR)/dsplink $視但(XDC_INSTALL_DIR)/gmake -C $(LINK_INST服刀ALL_DIR)/dsplink/dsp/src/答吧samples BASE_SABIOS=$(BIOS_I線可NSTALL_DIR) XDCT店要OOLS_DIR=$(XDC_INSTALL_DI木件R) BASE_CGTOOLS=$(CODEGEN_INSTALL_匠公DIR)

else

dsplink:

endif

 

ifeq ($(HAS_DSPLINK),true)

dsplink_clean:

    &如村nbsp;   用關; DSPLINK=$(LINK_INSTALL_DIR)/ds理人plink $(XDC_INSTALL_DIR)/gmake -C知話 $(LINK_INSTALL_DIR)/dsp科雨link/gpp/src BASE_妹東TOOLCHAIN=$(MVTOOL_DIR) BASE_BUILDOS=來工$(LINUXKERNEL_INSTALL_DIR) clean

    &nbs務爸p;  &nb到男sp; DSPLINK=$(LINK_INS地高TALL_DIR)/dsplink $(XDC_INSTA下謝LL_DIR)/gmake -C $(LINK_IN冷看STALL_DIR)/dsplink/dsp/src BASE_SABIO木跳S=$(BIOS_INSTALL_D離愛IR) XDCTOOLS_DIR=$(XDC_INSTALL_DIR科遠) BASE_CGTOOLS=$(CODE煙厭GEN_INSTALL_DIR) clean

    &n通書bsp;  農姐  DSPLINK=$(LINK_INSTALL_DIR)/d計他splink $(XDC_IN低現STALL_DIR)/gmake -C $妹車(LINK_INSTALL_DIR)/dsplink南相/gpp/src/samples B秒木ASE_TOOLCHAIN=$(MVTOOL_DIR) BA事藍SE_BUILDOS=$(LINUXKERNEL_I小服NSTALL_DIR) clean

     刀費;    DSPLINK=$(LIN樹日K_INSTALL_DIR)/dsplink $們西(XDC_INSTALL_DIR)/很分gmake -C $(LINK_INSTALL_DIR)/dspl吃空ink/dsp/src/samples BASE_S去車ABIOS=$(BIOS_INSTALL_DI能放R) XDCTOOLS_DIR=$(快章XDC_INSTALL_DIR) BASE_CGTOOLS=$(CODEGEN舊人_INSTALL_DIR) clean

else

dsplink_clean:

endif

 

#==================================紙章=========================下一===================

# Install the built binaries to the業請 target file system.

#=====================呢視==================================理愛=======================

install:

    &n低水bsp;    @echo

    &n體和bsp;    @echo Crea黃愛ting $(EXEC_DIR)

    &nbs腦秒p;    @mkdi廠火r -p $(EXEC_DIR)

 

   &n通長bsp;    數山; @echo Copying kernel modules to tar微老get file system: $(EXEC_DIR)/

      短到;   @理議install -m 666 $(DVSDK_I門章NSTALL_DIR)/kernel_binaries/$用呢(PLATFORM)/* $(EXEC_DIR)/信動

 

     &nbs關兒p;   森月@echo Installing DVSDK demos..

     &nb劇刀sp;   $(MAKE) -山愛C $(DEMO_INSTALL_DIR)/$(PLATF老鐘ORM) install EXEC_遠短DIR=$(EXEC_DIR)

 

    &nb錯上sp;  &n錢看bsp; @echo Copying ex員公amples..

      劇機   @cp -rpf example銀頻s/web $(EXEC_DIR)/

   &n公醫bsp;  &人見nbsp;  @cp -p examples/dvev吧妹mdemo $(EXEC_DIR)/

 

ifeq ($(PLATFORM樹司),dm6446)

     &制土nbsp;   @echo Copying code票錯c servers..

    &請會nbsp;    @install -m 子路666 $(CODEC_INSTALL_DIR)/packages/他子ti/sdo/servers/encode/enco樂輛deCombo.x64P $(EXEC_DIR)/

  &nb子木sp;  &nb我火sp;   -大醫@install -m 666 $(CODE作頻C_INSTALL_DIR)/packages/ti/sd綠吃o/servers/encode/encodeCombo_e.鐵玩x64P $(EXEC_DIR)/

     聽司    @install -m 6如林66 $(CODEC_INSTALL_DIR)/package也習s/ti/sdo/servers/dec能妹ode/decodeCombo.x64P $(EXEC公內_DIR)/

     嗎議    -@install -好飛m 666 $(CODEC_IN水要STALL_DIR)/packages/ti/sdo/serve熱農rs/decode/decod兒匠eCombo_e.x64P $(EXEC_DIR)/

   &老得nbsp;    好說; @install -m 666老藍 $(CODEC_INSTALL_DIR)/packag的機es/ti/sdo/servers/loopback/loop還門backCombo.x64P $(EXEC_DIR)/

  &nbs玩微p;  &nb煙匠sp;   -@ins東習tall -m 666 $(CODEC_INSTALL_DIR)/packag輛花es/ti/sdo/servers/些業loopback/loopbackCombo_e輛河.x64P $(EXEC_DIR)/

      得從   @echo Copying d視器splinkk.ko

  &n校吃bsp;   &n匠商bsp;  @install海生 -m 666 $(LINK_INSTALL_DIR)/dspli亮綠nk/gpp/export/BIN/Linux/DAVIN媽書CI/RELEASE/dspl數國inkk.ko $(EXEC_DIR)/

endif

 

ifeq ($(PLATFORM),dm6467人南)

      &器開nbsp;  @echo Copying codec se雪河rvers..

     看金  &nbs從動p; @install -m 666 $(CO雪路DEC_INSTALL_DIR)/package放日s/ti/sdo/server/cs/bin/cs.x64P $(EX作訊EC_DIR)/

    &nb東老sp;    @echo Copyin老著g mapdmaqhd..

     歌拍;    黑草@install -m 777 $(DVSDK_INST北相ALL_DIR)/mapdmaq-hd/mapdmaq-hd $(EXEC_D金弟IR)/

endif

 

ifeq ($(PLATFORM呢器),dm355)

     &nbs長樂p;   姐銀@echo Copying mapdmaq..

     章村    @install -兵說m 777 $(DVSDK_INSTALL_DIR)/map媽紙dmaq/mapdmaq $(EXEC_D內可IR)/

endif

 

#=======================可人===================一鄉====================================

# Build the Linux ex海用amples

#=====================================下自===============歌高=================不討=========

psp_examples:

     鐘數;    $人動(MAKE) -C $(LIN就電UXEXAMPLES_INSTALL_DIR) PLATFORM=$(P少房LATFORM) KERNEL_DIR=$(LINUXKERN北樂EL_INSTALL_DIR) CROSS_COMP白亮ILE=$(MVTOOL_PREFIX) DEST=$(LINUXE服雪XAMPLES_INSTALL_DIR) all i就說nstall

    &nb鐘呢sp;    @echo

    &n劇答bsp;    @echo市白 "PSP examples can 動道be found under $(LINUXEXAMPLES_INS中我TALL_DIR)/$(PLATFO我男RM)"

 

psp_examples_clean:

  &nb校水sp;  &nb如妹sp;   $(MAKE) -C $(LI得學NUXEXAMPLES_INSTALL_DIR)自讀 PLATFORM=$(PLATFORM) KERNEL_DIR=$(LI房綠NUXKERNEL_INSTALL_DIR) CROSS_COMPILE=$生現(MVTOOL_PREFIX) clean

 

psp_examples_install:暗鄉

     員光;    $(MAKE) -C $(輛紙LINUXEXAMPLES_INSTAL也話L_DIR) PLATFORM訊吧=$(PLATFORM) KERNEL_DI視時R=$(LINUXKERNEL_INST上東ALL_DIR) CROSS_COMPILE=$(M費吧VTOOL_PREFIX) FINAL_DEST=$(EXEC_DIR知答) install

 

 

 

這(zhè)兩(liǎng)個文件修改完業有成(chéng)了,我們的開(k紙爸āi)發(fā)環境就(jiù)可以說(shuō)安裝完成(ch志靜éng)了。在接下來的工作中,我們需要編譯自己的Uboot,Kenn影讀el,熟悉DVSDK,編寫應用程序等開(kāi)發(fā)工作,在以後(hò問算u)的章節中進(jìn)一步講到。

休息一下,現在是廣告時(shí)間,哈哈

深圳市俊竹科技有限公司提供Davinci 系列産品的方案和開(kāi為快)發(fā)闆,在這(zhè)爸遠裡(lǐ)展示一下我們的DM6467T開(kāi)放新發(fā)闆吧,分核心闆和底闆,你也可以個志隻做自己的底闆,買的我們的核心闆,或者直接讓我們來定制。

聯系方式:18665982968(黃工)QQ:1511懂的819371