From e8b1e036f901102fb232d3052eaa858920d2b01d Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Mon, 26 Jan 2009 20:26:16 +0000 Subject: Update documentation with BUILDROOT_USE_XWINDOWS, & linux cleanup --- docs/buildroot.html | 67 +++++++++++++++++++++++------------------------------ 1 file changed, 29 insertions(+), 38 deletions(-) (limited to 'docs') diff --git a/docs/buildroot.html b/docs/buildroot.html index b282a19a6..abd4d265a 100644 --- a/docs/buildroot.html +++ b/docs/buildroot.html @@ -247,6 +247,9 @@
  • HOSTCC
  • UCLIBC_CONFIG_FILE=<path/to/.config>
  • BUSYBOX_CONFIG_FILE=<path/to/.config>
  • +
  • BUILDROOT_DL_DIR
  • +
  • BUILDROOT_LOCAL
  • +
  • BUILDROOT_USE_XWINDOWS
  • An example that uses config files located in the toplevel directory and @@ -635,52 +638,22 @@ $ make me<TAB> conflicts, but will use unique build directories, where the user can configure the build.

    -

    THINGS TO DO

    - +

    Linux

      -
    1. Linux
    2. - -

      The current Linux implementation is flawed. It only works - if the user chooses to use one of the few kernels selected - as base for the kernel-headers. While the Makefile seems to have - hooks, allowing the developer to specify whatever version he/she - wants in the target/device/*/* Makefiles, the build will fail - if another kernel version is choosen.

      - -

      The reason for this is that the kernel patches are not - applied by the "target/linux/linux.mk" - build script fragment. They are only applied by the - "toolchain/kernel-headers/*.makefile" - build script fragments

      - -

      If the kernel-header version and the linux version differs, - there will be two "linux-2.6.X.Y" - directories in - "build_<ARCH>/<>", - each with its own set of patches.

      - -

      The solution in the works, is to move the build of Linux to - "project_build_<ARCH>/<project name>/linux-2.6.X.Y" combined with method to configure - which patches can be applied. Possibly, the linux source tree - used to generate the kernel headers will be moved to the - "toolchain_build_<ARCH>" - directory -

      - -

      The user will be able to select from three different - Linux strategies: + +

      The user can select from three different Linux strategies:

      -

      The current kernel patches can be configured to be applied to the +

      The current kernel patches can be applied to the linux source tree even if the version differs from the kernel header version.

      @@ -690,7 +663,7 @@ $ make me<TAB> proprietary kernel-patch or decide to not apply the kernel patches

      -

      Other optional patches will be board specific or +

      There is also support for board specific and architecture specific patches.

      There will also be a way for the user to supply absolute @@ -701,9 +674,27 @@ $ make me<TAB>

      Maybe, there will also be a possibility to supply an "URL" to a patch available on Internet.

      +
      +export BUILDROOT_USE_XWINDOWS <>
      +
      + +

      + If there is no linux config file available, + buildroot starts the linux configuration system, which + defaults to "make menuconfig". There is a menuoption + allowing you to use the less archaic "make xconfig" + You can override any .config setting by defining + the BUILDROOT_USE_XWINDOWS environment variable. +

      -
    3. Configurable packages
    4. + +
    + +

    Todo

    +
      + +
    1. Configurable packages
    2. Many packages can, on top of the simple "enable/disable build", be further configured using Kconfig. -- cgit v1.2.3