From fb3232f221c5f860f837bfe741d9c874c352d684 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 8 Jan 2006 02:17:18 +0000 Subject: [PATCH] fix documentation, fixes #176 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2860 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/docs/buildroot-documentation.html | 54 ++++++++++++----------- 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/openwrt/docs/buildroot-documentation.html b/openwrt/docs/buildroot-documentation.html index ede3796a6..d23763987 100644 --- a/openwrt/docs/buildroot-documentation.html +++ b/openwrt/docs/buildroot-documentation.html @@ -95,16 +95,16 @@

Obtaining OpenWrt Buildroot

-

OpenWrt Buildroot is available via CVS - Concurrent Version System. - For any kind of OpenWrt development you should get the latest version from cvs via:

+

OpenWrt Buildroot is available via SVN aka subversion. + For any kind of OpenWrt development you should get the latest version from svn via:

- $ cvs -d:pserver:anonymous@openwrt.org:/openwrt co openwrt
+ $ svn co https://svn.openwrt.org/openwrt/trunk/
 
-

If you only like to create your own custom firmware images and pakages we - strongely suggest to use the CVS branch of the stable version (whiterussian): +

If you only like to create your own custom firmware images and packages we + strongly suggest to use the SVN branch of the stable version (whiterussian):

- $ cvs -d:pserver:anonymous@openwrt.org:/openwrt co -rwhiterussian openwrt
+ $ svn co https://svn.openwrt.org/openwrt/branches/whiterussian/
 
@@ -156,13 +156,25 @@

Customizing the target filesystem

-
  • You can customize the target filesystem skeleton, available under - package/base-files/default/. You can change - configuration files or other stuff here. However, the full file hierarchy - is not yet present, because it's created during the compilation process. - So you can't do everything on this target filesystem skeleton, but - changes to it remains even when you completely rebuild the cross-compilation - toolchain and the tools.
    +

    There are two ways to customize the resulting target filesystem:

    + +

    Customizing the Busybox configuration

    @@ -283,7 +295,7 @@ default) and the target filesystem skeleton. This directory will contain the final root filesystem. To set it up, it first deletes it, then it copies the skeleton available in target/default/target_skeleton - and then removes useless CVS/ directories.
  • + and then removes useless SVN/ directories.
  • Call the prepare, compile and install targets for the subdirectories toolchain, package @@ -478,7 +490,7 @@ foo-compile: bar-compile 18 19 $(eval $(call PKG_template,FOO,foo,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 20 - 21 $(PKG_BUILD_DIR)/.configured: + 21 $(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared 22 (cd $(PKG_BUILD_DIR); \ 23 $(TARGET_CONFIGURE_OPTS) \ 24 CFLAGS="$(TARGET_CFLAGS)" \ @@ -587,16 +599,6 @@ foo-compile: bar-compile recursevily strip all binaries and libraries. Finally IPKG_BUILD is called to create the package.

    -

    If you want other targets to be executed at compile, - install or clean time (e.g. for installing - a library into the staging dir), just create the targets (usually - install-dev and uninstall-dev) and enable - them like this: -

    -compile-targets: install-dev
    -clean-targets: uninstall-dev
    -
    -

    Conclusion

    As you can see, adding a software to buildroot is simply a @@ -611,7 +613,7 @@ clean-targets: uninstall-dev

    Resources

    -

    To learn more about OpenWrt, you can visit this website: +

    To learn more about OpenWrt you can visit this website: http://openwrt.org/