mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-01 18:22:28 +02:00
add usbboot stage1 stage2 to Makefile
This commit is contained in:
parent
6b95584211
commit
16853c48af
15
Makefile
15
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user