mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2025-04-21 12:27:27 +03:00
[flash tool] change the default data path
This commit is contained in:
@@ -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)
|
||||
@@ -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);
|
||||
|
||||
@@ -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]))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user