mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-12-27 08:02:59 +02:00
change the default usbboot.cfg path
Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
This commit is contained in:
parent
80410aaadb
commit
f426319446
@ -72,9 +72,6 @@ install: build
|
||||
# Add here commands to install the package into debian/xburst-tools.
|
||||
$(MAKE) DESTDIR=$(CURDIR)/debian/xburst-tools install
|
||||
|
||||
install -o root -g root -m 0644 doc/usbboot.cfg $(BUILDDIR)/etc/xburst-tools
|
||||
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: install
|
||||
# We have nothing to do by default.
|
||||
|
@ -13,9 +13,12 @@ usbboot_SOURCES = cmd.c command_line.c ingenic_cfg.c \
|
||||
prefix = /usr
|
||||
datadir = /usr/share/xburst-tools
|
||||
data_DATA = ../xburst_stage1/xburst_stage1.bin \
|
||||
../xburst_stage2/xburst_stage2.bin \
|
||||
usbboot.cfg
|
||||
EXTRA_DIST = $(datadir)
|
||||
../xburst_stage2/xburst_stage2.bin
|
||||
|
||||
cfgdir = /etc/xburst-tools
|
||||
cfg_DATA = ../doc/usbboot.cfg
|
||||
|
||||
EXTRA_DIST = $(datadir) $(cfgdir)
|
||||
|
||||
../xburst_stage1/xburst_stage1.bin:
|
||||
$(MAKE) CROSS_COMPILE=mipsel-openwrt-linux- -C ../xburst_stage1
|
||||
|
@ -26,7 +26,7 @@
|
||||
#include "ingenic_usb.h"
|
||||
#include "ingenic_cfg.h"
|
||||
|
||||
#define CONFIG_FILE_PATH "/usr/share/xburst-tools/usbboot.cfg"
|
||||
#define CONFIG_FILE_PATH "/etc/xburst-tools/usbboot.cfg"
|
||||
|
||||
extern struct ingenic_dev ingenic_dev;
|
||||
extern struct hand hand;
|
||||
|
Loading…
Reference in New Issue
Block a user