From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from isc-mx.mymailwall.com ([91.212.136.3]) by metis.ext.pengutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1ZQDt7-0005JF-29 for ptxdist@pengutronix.de; Fri, 14 Aug 2015 14:15:09 +0200 From: Stranz Jan-Marc Date: Fri, 14 Aug 2015 12:14:42 +0000 Message-ID: <895ec2aa2b794b4ba0e7e1b5f2cc891b@GINS-EXC01.gins.local> Content-Language: de-DE MIME-Version: 1.0 Subject: [ptxdist] Building a kernel module with special build script List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============0840095883==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: "ptxdist@pengutronix.de" --===============0840095883== Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_895ec2aa2b794b4ba0e7e1b5f2cc891bGINSEXC01ginslocal_" --_000_895ec2aa2b794b4ba0e7e1b5f2cc891bGINSEXC01ginslocal_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, in a bsp project I've to build a very special kernel module ("SysLink" from= TI). In order to build this syslink.ko kernel module I have to install additiona= l tools from TI. This can be assumed as an preparation step and have do bee done once manual= ly before building the bsp project. For building the syslink.ko kernel module I have to invoke 'make' with a so= me parameters: make DEVICE=3DOMAPL1XX \ SDK=3DNONE \ DEPOT=3D=3D$(PTXDIST_WORKSPACE)/local_src/syslink-2_21_03_11/depot/ \ LINUXKERNEL=3D$(PTXDIST_PLATFORMDIR)/build-target/linux-$(KERNEL_VERSIO= N)/ \ CGT_ARM_PREFIX=3D$(PTXDIST_TOOLCHAIN)/$(PTXCONF_GNU_TARGET) \ IPC_INSTALL_DIR=3D/opt/ti/ipc_1_25_03_15/ \ BIOS_INSTALL_DIR=3D/opt/ti/bios_6_34_04_22/ \ XDC_INSTALL_DIR=3D/opt/ti/xdctools_3_24_05_48/ \ CGT_C674_ELF_INSTALL_DIR=3D/opt/ti/ti-cgt-c6000_8.0.3/ \ syslink How can this be included in appropriate manner in a user defined rule? I would need help to create a file "rules/syslink.make" that can be integra= ted in the existing bsp project. Best regards Jan-Marc Stranz. --_000_895ec2aa2b794b4ba0e7e1b5f2cc891bGINSEXC01ginslocal_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

 

in a bsp project I’ve to = build a very special kernel module (“SysLink” from TI).

 

In order to build this syslink.= ko kernel module I have to install additional tools from TI.

This can be assumed as an prepa= ration step and have do bee done once manually before building the bsp proj= ect.

 

For building the syslink.ko ker= nel module I have to invoke ‘make’ with a some parameters:=

 

make DEVICE=3DOMAPL1XX \

    SDK=3DNONE \

    DEPOT=3D=3D$(PTXDIST_WORKSPACE)/local_src= /syslink-2_21_03_11/depot/ \

    LINUXKERNEL=3D$(PTXDIST_PLATFORMDIR)/buil= d-target/linux-$(KERNEL_VERSION)/ \

    CGT_ARM_PREFIX=3D$(PTXDIST_TOOLCHAIN)/$(P= TXCONF_GNU_TARGET) \

    IPC_INSTALL_DIR=3D/opt/ti/ipc_1_25_03_15/= \

    BIOS_INSTALL_DIR=3D/opt/ti/bios_6_34_04_2= 2/ \

    XDC_INSTALL_DIR=3D/opt/ti/xdctools_3_24_0= 5_48/ \

   CGT_C674_ELF_INSTALL_DIR=3D/opt/ti/ti-cgt-= c6000_8.0.3/ \

    syslink<= /o:p>

 

How can this be included in app= ropriate manner in a user defined rule?

I would need help to create a f= ile “rules/syslink.make” that can be integrated in the existing= bsp project.

 

Best regards<= /p>

Jan-Marc Stranz.

 

 

--_000_895ec2aa2b794b4ba0e7e1b5f2cc891bGINSEXC01ginslocal_-- --===============0840095883== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline LS0gCnB0eGRpc3QgbWFpbGluZyBsaXN0CnB0eGRpc3RAcGVuZ3V0cm9uaXguZGUK --===============0840095883==--