1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-23 05:57:10 +02:00

update Makefile and README

fix compile error. ZZy
This commit is contained in:
xiangfu 2009-04-28 18:22:12 +00:00
parent e0de52c28c
commit 98a477152f
3 changed files with 9 additions and 8 deletions

View File

@ -30,7 +30,7 @@ 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_PATH=usb-boot
USBBOOT_STAGE1_PATH=$(USBBOOT_PATH)/stage1 USBBOOT_STAGE1_PATH=$(USBBOOT_PATH)/stage1
USBBOOT_STAGE2_PATH=$(USBBOOT_PATH)/stage2 USBBOOT_STAGE2_PATH=$(USBBOOT_PATH)/stage2
@ -145,13 +145,13 @@ u-boot:
make make
### usbboot ### usbboot
.PHONY: usbboot .PHONY: usb-boot
usbboot: usbboot-tools usbboot-stage usb-boot: flash-tool usb-boot-stage
usbboot-tools: usbboot-stage flash-tool: usb-boot-stage
make -C flash-tool make -C flash-tool
usbboot-stage: usb-boot-stage:
make -C $(USBBOOT_STAGE1_PATH) make -C $(USBBOOT_STAGE1_PATH)
make -C $(USBBOOT_STAGE2_PATH) make -C $(USBBOOT_STAGE2_PATH)

View File

@ -1,2 +1,4 @@
inflash tools: flash image(linke u-Boot, kernel) to PI.
to compile this program you need: to compile this program you need:
sudo apt-get install libusb-dev libconfuse-dev On Debian and Ubuntu, you'll need libusb-dev: sudo apt-get install libusb-dev libconfuse-dev

View File

@ -197,8 +197,7 @@ int command_handle(char *buf)
break; break;
default: default:
printf("\n Command not support!"); printf("\n Command not support!");
result = -1; return -1;
break;
} }
return 1; return 1;