[Buildroot] [PATCH 2/2] ushare: new package

Gustavo Zacarias gustavo at zacarias.com.ar
Wed Mar 21 13:11:13 UTC 2012


On 2012-03-21 10:04, Peter Korsgaard wrote:

>  Gustavo> +define USHARE_CONFIGURE_CMDS
>  Gustavo> +	(cd $(@D); \
>  Gustavo> +		$(TARGET_CONFIGURE_OPTS) \
>  Gustavo> +		./configure --prefix=/usr $(DISABLE_NLS) --cross-compile 
> \
>  Gustavo> +		--cross-prefix="$(TARGET_CROSS)" --sysconfdir=/etc \
>  Gustavo> +		--disable-strip --disable-debug \
>  Gustavo> +	)
>  Gustavo> +endef
>  Gustavo> +
>  Gustavo> +define USHARE_INSTALL_TARGET_CMDS
>  Gustavo> +	$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
>  Gustavo> +	rm -f $(TARGET_DIR)/etc/init.d/ushare
>  Gustavo> +endef
>
> Why the custom configure and install steps?

It's not autoconf and it'll bail out on unknown options.
So basically s/AUTOTARGETS/GENTARGETS/ :)
Regards.



More information about the buildroot mailing list