1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2025-04-21 12:27:27 +03:00

[usbboot] use autoconf datadir not static path

This commit is contained in:
Xiangfu Liu
2010-02-25 13:13:58 +08:00
parent bf8a822136
commit d8105c6d2e
3 changed files with 7 additions and 6 deletions

View File

@@ -51,8 +51,8 @@
#define VENDOR_ID 0x601a
#define PRODUCT_ID 0x4740
#define STAGE1_FILE_PATH "/usr/share/xburst-tools/xburst_stage1.bin"
#define STAGE2_FILE_PATH "/usr/share/xburst-tools/xburst_stage2.bin"
#define STAGE1_FILE_PATH (DATADIR "xburst_stage1.bin")
#define STAGE2_FILE_PATH (DATADIR "xburst_stage2.bin")
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))