mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-01 16:25:20 +02:00
update Makefile and README
fix compile error. ZZy
This commit is contained in:
parent
e0de52c28c
commit
98a477152f
10
Makefile
10
Makefile
@ -30,7 +30,7 @@ DL_PATH=$(TOOLCHAIN_PATH)/dl
|
||||
INSTALL_PATH=install
|
||||
PATCHES_PATH=$(TOOLCHAIN_PATH)/patches
|
||||
GLIBC_PATCHES_PATH=$(PATCHES_PATH)/glibc
|
||||
USBBOOT_PATH=usbboot
|
||||
USBBOOT_PATH=usb-boot
|
||||
USBBOOT_STAGE1_PATH=$(USBBOOT_PATH)/stage1
|
||||
USBBOOT_STAGE2_PATH=$(USBBOOT_PATH)/stage2
|
||||
|
||||
@ -145,13 +145,13 @@ u-boot:
|
||||
make
|
||||
|
||||
### usbboot
|
||||
.PHONY: usbboot
|
||||
usbboot: usbboot-tools usbboot-stage
|
||||
.PHONY: usb-boot
|
||||
usb-boot: flash-tool usb-boot-stage
|
||||
|
||||
usbboot-tools: usbboot-stage
|
||||
flash-tool: usb-boot-stage
|
||||
make -C flash-tool
|
||||
|
||||
usbboot-stage:
|
||||
usb-boot-stage:
|
||||
make -C $(USBBOOT_STAGE1_PATH)
|
||||
make -C $(USBBOOT_STAGE2_PATH)
|
||||
|
||||
|
@ -1,2 +1,4 @@
|
||||
inflash tools: flash image(linke u-Boot, kernel) to PI.
|
||||
|
||||
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
|
||||
|
@ -197,8 +197,7 @@ int command_handle(char *buf)
|
||||
break;
|
||||
default:
|
||||
printf("\n Command not support!");
|
||||
result = -1;
|
||||
break;
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user