summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-03-02 10:09:44 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2009-03-02 10:09:44 +0000
commit992b1890a7c3ab487f69b4f8dd2f48f6f26575ae (patch)
tree5b33423b715a3de135b087af2e47c6956338a879 /docs
parente5f85978b43c04f8b737666e70e74ca9e70d7c1e (diff)
docs/buildroot: use DESTDIR / install-strip for target install example
Diffstat (limited to 'docs')
-rw-r--r--docs/buildroot.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/buildroot.html b/docs/buildroot.html
index 1bf3ac015..a13945969 100644
--- a/docs/buildroot.html
+++ b/docs/buildroot.html
@@ -1014,7 +1014,7 @@ endif
<a name="ex2line34" id="ex2line34">34</a> $(MAKE) CC=$(TARGET_CC) -C $(FOO_DIR)
<a name="ex2line35" id="ex2line35">35</a>
<a name="ex2line36" id="ex2line36">36</a> $(TARGET_DIR)/$(FOO_TARGET_BINARY): $(FOO_DIR)/$(FOO_BINARY)
- <a name="ex2line37" id="ex2line37">37</a> $(MAKE) prefix=$(TARGET_DIR)/usr -C $(FOO_DIR) install
+ <a name="ex2line37" id="ex2line37">37</a> $(MAKE) DESTDIR=$(TARGET_DIR) -C $(FOO_DIR) install-strip
<a name="ex2line38" id="ex2line38">38</a> rm -Rf $(TARGET_DIR)/usr/man
<a name="ex2line39" id="ex2line39">39</a>
<a name="ex2line40" id="ex2line40">40</a> foo: uclibc ncurses $(TARGET_DIR)/$(FOO_TARGET_BINARY)
@@ -1111,8 +1111,8 @@ endif
<p>Lines <a href="#ex2line36">36-38</a> defines a target and associated rules
that install the software inside the target filesystem. It depends on the
binary file in the source directory, to make sure the software has
- been compiled. It uses the <code>install</code> target of the
- software <code>Makefile</code> by passing a <code>prefix</code>
+ been compiled. It uses the <code>install-strip</code> target of the
+ software <code>Makefile</code> by passing a <code>DESTDIR</code>
argument, so that the <code>Makefile</code> doesn't try to install
the software inside host <code>/usr</code> but inside target
<code>/usr</code>. After the installation, the