Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: aldot at uclibc.org <aldot@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/docs
Date: Fri, 19 Jan 2007 01:47:30 -0800 (PST)	[thread overview]
Message-ID: <20070119094730.134EB4858E@busybox.net> (raw)

Author: aldot
Date: 2007-01-19 01:47:29 -0800 (Fri, 19 Jan 2007)
New Revision: 17374

Log:
- Correct some typos
- Add some more explanation to the -clean and -dirclean targets


Modified:
   trunk/buildroot/docs/buildroot.html


Changeset:
Modified: trunk/buildroot/docs/buildroot.html
===================================================================
--- trunk/buildroot/docs/buildroot.html	2007-01-19 09:24:39 UTC (rev 17373)
+++ trunk/buildroot/docs/buildroot.html	2007-01-19 09:47:29 UTC (rev 17374)
@@ -36,7 +36,7 @@
       <li><a href="#downloaded_packages">Location of downloaded packages</a></li>
       <li><a href="#add_software">Extending Buildroot with more
       Software</a></li>
-      <li><a href="#links">Ressources</a></li>
+      <li><a href="#links">Resources</a></li>
     </ul>
 
     <h2><a name="about" id="about"></a>About Buildroot</h2>
@@ -455,9 +455,9 @@
      4  #
      5  #############################################################
      6  FOO_VERSION:=1.0
-     7  FOO_SOURCE:=less-$(FOO_VERSION).tar.gz
+     7  FOO_SOURCE:=foo-$(FOO_VERSION).tar.gz
      8  FOO_SITE:=http://www.foosoftware.org/downloads
-     9  FOO_DIR:=$(BUILD_DIR)/less-$(FOO_VERSION)
+     9  FOO_DIR:=$(BUILD_DIR)/foo-$(FOO_VERSION)
     10  FOO_BINARY:=foo
     11  FOO_TARGET_BINARY:=usr/bin/foo
     12
@@ -466,10 +466,10 @@
     15
     16  $(FOO_DIR)/.source: $(DL_DIR)/$(FOO_SOURCE)
     17          $(ZCAT) $(DL_DIR)/$(FOO_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
-    18          touch $(FOO_DIR)/.source
+    18          touch $@
     19
     20  $(FOO_DIR)/.configured: $(FOO_DIR)/.source
-    21          (cd $(FOO_DIR); \
+    21          (cd $(FOO_DIR); rm -rf config.cache ; \
     22                  $(TARGET_CONFIGURE_OPTS) \
     23                  CFLAGS="$(TARGET_CFLAGS)" \
     24                  ./configure \
@@ -479,7 +479,7 @@
     28                  --prefix=/usr \
     29                  --sysconfdir=/etc \
     30          );
-    31          touch $(FOO_DIR)/.configured;
+    31          touch $@
     32
     33  $(FOO_DIR)/$(FOO_BINARY): $(FOO_DIR)/.configured
     34          $(MAKE) CC=$(TARGET_CC) -C $(FOO_DIR)
@@ -600,14 +600,21 @@
 
     <p>Line 42 defines a simple target that only downloads the code
     source. This is not used during normal operation of Buildroot, but
-    might be useful.</p>
+    is needed if you intend to download all required sources at once
+    for later offline build. Note that if you add a new package providing
+    a <code>foo-source</code> target is <i>mandatory</i> to support
+    users that wish to do offline-builds. Furthermore it eases checking
+    if all package-sources are downloadable.</p>
 
-    <p>Lignes 44-46 define a simple target to clean the software build
-    by calling the <i>Makefiles</i> with the appropriate option.</p>
+    <p>Lines 44-46 define a simple target to clean the software build
+    by calling the <i>Makefiles</i> with the appropriate option.<br>
+    The <code>clean</code> target should run <code>make clean</code>
+    on $(BUILD_DIR)/package-version and MUST uninstall all files of the
+    package from $(STAGING_DIR) and from $(TARGET_DIR).</p>
 
     <p>Lines 48-49 define a simple target to completely remove the
     directory in which the software was uncompressed, configured and
-    compiled.</p>
+    compiled. This target MUST completely rm $(BUILD_DIR)/package-version.</p>
 
     <p>Lines 51-58 adds the target <code>foo</code> to the list
     of targets to be compiled by Buildroot by first checking if
@@ -630,7 +637,7 @@
     <p>If you package software that might be useful for other persons,
     don't forget to send a patch to Buildroot developers !</p>
 
-     <h2><a name="links" id="links"></a>Ressources</h2>
+     <h2><a name="links" id="links"></a>Resources</h2>
 
     <p>To learn more about Buildroot you can visit these
     websites:</p>

             reply	other threads:[~2007-01-19  9:47 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-19  9:47 aldot at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-03-02 10:09 [Buildroot] svn commit: trunk/buildroot/docs jacmet at uclibc.org
2009-03-02  8:34 jacmet at uclibc.org
2009-02-12  9:33 jacmet at uclibc.org
2009-02-09 16:44 jacmet at uclibc.org
2009-01-31 23:02 jacmet at uclibc.org
2009-01-26 20:26 ulf at uclibc.org
2009-01-23 21:06 jacmet at uclibc.org
2009-01-16 19:45 jacmet at uclibc.org
2009-01-16 21:02 ` Markus Heidelberg
2009-01-16 19:45 jacmet at uclibc.org
2009-01-15 14:50 jacmet at uclibc.org
2009-01-15 14:50 jacmet at uclibc.org
2009-01-15 14:50 jacmet at uclibc.org
2009-01-15 14:50 jacmet at uclibc.org
2009-01-15 14:50 jacmet at uclibc.org
2009-01-06 16:30 ulf at uclibc.org
2009-01-06 16:34 ` Peter Korsgaard
2008-12-18  0:48 root at uclibc.org
2008-12-16  9:00 jacmet at uclibc.org
2008-12-15 22:35 tpetazzoni at uclibc.org
2008-12-15 22:44 ` Thomas Petazzoni
2008-12-16  9:03   ` Peter Korsgaard
2008-12-16  9:00 ` Peter Korsgaard
2008-12-15 22:14 tpetazzoni at uclibc.org
2008-12-08  8:15 jacmet at uclibc.org
2008-10-14 16:20 aldot at uclibc.org
2008-10-18  6:58 ` Peter Korsgaard
2008-10-06  9:11 jacmet at uclibc.org
2008-06-23 13:40 jacmet at uclibc.org
2008-03-13 17:16 ninevoltz at uclibc.org
2008-03-13 18:25 ` Peter Korsgaard
2007-09-27 21:32 aldot at uclibc.org
2007-09-19  9:08 aldot at uclibc.org
2007-09-02 17:44 aldot at uclibc.org
2007-08-24  5:28 ulf at uclibc.org
2007-08-16 21:54 ulf at uclibc.org
2007-08-12 23:26 ulf at uclibc.org
2007-08-11 21:58 ulf at uclibc.org
2007-08-01  8:11 ulf at uclibc.org
2007-07-12 17:04 ulf at uclibc.org
2007-07-12 16:53 ulf at uclibc.org
2007-07-12 14:46 ulf at uclibc.org
2007-07-12 14:43 ulf at uclibc.org
2007-07-12 15:07 ` Bernhard Fischer
2007-06-21 16:58 aldot at uclibc.org
2007-03-13 12:59 aldot at uclibc.org
2007-01-21 21:49 aldot at uclibc.org
2007-01-19 19:28 aldot at uclibc.org
2007-01-19 19:21 aldot at uclibc.org
2007-01-19 19:20 aldot at uclibc.org
2007-01-19 13:32 aldot at uclibc.org
2007-01-19 12:35 aldot at uclibc.org
2007-01-19 11:00 aldot at uclibc.org
2007-01-19 10:57 aldot at uclibc.org
2007-01-19  9:24 aldot at uclibc.org
2007-01-17 10:07 aldot at uclibc.org
2006-12-22 12:11 aldot at uclibc.org
2006-11-05 11:21 aldot at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070119094730.134EB4858E@busybox.net \
    --to=aldot@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox