1
0
mirror of git://projects.qi-hardware.com/xburst-tools.git synced 2024-11-26 07:03:43 +02:00

[flash tool] change the default data path

This commit is contained in:
xiangfu 2009-06-24 01:28:57 +00:00
parent cea37ab2e9
commit cc128ff127
4 changed files with 6 additions and 4 deletions

View File

@ -9,7 +9,9 @@ BUILT_SOURCES = inflash_version.h
bin_PROGRAMS = inflash
inflash_SOURCES = cmd.c command_line.c ingenic_cfg.c \
ingenic_usb.c main.c
prefix = /usr
datadir = /usr/share/inflash
data_DATA = ../device_stage1/fw.bin ../device_stage2/usb_boot.bin
data_DATA = ../device_stage1/fw.bin ../device_stage2/usb_boot.bin \
usb_boot.cfg
EXTRA_DIST = $(datadir)

View File

@ -24,7 +24,7 @@
#include "usb_boot_defines.h"
#define CONFIG_FILE_PATH "usb_boot.cfg"
#define CONFIG_FILE_PATH "/usr/share/inflash/usb_boot.cfg"
int hand_init_def(struct hand *hand);
int check_dump_cfg(struct hand *hand);

View File

@ -47,8 +47,8 @@
#define VENDOR_ID 0x601a
#define PRODUCT_ID 0x4740
#define STAGE1_FILE_PATH "fw.bin"
#define STAGE2_FILE_PATH "usb_boot.bin"
#define STAGE1_FILE_PATH "/usr/share/inflash/fw.bin"
#define STAGE2_FILE_PATH "/usr/share/inflash/usb_boot.bin"
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))