[Buildroot] [PATCH] vnstat: new package

Alvaro Gamez alvaro.gamez at hazent.com
Mon Mar 19 10:32:46 UTC 2012


Ah, that's better! The package I was looking at as reference is ezxml and
is much more repetitive.

Thank you!

2012/3/19 Thomas Petazzoni <thomas.petazzoni at free-electrons.com>

> Le Mon, 19 Mar 2012 11:10:55 +0100,
> Alvaro Gamez <alvaro.gamez at hazent.com> a écrit :
>
> > I see, but then essentially I would have to copy, paste and reformat the
> > original Makefile into vnstat.mk Isn't that a bit redundant?
>
> No, no. You don't have to replicate the project Makefile. You would
> just to something like:
>
> define VNSTAT_BUILD_CMDS
>        $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
> endef
>
> define VNSTAT_INSTALL_TARGET_CMDS
>        $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR)
> install
> endef
>
> You can also see other examples in the Buildroot code.
>
> Regards,
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
>



-- 
Álvaro Gámez Machado
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120319/11f52a94/attachment-0002.html>


More information about the buildroot mailing list