Date:2009-07-20 19:12:38 (10 years 10 months ago)
Author:Xiangfu Liu
Commit:f426319446b5834df4715d07c23a099cd7678c3d
Message:change the default usbboot.cfg path

Signed-off-by: Xiangfu Liu <xiangfu.z@gmail.com>
Files: usbboot/debian/rules (1 diff)
usbboot/src/Makefile.am (1 diff)
usbboot/src/main.c (1 diff)

Change Details

usbboot/debian/rules
7272    # Add here commands to install the package into debian/xburst-tools.
7373    $(MAKE) DESTDIR=$(CURDIR)/debian/xburst-tools install
7474
75    install -o root -g root -m 0644 doc/usbboot.cfg $(BUILDDIR)/etc/xburst-tools
76
77
7875# Build architecture-independent files here.
7976binary-indep: install
8077# We have nothing to do by default.
usbboot/src/Makefile.am
1313prefix = /usr
1414datadir = /usr/share/xburst-tools
1515data_DATA = ../xburst_stage1/xburst_stage1.bin \
16    ../xburst_stage2/xburst_stage2.bin \
17    usbboot.cfg
18EXTRA_DIST = $(datadir)
16    ../xburst_stage2/xburst_stage2.bin
17
18cfgdir = /etc/xburst-tools
19cfg_DATA = ../doc/usbboot.cfg
20
21EXTRA_DIST = $(datadir) $(cfgdir)
1922
2023../xburst_stage1/xburst_stage1.bin:
2124    $(MAKE) CROSS_COMPILE=mipsel-openwrt-linux- -C ../xburst_stage1
usbboot/src/main.c
2626#include "ingenic_usb.h"
2727#include "ingenic_cfg.h"
2828
29#define CONFIG_FILE_PATH "/usr/share/xburst-tools/usbboot.cfg"
29#define CONFIG_FILE_PATH "/etc/xburst-tools/usbboot.cfg"
3030
3131extern struct ingenic_dev ingenic_dev;
3232extern struct hand hand;

Archive Download the corresponding diff file



interactive