bzcat => $(BZCAT) for u-boot and at91bootstrap
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Wed, 22 Aug 2007 21:53:13 +0000 (21:53 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Wed, 22 Aug 2007 21:53:13 +0000 (21:53 -0000)
target/device/Atmel/at91bootstrap/at91bootstrap.mk
target/device/Atmel/u-boot/u-boot.mk

index 5faef41755e87dcce951611c069b59e505e7684a..3f7653fa4bc881e3d7d1d07e6b5ed9be0527b6aa 100644 (file)
@@ -14,7 +14,7 @@ AT91BOOTSTRAP_SOURCE:=$(AT91BOOTSTRAP_NAME).tar.bz2
 AT91BOOTSTRAP_DIR:=$(PROJECT_BUILD_DIR)/$(AT91BOOTSTRAP_NAME)
 AT91BOOTSTRAP:=$(strip $(subst ",, $(BR2_AT91BOOTSTRAP)))
 #"))
-AT91BOOTSTRAP_ZCAT:=bzcat
+AT91BOOTSTRAP_ZCAT:=$(BZCAT)
 
 AT91BOOTSTRAP_MEMORY:=$(strip $(subst ",, $(BR2_TARGET_AT91BOOTSTRAP_MEMORY)))
 #"))
@@ -24,7 +24,9 @@ AT91BOOTSTRAP_BINARY:=$(BOARD_NAME)-$(AT91BOOTSTRAP_MEMORY)boot-$(AT91BOOTSTRAP_
 AT91BOOTSTRAP_TARGET:=$(AT91BOOTSTRAP_DIR)/binaries/$(AT91BOOTSTRAP_BINARY)
 
 AT91BOOTSTRAP_JUMP_ADDR:=$(strip $(subst ",, $(BR2_AT91BOOTSTRAP_JUMP_ADDR)))
+#"))
 AT91BOOTSTRAP_IMG_SIZE:=$(strip $(subst ",, $(BR2_AT91BOOTSTRAP_IMG_SIZE)))
+#"))
 
 AT91_CUSTOM_FLAGS:=
 ifneq ($(AT91BOOTSTRAP_JUMP_ADDR),)
@@ -43,8 +45,6 @@ $(AT91BOOTSTRAP_DIR)/.unpacked: $(DL_DIR)/$(AT91BOOTSTRAP_SOURCE)
        toolchain/patch-kernel.sh $(AT91BOOTSTRAP_DIR) target/device/Atmel/at91bootstrap/ at91bootstrap\*.patch
        touch $(AT91BOOTSTRAP_DIR)/.unpacked
 
-atbu: $(AT91BOOTSTRAP_DIR)/.unpacked
-
 $(AT91BOOTSTRAP_DIR)/.configured: $(AT91BOOTSTRAP_DIR)/.unpacked .config
        $(MAKE) \
                MEMORY=$(AT91BOOTSTRAP_MEMORY) \
@@ -71,6 +71,8 @@ at91bootstrap: $(BINARIES_DIR)/$(AT91BOOTSTRAP_BINARY)
 
 at91bootstrap-source: $(DL_DIR)/$(AT91BOOTSTRAP_SOURCE)
 
+at91bootstrap-unpacked: $(AT91BOOTSTRAP_DIR)/.unpacked
+
 .PHONY: at91bootstrap-clean at91bootstrap-dirclean
 
 at91bootstrap-clean:
index 5bd1ce2785c52c0274bc9600b74a7c4bc9bb4781..451490a51de43384c763ebe5bb8a5e0d4c4ef48e 100644 (file)
@@ -17,7 +17,7 @@ UBOOT_SOURCE:=u-boot-$(UBOOT_VERSION).tar.bz2
 #UBOOT_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/sourceforge/u-boot
 UBOOT_SITE:=$(ATMEL_MIRROR)/Source
 UBOOT_PATCH_SITE:=$(ATMEL_MIRROR)/Source
-UBOOT_CAT:=bzcat
+UBOOT_CAT:=$(BZCAT)
 UBOOT_PATCH_SOURCE:=u-boot-1.2.0-atmel-patch.tar.bz2
 
 MKIMAGE_BINLOC:=$(UBOOT_BUILD_DIR)/tools/mkimage