The default is $(TOPDIR)/dl
-config BR2_COPYTO
- string "Copy result to..."
- default ""
- help
- Setting this variable will (eventually) override
- any other copyto configurations in buildroot.
-
config BR2_STAGING_DIR
string "Toolchain and header file location?"
default "$(BASE_DIR)/staging"
# Secondary locations
#
BR2_AT91_LINUXPATCH_SITE="http://maxim.org.za/AT91RM9200/2.6"
-BR2_TARGET_ATMEL_COPYTO="/tftpboot"
# BR2_TARGET_AT91BOOTSTRAP is not set
# BR2_TARGET_KWIKBYTE is not set
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
# Secondary locations
#
BR2_AT91_LINUXPATCH_SITE="http://maxim.org.za/AT91RM9200/2.6"
-BR2_TARGET_ATMEL_COPYTO="/tftpboot"
BR2_TARGET_DATAFLASHBOOT=y
BR2_TARGET_DATAFLASHBOOT_AT91RM9200=y
# BR2_TARGET_DATAFLASHBOOT_AT91SAM9261 is not set
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
# Secondary locations
#
BR2_AT91_LINUXPATCH_SITE="http://maxim.org.za/AT91RM9200/2.6"
-BR2_TARGET_ATMEL_COPYTO="/tftpboot"
# BR2_TARGET_DATAFLASHBOOT is not set
# BR2_TARGET_KWIKBYTE is not set
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
# Secondary locations
#
BR2_AT91_LINUXPATCH_SITE="http://maxim.org.za/AT91RM9200/2.6"
-BR2_TARGET_ATMEL_COPYTO="/tftpboot"
# BR2_TARGET_DATAFLASHBOOT is not set
# BR2_TARGET_AT91BOOT_DATAFLASH is not set
# BR2_TARGET_AT91BOOT_DATAFLASHCARD is not set
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
# Secondary locations
#
BR2_AT91_LINUXPATCH_SITE="http://maxim.org.za/AT91RM9200/2.6"
-BR2_TARGET_ATMEL_COPYTO="/tftpboot"
BR2_TARGET_AT91BOOTSTRAP=y
BR2_TARGET_AT91BOOTSTRAP_BOARD="at91sam9260ek"
# BR2_TARGET_AT91BOOT_DATAFLASH is not set
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
# Secondary locations
#
BR2_AT91_LINUXPATCH_SITE="http://maxim.org.za/AT91RM9200/2.6"
-BR2_TARGET_ATMEL_COPYTO="/tftpboot"
# BR2_TARGET_AT91BOOTSTRAP is not set
# BR2_TARGET_KWIKBYTE is not set
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
# Secondary locations
#
BR2_AT91_LINUXPATCH_SITE="http://maxim.org.za/AT91RM9200/2.6"
-BR2_TARGET_ATMEL_COPYTO="/tftpboot"
BR2_TARGET_AT91BOOTSTRAP=y
BR2_TARGET_AT91BOOTSTRAP_BOARD="at91sam9260ek"
# BR2_TARGET_AT91BOOT_DATAFLASH is not set
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
# Secondary locations
#
BR2_AT91_LINUXPATCH_SITE="http://maxim.org.za/AT91RM9200/2.6"
-BR2_TARGET_ATMEL_COPYTO="/tftpboot"
BR2_BOARD_PATH="target/device/Atmel/$(BR2_BOARD_NAME)"
# BR2_TARGET_UBOOT is not set
BR2_TARGET_AT91BOOTSTRAP=y
# Secondary locations
#
BR2_AT91_LINUXPATCH_SITE="http://maxim.org.za/AT91RM9200/2.6"
-BR2_TARGET_ATMEL_COPYTO="/tftpboot"
# BR2_TARGET_DATAFLASHBOOT is not set
BR2_TARGET_AT91BOOTSTRAP=y
BR2_TARGET_AT91BOOTSTRAP_BOARD="$(BOARD_NAME)"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
# Secondary locations
#
BR2_AT91_LINUXPATCH_SITE="http://maxim.org.za/AT91RM9200/2.6"
-BR2_TARGET_ATMEL_COPYTO="/tftpboot"
# BR2_TARGET_DATAFLASHBOOT is not set
# BR2_TARGET_AT91BOOTSTRAP is not set
# BR2_TARGET_KWIKBYTE is not set
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
# Secondary locations
#
BR2_AT91_LINUXPATCH_SITE="http://maxim.org.za/AT91RM9200/2.6"
-BR2_TARGET_ATMEL_COPYTO="/tftpboot"
# BR2_TARGET_DATAFLASHBOOT is not set
BR2_TARGET_AT91BOOTSTRAP=y
BR2_TARGET_AT91BOOTSTRAP_BOARD="$(BOARD_NAME)"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
# Secondary locations
#
BR2_AT91_LINUXPATCH_SITE="http://maxim.org.za/AT91RM9200/2.6"
-BR2_TARGET_ATMEL_COPYTO="/tftpboot"
BR2_TARGET_AT91BOOTSTRAP=y
BR2_TARGET_AT91BOOTSTRAP_BOARD="$(BOARD_NAME)"
# BR2_TARGET_AT91BOOT_DATAFLASH is not set
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
# Secondary locations
#
BR2_AT91_LINUXPATCH_SITE="http://maxim.org.za/AT91RM9200/2.6"
-BR2_TARGET_ATMEL_COPYTO="/tftpboot"
# BR2_TARGET_AT91BOOTSTRAP is not set
# BR2_TARGET_KWIKBYTE is not set
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
# Secondary locations
#
BR2_AT91_LINUXPATCH_SITE="http://maxim.org.za/AT91RM9200/2.6"
-BR2_TARGET_ATMEL_COPYTO="/tftpboot"
BR2_TARGET_AT91BOOTSTRAP=y
BR2_TARGET_AT91BOOTSTRAP_BOARD="$(BOARD_NAME)"
# BR2_TARGET_AT91BOOT_DATAFLASH is not set
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
# Secondary locations
#
BR2_AT91_LINUXPATCH_SITE="http://maxim.org.za/AT91RM9200/2.6"
-BR2_TARGET_ATMEL_COPYTO="/tftpboot"
BR2_TARGET_AT91BOOTSTRAP=y
BR2_TARGET_AT91BOOTSTRAP_BOARD="at91sam9g20ek"
# BR2_TARGET_AT91BOOT_DATAFLASH is not set
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
# Secondary locations
#
BR2_AT91_LINUXPATCH_SITE="http://maxim.org.za/AT91RM9200/2.6"
-BR2_TARGET_ATMEL_COPYTO="/tftpboot"
# BR2_TARGET_AT91BOOTSTRAP is not set
# BR2_TARGET_KWIKBYTE is not set
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
# Secondary locations
#
BR2_AT91_LINUXPATCH_SITE="http://maxim.org.za/AT91RM9200/2.6"
-BR2_TARGET_ATMEL_COPYTO="/tftpboot"
BR2_TARGET_AT91BOOTSTRAP=y
BR2_TARGET_AT91BOOTSTRAP_BOARD="at91sam9260ek"
# BR2_TARGET_AT91BOOT_DATAFLASH is not set
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
#
# Secondary locations
#
-BR2_TARGET_ATMEL_COPYTO=""
# BR2_TARGET_VALKA is not set
#
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
#
# Secondary locations
#
-BR2_TARGET_ATMEL_COPYTO=""
# BR2_TARGET_VALKA is not set
#
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
BR2_STAGING_DIR="$(BASE_DIR)/staging"
#
#
# Secondary locations
#
-BR2_TARGET_ATMEL_COPYTO=""
BR2_KERNEL_ARCH_PATCH_VERSION="2.6.27.6"
BR2_KERNEL_ARCH_PATCH_DIR="target/device/Atmel/arch-avr32/kernel-patches-$(BR2_KERNEL_ARCH_PATCH_VERSION)"
# BR2_TARGET_VALKA is not set
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
#
# Secondary locations
#
-BR2_TARGET_ATMEL_COPYTO="/tftpboot"
BR2_KERNEL_ARCH_PATCH_VERSION="2.6.27.6"
BR2_KERNEL_ARCH_PATCH_DIR="target/device/Atmel/arch-avr32/kernel-patches-$(BR2_KERNEL_ARCH_PATCH_VERSION)"
# BR2_TARGET_VALKA is not set
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
-BR2_COPYTO=""
#
# Mirrors and Download locations
to the Busybox configuration file</li>
<li><code>LINUX26_KCONFIG=<path/to/.config></code>, path
to the Linux kernel configuration file</li>
- <li><code>BUILDROOT_COPYTO</code>, an additional location to which
- the binary images of the root filesystem, kernel, etc. built by
- Buildroot are copied</li>
<li><code>BUILDROOT_DL_DIR</code> to override the directory in
which Buildroot stores/retrieves downloaded files</li>
</ul>
or <code>g++</code> for building helper-binaries on your host, then do</p>
<pre>
$ make HOSTCXX=g++-4.3-HEAD HOSTCC=gcc-4.3-HEAD
-</pre>
-
- <p>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</p>
- <p>Typically, this is set in your ~/.bashrc file
-
-<pre>
-$ export BUILDROOT_COPYTO=/tftpboot
</pre>
<h2><a name="custom_targetfs" id="custom_targetfs"></a>Customizing the
BR2_PACKAGE_LINUX_FORMAT:=$(call qstrip,$(BR2_PACKAGE_LINUX_FORMAT))
BR2_PACKAGE_LINUX_KCONFIG:=$(call qstrip,$(BR2_PACKAGE_LINUX_KCONFIG))
-
-# COPY_FILE absolute_path_to_file, target_directory, filename
-ifneq ($(call qstrip,$(BUILDROOT_COPYTO)),) # Use shell definition
-define COPY_FILE
- @echo "BUILDROOT_COPYTO: Copy to $(BUILDROOT_COPYTO)/$(strip $(3))" ; \
- mkdir -p $(BINARIES_DIR) || echo "Could not create $(BINARIES_DIR)" ; \
- if [ -w $(BINARIES_DIR) -o -w $(BINARIES_DIR) ] ; then \
- cp $(1) $(BINARIES_DIR)/$(strip $(3)) || echo "Could not copy $(3)" ; \
- fi ; \
- mkdir -p $(BUILDROOT_COPYTO) || echo "Could not create $(BUILDROOT_COPYTO)" ; \
- if [ -d $(BUILDROOT_COPYTO) -o -w $(BUILDROOT_COPYTO) ] ; then \
- cp $(1) $(BUILDROOT_COPYTO)/$(strip $(3)) || echo "Could not copy $(3)" ; \
- fi
-endef
-COPYTO=$(call qstrip,$(BUILDROOT_COPYTO))
-else
-ifneq ($(call qstrip,$(BR2_COPYTO)),) # Global override
-define COPY_FILE
- @echo "BR2_COPYTO: Copy to $(BR2_COPYTO)/$(strip $(3))" ; \
- mkdir -p $(BINARIES_DIR) || echo "Could not create $(BINARIES_DIR)" ; \
- if [ -w $(BINARIES_DIR) -o -w $(BINARIES_DIR) ] ; then \
- cp $(1) $(BINARIES_DIR)/$(strip $(3)) || echo "Could not copy $(3)" ; \
- fi ; \
- if [ "$(call qstrip,$(BR2_COPYTO))X" != "X" ] ; then \
- mkdir -p $(BR2_COPYTO) || echo "Could not create $(BR2_COPYTO)" ; \
- if [ -d $(BR2_COPYTO) -o -w $(BR2_COPYTO) ] ; then \
- cp $(1) $(BR2_COPYTO)/$(strip $(3)) || echo "Could not copy $(3)" ; \
- fi ; \
- fi
-endef
-COPYTO=$(call qstrip,$(BR2_COPYTO))
-else # Package specific copyto, or empty
-define COPY_FILE
- @echo "Copy to $(2)/$(strip $(3))" ; \
- mkdir -p $(BINARIES_DIR) || echo "Could not create $(BINARIES_DIR)" ; \
- if [ -w $(BINARIES_DIR) -o -w $(BINARIES_DIR) ] ; then \
- cp $(1) $(BINARIES_DIR)/$(strip $(3)) || echo "Could not copy $(3)" ; \
- fi ; \
- if [ "$(call qstrip,$(2))X" != "X" ] ; then \
- mkdir -p $(2) || echo "Could not create $(2)" ; \
- if [ -d $(2) -o -w $(2) ] ; then \
- cp $(1) $(2)/$(strip $(3)) || echo "Could not copy $(3)" ; \
- fi ; \
- fi
-endef
-endif
-endif
-
# make sure to put everything that is board-specific before the tarroot targets
include target/generic/Makefile.in
help
Main download location for AT91 Linux stuff
-config BR2_TARGET_ATMEL_COPYTO
- string "also copy the image to..."
- depends on BR2_TARGET_AT91 || BR2_TARGET_AVR32
- default "/tftpboot"
- help
- Copies the resulting image to a secondary location.
-
config BR2_BOARD_PATH
string "Atmel board repository"
depends on BR2_TARGET_AT91 || BR2_TARGET_AVR32
KERNEL_HEADERS_PATCH_DIR=target/device/Atmel/arch-avr32/kernel-headers-2.6.28.2
endif
-ifneq ($(COPYTO),)
-TARGET_ATMEL_COPYTO:=$(call qstrip,$(BR2_COPYTO))
-else
-TARGET_ATMEL_COPYTO:=$(call qstrip,$(BR2_TARGET_ATMEL_COPYTO))
-endif
-
# These are set by Config.in
DOWNLOAD_LINUX26_VERSION:= $(call qstrip,$(BR2_DOWNLOAD_LINUX26_VERSION))
ifeq ($(DOWNLOAD_LINUX26_VERSION),)