From 0dbf9dd7ab8e08e9081a1141f0122f0e2cdc6202 Mon Sep 17 00:00:00 2001 From: Ulf Samuelsson Date: Mon, 26 Jan 2009 23:52:31 +0000 Subject: Create a common BR2_COPYTO to prepare to replace all the different COPYTOs spread out all over Buildroot. Generate COPY_FILE subroutine which can be used to copy a file. $(COPY_FILE , file, directory, filename) This will copy to binary dir and to the selected copy dir if set in new config (intended to replace all old COPYTO configs) This is overridden by BUILDROOT_COPYTO, if set into the environment. --- docs/buildroot.html | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs/buildroot.html') diff --git a/docs/buildroot.html b/docs/buildroot.html index abd4d265a..b02ee3d6c 100644 --- a/docs/buildroot.html +++ b/docs/buildroot.html @@ -247,6 +247,7 @@
  • HOSTCC
  • UCLIBC_CONFIG_FILE=<path/to/.config>
  • BUSYBOX_CONFIG_FILE=<path/to/.config>
  • +
  • BUILDROOT_COPYTO
  • BUILDROOT_DL_DIR
  • BUILDROOT_LOCAL
  • BUILDROOT_USE_XWINDOWS
  • @@ -264,6 +265,16 @@ $ make UCLIBC_CONFIG_FILE=uClibc.config BUSYBOX_CONFIG_FILE=$HOME/bb.config $ make HOSTCXX=g++-4.3-HEAD HOSTCC=gcc-4.3-HEAD +

    If you want the result of your build to be copied to another directory + like /tftpboot for downloading to a board using tftp, then you + can use BUILDROOT_COPYTO to specify your location

    +

    Typically, this is set in your ~/.bashrc file + +

    +$ export BUILDROOT_COPYTO=/tftpboot
    +
    + +

    Using auto-completion

    -- cgit v1.2.3