[Buildroot] LIBFOO_SITE in .mk file
Jeff Krasky
jeff.krasky at dspcg.com
Thu Dec 1 15:55:47 UTC 2011
> You don't even have to do that, just save the e-mail as a plain text
> file using your e-mail client.
>
> Patch will ignore the leading, non-patch, discussion.
>
> It was designed that way, back in the days when the only way to
> pass patches was by e-mail. ;-)
Ok, I saved the entire email in notepad as an ANSI text document, then
renamed it to have the .patch extension.
I went to run 'make linux-menuconfig' and I got this message:
package/igh-ethercat/igh-ethercat.mk:11: *** missing separator. Stop.
When using Buildroot-2011.05 I needed to run 'make linux-menuconfig'. Here
is the .mk file:
IGH_ETHERCAT_VERSION = stable-1.5
IGH_ETHERCAT_SITE =
http://etherlabmaster.hg.sourceforge.net/hgweb/etherlabmaster/etherlabmaster
/archive/
IGH_ETHERCAT_SOURCE = $(IGH_ETHERCAT_VERSION).tar.bz2
IGH_ETHERCAT_AUTORECONF = YES IGH_ETHERCAT_DEPENDENCIES = linux
IGH_ETHERCAT_INSTALL_STAGING = YES
IGH_ETHERCAT_CONF_OPT = \
--with-linux-dir=$(LINUX_DIR)
IGH_ETHERCAT_CONF_OPT += $(if
$(BR2_PACKAGE_IGH_ETHERCAT_8139TOO),--enable-8139too,--disable-8139too)
IGH_ETHERCAT_CONF_OPT += $(if
$(BR2_PACKAGE_IGH_ETHERCAT_E100),--enable-e100,--disable-e100)
IGH_ETHERCAT_CONF_OPT += $(if
$(BR2_PACKAGE_IGH_ETHERCAT_E1000),--enable-e1000,--disable-e1000)
IGH_ETHERCAT_CONF_OPT += $(if
$(BR2_PACKAGE_IGH_ETHERCAT_R8169),--enable-r8169,--disable-r8169)
define IGH_ETHERCAT_CREATE_CHANGELOG
touch $(@D)/ChangeLog
endef
IGH_ETHERCAT_POST_PATCH_HOOKS += IGH_ETHERCAT_CREATE_CHANGELOG
define IGH_ETHERCAT_BUILD_MODULES
$(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) modules endef
IGH_ETHERCAT_POST_BUILD_HOOKS += IGH_ETHERCAT_BUILD_MODULES
define IGH_ETHERCAT_INSTALL_MODULES
$(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) modules_install endef
IGH_ETHERCAT_POST_INSTALL_TARGET_HOOKS += IGH_ETHERCAT_INSTALL_MODULES
Line 11 appears to be
"$(BR2_PACKAGE_IGH_ETHERCAT_8139TOO),--enable-8139too,--disable-8139too)".
Does this need to be tabbed in or something? The build takes about 30
minutes and so I'd like to correct in advance if I could.
Thanks again.
More information about the buildroot
mailing list