Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] I want to know how the buildroot works inside when build and install a new package
@ 2009-02-27  3:45 IaMaPlAyEr
  2009-02-27 21:30 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: IaMaPlAyEr @ 2009-02-27  3:45 UTC (permalink / raw)
  To: buildroot

Hi, all,

    I want to know how the buildroot works inside when build and install a
new package.
I view the doc, but can not find the answer.

    Just as the buildroot.html said, if I want to add new package, which I
have to do
is to writing a makefile(foo.mk) just like blow:

     1  #############################################################
     2  #
     3  # foo
     4  #
     5  #############################################################
     6  FOO_VERSION:=1.0
     7  FOO_SOURCE:=foo-$(FOO_VERSION).tar.gz
     8  FOO_SITE:=http://www.foosoftware.org/downloads
     9  FOO_INSTALL_STAGING = YES
     10  FOO_INSTALL_TARGET = YES
     11  FOO_CONF_OPT =  --enable-shared
     12  FOO_DEPENDENCIES = libglib2 pkgconfig
     13  $(eval $(call AUTOTARGETS,package,foo))

It is the rule of the package needed.
I know it is the Makefile which autotools-based type, and also know the
default work-flow
 of autotools is:
autoscan(configure.scan)----------(edit configure.ac
)----------aclocal(aclocal.m4)-----autoconf(configure)

(edit configure.ac)----------autoheader(config.h.in)

Makefile.am----autoconf(configure)

autoconf(configure)+autoconf(configure)-----./configure(Makefile)

And how the buildroot works inside?

Thanks in advance for any assistance.

-- 
--
HaveF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090227/c7a37d32/attachment.htm>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-02-28  8:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-27  3:45 [Buildroot] I want to know how the buildroot works inside when build and install a new package IaMaPlAyEr
2009-02-27 21:30 ` Thomas Petazzoni
2009-02-28  2:49   ` IaMaPlAyEr
2009-02-28  8:51     ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox