summaryrefslogtreecommitdiffstats
path: root/rules/u-boot.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-12-25 14:01:19 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-12-26 14:35:11 +0100
commit2e86ea739048c1041e004c702b296235c88de86a (patch)
treef381ce4cac16781811257040750d3fb9b9acc13d /rules/u-boot.make
parent099b9e30003f009911336f9f6d3cd3195e6f65ff (diff)
downloadptxdist-2e86ea739048c1041e004c702b296235c88de86a.tar.gz
ptxdist-2e86ea739048c1041e004c702b296235c88de86a.tar.xz
[u-boot] just cleanups
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/u-boot.make')
-rw-r--r--rules/u-boot.make25
1 files changed, 4 insertions, 21 deletions
diff --git a/rules/u-boot.make b/rules/u-boot.make
index c55e51eee..0159c2c49 100644
--- a/rules/u-boot.make
+++ b/rules/u-boot.make
@@ -1,7 +1,7 @@
# -*-makefile-*-
-# $Id: u-boot.make,v 1.5 2007-07-03 13:29:45 michl Exp $
#
# Copyright (C) 2007 by Sascha Hauer
+# 2009 by Marc Kleine-Budde <mkl@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
@@ -20,7 +20,7 @@ PACKAGES-$(PTXCONF_U_BOOT) += u-boot
U_BOOT_VERSION := $(call remove_quotes,$(PTXCONF_U_BOOT_VERSION))
U_BOOT := u-boot-$(U_BOOT_VERSION)
U_BOOT_SUFFIX := tar.bz2
-U_BOOT_URL := ftp://ftp.denx.de/pub/u-boot//$(U_BOOT).$(U_BOOT_SUFFIX)
+U_BOOT_URL := ftp://ftp.denx.de/pub/u-boot/$(U_BOOT).$(U_BOOT_SUFFIX)
U_BOOT_SOURCE := $(SRCDIR)/$(U_BOOT).$(U_BOOT_SUFFIX)
U_BOOT_DIR := $(BUILDDIR)/$(U_BOOT)
@@ -38,11 +38,7 @@ $(U_BOOT_SOURCE):
U_BOOT_PATH := PATH=$(CROSS_PATH)
U_BOOT_ENV := CROSS_COMPILE=$(COMPILER_PREFIX)
-
-#
-# autoconf
-#
-U_BOOT_AUTOCONF := $(CROSS_AUTOCONF_USR)
+U_BOOT_MAKE_PAR := NO
$(STATEDIR)/u-boot.prepare:
@$(call targetinfo)
@@ -52,18 +48,6 @@ $(STATEDIR)/u-boot.prepare:
@$(call touch)
# ----------------------------------------------------------------------------
-# Compile
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/u-boot.compile:
- @$(call targetinfo)
-# release 1.2.0 seems not be able to massive build in parallel
- @cd $(U_BOOT_DIR) && \
- $(U_BOOT_PATH) $(U_BOOT_ENV) \
- $(MAKE) $(PARALLELMFLAGS_BROKEN)
- @$(call touch)
-
-# ----------------------------------------------------------------------------
# Install
# ----------------------------------------------------------------------------
@@ -77,9 +61,7 @@ $(STATEDIR)/u-boot.install:
$(STATEDIR)/u-boot.targetinstall:
@$(call targetinfo)
-
@install -D -m644 $(U_BOOT_DIR)/u-boot.bin $(IMAGEDIR)/u-boot.bin
-
@$(call touch)
# ----------------------------------------------------------------------------
@@ -89,6 +71,7 @@ $(STATEDIR)/u-boot.targetinstall:
u-boot_clean:
@rm -rf $(STATEDIR)/u-boot.*
@rm -rf $(PKGDIR)/u-boot_*
+ @rm -rf $(IMAGEDIR)/u-boot.bin
@rm -rf $(U_BOOT_DIR)
# vim: syntax=make