summaryrefslogtreecommitdiffstats
path: root/rules/at91bootstrap.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2011-03-17 13:44:49 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2011-03-22 10:55:06 +0100
commit5572500e93aa732de9cf2fea88bd3413043dbe96 (patch)
treefe3c7c5a3a9a0b295adc1a81a9a85b9abb8ade68 /rules/at91bootstrap.make
parentd9516adf38b4185bc6e9cfaf83f387c581b96ccc (diff)
downloadptxdist-5572500e93aa732de9cf2fea88bd3413043dbe96.tar.gz
ptxdist-5572500e93aa732de9cf2fea88bd3413043dbe96.tar.xz
at91bootstrap: bump version to 1.16
...and fix problem with image size of not using the atmel tools to flash the bootstrap. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/at91bootstrap.make')
-rw-r--r--rules/at91bootstrap.make13
1 files changed, 2 insertions, 11 deletions
diff --git a/rules/at91bootstrap.make b/rules/at91bootstrap.make
index eabbe224f..3bd4ef6d5 100644
--- a/rules/at91bootstrap.make
+++ b/rules/at91bootstrap.make
@@ -26,18 +26,9 @@ AT91BOOTSTRAP_SOURCE := $(SRCDIR)/$(AT91BOOTSTRAP_TARBALL)
AT91BOOTSTRAP_DIR := $(BUILDDIR)/$(AT91BOOTSTRAP)
# ----------------------------------------------------------------------------
-# Get
-# ----------------------------------------------------------------------------
-
-$(AT91BOOTSTRAP_SOURCE):
- @$(call targetinfo)
- @$(call get, AT91BOOTSTRAP)
-
-# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------
-AT91BOOTSTRAP_PATH := PATH=$(CROSS_PATH)
AT91BOOTSTRAP_ENV := CROSS_COMPILE=$(COMPILER_PREFIX)
AT91BOOTSTRAP_BOOTMEDIA-$(PTXCONF_AT91BOOTSTRAP_BOOT_DATAFLASH) += dataflash
@@ -67,7 +58,7 @@ $(STATEDIR)/at91bootstrap.install:
$(STATEDIR)/at91bootstrap.targetinstall:
@$(call targetinfo)
- @cp $(AT91BOOTSTRAP_BOARDDIR)/$(AT91BOOTSTRAP_BOOTMEDIA-y)_${PTXCONF_AT91BOOTSTRAP_CONFIG}.bin \
+ @install -m644 $(AT91BOOTSTRAP_BOARDDIR)/$(AT91BOOTSTRAP_BOOTMEDIA-y)_${PTXCONF_AT91BOOTSTRAP_CONFIG}.bin \
$(IMAGEDIR)/at91bootstrap.bin
@$(call touch)
@@ -78,6 +69,6 @@ $(STATEDIR)/at91bootstrap.targetinstall:
$(STATEDIR)/at91bootstrap.clean:
@$(call targetinfo)
@$(call clean_pkg, AT91BOOTSTRAP)
- @rm -rf $(IMAGEDIR)/at91bootstrap_*
+ @rm -rf $(IMAGEDIR)/at91bootstrap*
# vim: syntax=make