mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-26 14:12:28 +02:00
add make clean.
now we can "make usb-boot" to get all usb-boot needs. *now we must put "fw.bin", "usb_boot.bin" and "inflash" in the same directory
This commit is contained in:
parent
98a477152f
commit
1bfa9f79c0
9
Makefile
9
Makefile
@ -18,7 +18,6 @@
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
||||
# Boston, MA 02110-1301, USA
|
||||
|
||||
|
||||
BINUTILS_VER=binutils-2.17
|
||||
GCC_VER=gcc-4.1.2
|
||||
GLIBC_VER=glibc-2.6.1
|
||||
@ -58,10 +57,8 @@ else
|
||||
BUILD_CC="gcc"
|
||||
endif
|
||||
|
||||
|
||||
toolchain: binutils gcc glibc
|
||||
|
||||
|
||||
### misc
|
||||
|
||||
$(DL_PATH):
|
||||
@ -144,7 +141,7 @@ u-boot:
|
||||
make pi_config && \
|
||||
make
|
||||
|
||||
### usbboot
|
||||
### usb-boot
|
||||
.PHONY: usb-boot
|
||||
usb-boot: flash-tool usb-boot-stage
|
||||
|
||||
@ -168,6 +165,10 @@ kernel:
|
||||
distclean: clean clean-toolchain
|
||||
|
||||
clean:
|
||||
make clean -C flash-tool
|
||||
make clean -C $(USBBOOT_STAGE1_PATH)
|
||||
make clean -C $(USBBOOT_STAGE2_PATH)
|
||||
rm flash-tool/*.bin
|
||||
|
||||
clean-toolchain: clean-glibc
|
||||
rm -rf $(TOOLCHAIN_PATH)/$(BINUTILS_VER) binutils
|
||||
|
Loading…
Reference in New Issue
Block a user