target: get rid of unused BR2_COPYTO / BR2_TARGET_ATMEL_COPYTO

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard 2010-06-22 17:41:34 +02:00
parent 7d07f3c1ab
commit b10197dcf2
30 changed files with 0 additions and 125 deletions

View File

@ -81,13 +81,6 @@ config BR2_DL_DIR
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"

View File

@ -117,7 +117,6 @@ BR2_TARGET_AT91_ADVANCED_INFO=y
# 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
@ -139,7 +138,6 @@ BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -117,7 +117,6 @@ BR2_TARGET_AT91_ADVANCED_INFO=y
# 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
@ -144,7 +143,6 @@ BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -117,7 +117,6 @@ BR2_TARGET_AT91_ADVANCED_INFO=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_KWIKBYTE is not set
@ -139,7 +138,6 @@ BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -117,7 +117,6 @@ BR2_TARGET_AT91_ADVANCED_INFO=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_AT91BOOT_DATAFLASH is not set
# BR2_TARGET_AT91BOOT_DATAFLASHCARD is not set
@ -150,7 +149,6 @@ BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -116,7 +116,6 @@ BR2_TARGET_AT91_ADVANCED_INFO=y
# 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
@ -157,7 +156,6 @@ BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -117,7 +117,6 @@ BR2_TARGET_AT91_ADVANCED_INFO=y
# 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
@ -139,7 +138,6 @@ BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -117,7 +117,6 @@ BR2_TARGET_AT91_ADVANCED_INFO=y
# 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
@ -158,7 +157,6 @@ BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -618,7 +618,6 @@ BR2_TARGET_AT91_ADVANCED_INFO=y
# 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

View File

@ -118,7 +118,6 @@ BR2_TARGET_AT91SAM9261EK_SPIMODE0=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)"
@ -160,7 +159,6 @@ BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -119,7 +119,6 @@ BR2_TARGET_AT91_ADVANCED_INFO=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 is not set
# BR2_TARGET_KWIKBYTE is not set
@ -142,7 +141,6 @@ BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -119,7 +119,6 @@ BR2_TARGET_AT91SAM9261EK_SPIMODE0=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)"
@ -161,7 +160,6 @@ BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -117,7 +117,6 @@ BR2_TARGET_AT91SAM9263EK=y
# 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
@ -158,7 +157,6 @@ BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -119,7 +119,6 @@ BR2_TARGET_AT91_ADVANCED_INFO=y
# 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
@ -141,7 +140,6 @@ BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -119,7 +119,6 @@ BR2_TARGET_AT91_ADVANCED_INFO=y
# 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
@ -160,7 +159,6 @@ BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -117,7 +117,6 @@ BR2_TARGET_AT91SAM9G20DFC=y
# 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
@ -158,7 +157,6 @@ BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -117,7 +117,6 @@ BR2_TARGET_AT91_ADVANCED_INFO=y
# 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
@ -139,7 +138,6 @@ BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -117,7 +117,6 @@ BR2_TARGET_AT91_ADVANCED_INFO=y
# 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
@ -158,7 +157,6 @@ BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -68,7 +68,6 @@ BR2_TARGET_AVR32_ATNGW100_BASE=y
#
# Secondary locations
#
BR2_TARGET_ATMEL_COPYTO=""
# BR2_TARGET_VALKA is not set
#
@ -92,7 +91,6 @@ BR2_ZCAT="zcat"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -59,7 +59,6 @@ BR2_TARGET_AVR32_ATNGW100=y
#
# Secondary locations
#
BR2_TARGET_ATMEL_COPYTO=""
# BR2_TARGET_VALKA is not set
#
@ -79,7 +78,6 @@ BR2_ZCAT="zcat"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
BR2_STAGING_DIR="$(BASE_DIR)/staging"
#

View File

@ -67,7 +67,6 @@ BR2_TARGET_AVR32_ATSTK1005=y
#
# 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
@ -90,7 +89,6 @@ BR2_ZCAT="zcat"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -68,7 +68,6 @@ BR2_TARGET_AVR32_ATSTK1002=y
#
# 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
@ -91,7 +90,6 @@ BR2_ZCAT="zcat"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -92,7 +92,6 @@ BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -92,7 +92,6 @@ BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -88,7 +88,6 @@ BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -88,7 +88,6 @@ BR2_ZCAT="gzip -d -c"
BR2_BZCAT="bzcat"
BR2_TAR_OPTIONS=""
BR2_DL_DIR="$(TOPDIR)/dl"
BR2_COPYTO=""
#
# Mirrors and Download locations

View File

@ -302,9 +302,6 @@ or
to the Busybox configuration file</li>
<li><code>LINUX26_KCONFIG=&lt;path/to/.config&gt;</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>
@ -319,15 +316,6 @@ $ make UCLIBC_CONFIG_FILE=uClibc.config BUSYBOX_CONFIG_FILE=$HOME/bb.config
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

View File

@ -1,54 +1,6 @@
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

View File

@ -50,13 +50,6 @@ config BR2_AT91_LINUXPATCH_SITE
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

View File

@ -14,12 +14,6 @@ ifeq ($(BR2_avr32),y)
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),)