[Buildroot] LIBFOO_SITE in .mk file
Jeff Krasky
jeff.krasky at dspcg.com
Tue Nov 29 14:28:56 UTC 2011
> > This error message is what got me started down the path of adding the
> > package in Buildroot. I used to build EtherCAT outside of Buildroot
> > and then that build process would put EtherCAT in the linux image.
> > But I'd get this error, so the suggestion was made to make the
> > EtherCAT build part of Buildroot. Somehow the kernel needs to be
> > told of this module. The Buildroot process must not be doing a 'make
> > install'? Or is there a command I should run on the board itself
> > once Linux is running?
>
> It depends on :
>
> * what your ethercat.mk file looks like (could you post it on the
> list ?)
> * how the EtherCAT build system works
EtherCAT.mk:
#############################################################
#
# EtherCAT
#
#############################################################
ETHERCAT_VERSION = 1.0
ETHERCAT_SOURCE = etherlabmaster-1.0.tar.bz2
###ETHERCAT_SITE = file:///home/user1/Desktop/EtherCAT4Atmel/
ETHERCAT_SITE = http://127.0.0.1/home/user1/Desktop/EtherCAT4Atmel/
ETHERCAT_INSTALL_STAGING = YES
ETHERCAT_INSTALL_TARGET = YES
ETHERCAT_CONF_OPT = --enable-generic
#####LIBFOO_DEPENDENCIES = libglib2 host-pkg-config
$(eval $(call AUTOTARGETS,package,ethercat))
Regarding how the EtherCAT build system works, how do I answer this for you?
Are there some Makefiles that would explain it? Some other file I can post
that will explain it?
More information about the buildroot
mailing list