* [ptxdist] Building a kernel module with special build script
@ 2015-08-14 12:14 Stranz Jan-Marc
2015-08-24 9:17 ` Juergen Borleis
0 siblings, 1 reply; 2+ messages in thread
From: Stranz Jan-Marc @ 2015-08-14 12:14 UTC (permalink / raw)
To: ptxdist
[-- 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] Building a kernel module with special build script
2015-08-14 12:14 [ptxdist] Building a kernel module with special build script Stranz Jan-Marc
@ 2015-08-24 9:17 ` Juergen Borleis
0 siblings, 0 replies; 2+ messages in thread
From: Juergen Borleis @ 2015-08-24 9:17 UTC (permalink / raw)
To: ptxdist; +Cc: Stranz Jan-Marc
Hi Jan-Marc,
On Friday 14 August 2015 14:14:42 Stranz Jan-Marc wrote:
> 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.
Do you know "ptxdist newpackage kernel"?
Regards,
Juergen
--
Pengutronix e.K. | Juergen Borleis |
Industrial Linux Solutions | http://www.pengutronix.de/ |
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-24 9:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-14 12:14 [ptxdist] Building a kernel module with special build script Stranz Jan-Marc
2015-08-24 9:17 ` Juergen Borleis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox