[Buildroot] [v3,2/2] canfestival: new package

Davide Viti zinosat at tiscali.it
Wed Mar 26 19:52:59 UTC 2014


On Thu, Jan 02, 2014 at 03:43:40PM +0100, Samuel Martin wrote:
...
> +define CANFESTIVAL_CONFIGURE_CMDS
> +	cd $(@D) && \
> +		$(TARGET_CONFIGURE_OPTS) ./configure \
> +		--binutils=$(TARGET_CROSS) --cc="$(TARGET_CC)" \
> +		--cxx="$(TARGET_CC)" --ld="$(TARGET_CC)" \
> +		--can=$(BR2_PACKAGE_CANFESTIVAL_DRIVER) \
> +		--MAX_CAN_BUS_ID=$(BR2_PACKAGE_CANFESTIVAL_NBMMAXCAN)
> +endef

I've tested the patch with an arm toolchain and noticed that installed
files end up not properly prefixed (i.e. /usr/arm-buildroot-linux-gnueabi/lib)

It can be fixed by passing "--prefix=/usr" to configure

regards,
Davide


More information about the buildroot mailing list