1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-26 19:35:20 +02:00

add usbboot stage1 stage2 to Makefile

This commit is contained in:
xiangfu 2009-04-07 07:53:37 +00:00
parent 6b95584211
commit 16853c48af

View File

@ -34,6 +34,9 @@ DL_PATH=$(TOOLCHAIN_PATH)/dl
INSTALL_PATH=install INSTALL_PATH=install
PATCHES_PATH=$(TOOLCHAIN_PATH)/patches PATCHES_PATH=$(TOOLCHAIN_PATH)/patches
GLIBC_PATCHES_PATH=$(PATCHES_PATH)/glibc 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_PACKAGE=$(BINUTILS_VER).tar.bz2
BINUTILS_URL= \ BINUTILS_URL= \
@ -147,6 +150,16 @@ u-boot:
make pavo_nand_config && \ make pavo_nand_config && \
make make
### usbboot
.PHONY: usbboot
usbboot: usbboot-tools usbboot-stage
usbboot-tools:
usbboot-stage:
make -C $(USBBOOT_STAGE1_PATH)
make -C $(USBBOOT_STAGE2_PATH)
### kernel ### kernel
.PHONY: kernel .PHONY: kernel
kernel: kernel:
@ -162,7 +175,7 @@ kernel:
distclean: clean clean-toolchain distclean: clean clean-toolchain
clean: clean: clean-u-boot
clean-toolchain: clean-glibc clean-toolchain: clean-glibc
rm -rf $(TOOLCHAIN_PATH)/$(BINUTILS_VER) binutils rm -rf $(TOOLCHAIN_PATH)/$(BINUTILS_VER) binutils