From 16853c48afba065582f8d17e208b4d9e0553211e Mon Sep 17 00:00:00 2001 From: xiangfu Date: Tue, 7 Apr 2009 07:53:37 +0000 Subject: [PATCH] add usbboot stage1 stage2 to Makefile --- Makefile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 7c54c5e..3f75bf8 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,9 @@ DL_PATH=$(TOOLCHAIN_PATH)/dl INSTALL_PATH=install PATCHES_PATH=$(TOOLCHAIN_PATH)/patches GLIBC_PATCHES_PATH=$(PATCHES_PATH)/glibc +USBBOOT_PATH=usbboot +USBBOOT_STAGE1_PATH=$(USBBOOT_PATH)/stage1 +USBBOOT_STAGE2_PATH=$(USBBOOT_PATH)/stage2 BINUTILS_PACKAGE=$(BINUTILS_VER).tar.bz2 BINUTILS_URL= \ @@ -147,6 +150,16 @@ u-boot: make pavo_nand_config && \ make +### usbboot +.PHONY: usbboot +usbboot: usbboot-tools usbboot-stage + +usbboot-tools: + +usbboot-stage: + make -C $(USBBOOT_STAGE1_PATH) + make -C $(USBBOOT_STAGE2_PATH) + ### kernel .PHONY: kernel kernel: @@ -162,7 +175,7 @@ kernel: distclean: clean clean-toolchain -clean: +clean: clean-u-boot clean-toolchain: clean-glibc rm -rf $(TOOLCHAIN_PATH)/$(BINUTILS_VER) binutils