mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Stranz Jan-Marc <JM.Stranz@gantner-instruments.com>
To: "ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: [ptxdist] Building a kernel module with special build script
Date: Fri, 14 Aug 2015 12:14:42 +0000	[thread overview]
Message-ID: <895ec2aa2b794b4ba0e7e1b5f2cc891b@GINS-EXC01.gins.local> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1091 bytes --]

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 preparation step and have do bee done once manually before building the bsp project.

For building the syslink.ko kernel module I have to invoke 'make' with a some parameters:

make DEVICE=OMAPL1XX \
    SDK=NONE \
    DEPOT==$(PTXDIST_WORKSPACE)/local_src/syslink-2_21_03_11/depot/ \
    LINUXKERNEL=$(PTXDIST_PLATFORMDIR)/build-target/linux-$(KERNEL_VERSION)/ \
    CGT_ARM_PREFIX=$(PTXDIST_TOOLCHAIN)/$(PTXCONF_GNU_TARGET) \
    IPC_INSTALL_DIR=/opt/ti/ipc_1_25_03_15/ \
    BIOS_INSTALL_DIR=/opt/ti/bios_6_34_04_22/ \
    XDC_INSTALL_DIR=/opt/ti/xdctools_3_24_05_48/ \
   CGT_C674_ELF_INSTALL_DIR=/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 integrated in the existing bsp project.

Best regards
Jan-Marc Stranz.



[-- Attachment #1.2: Type: text/html, Size: 5112 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

             reply	other threads:[~2015-08-14 12:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-14 12:14 Stranz Jan-Marc [this message]
2015-08-24  9:17 ` Juergen Borleis

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=895ec2aa2b794b4ba0e7e1b5f2cc891b@GINS-EXC01.gins.local \
    --to=jm.stranz@gantner-instruments.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox