1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-23 05:23:43 +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:
xiangfu 2009-04-28 18:32:37 +00:00
parent 98a477152f
commit 1bfa9f79c0

View File

@ -18,7 +18,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, # Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA # Boston, MA 02110-1301, USA
BINUTILS_VER=binutils-2.17 BINUTILS_VER=binutils-2.17
GCC_VER=gcc-4.1.2 GCC_VER=gcc-4.1.2
GLIBC_VER=glibc-2.6.1 GLIBC_VER=glibc-2.6.1
@ -58,10 +57,8 @@ else
BUILD_CC="gcc" BUILD_CC="gcc"
endif endif
toolchain: binutils gcc glibc toolchain: binutils gcc glibc
### misc ### misc
$(DL_PATH): $(DL_PATH):
@ -144,7 +141,7 @@ u-boot:
make pi_config && \ make pi_config && \
make make
### usbboot ### usb-boot
.PHONY: usb-boot .PHONY: usb-boot
usb-boot: flash-tool usb-boot-stage usb-boot: flash-tool usb-boot-stage
@ -168,6 +165,10 @@ kernel:
distclean: clean clean-toolchain distclean: clean clean-toolchain
clean: 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 clean-toolchain: clean-glibc
rm -rf $(TOOLCHAIN_PATH)/$(BINUTILS_VER) binutils rm -rf $(TOOLCHAIN_PATH)/$(BINUTILS_VER) binutils