summaryrefslogtreecommitdiff
path: root/application/boottable
diff options
context:
space:
mode:
authorJoachim Naulet2008-11-04 14:49:02 +0100
committerJoachim Naulet2008-11-04 14:49:02 +0100
commitc17622b0f8a64b1d0a1aea1d53c3ebf10daff9df (patch)
tree31f9261ddc2dc98290c82883071d00378fb7a6e1 /application/boottable
parentcfd0e444f639ba39b9dff29b258d978a49e32a49 (diff)
Checked all packages dependencies
Diffstat (limited to 'application/boottable')
-rw-r--r--application/boottable/Makefile5
-rw-r--r--application/boottable/bt.c12
2 files changed, 9 insertions, 8 deletions
diff --git a/application/boottable/Makefile b/application/boottable/Makefile
index b3d7aefd52..900be34b5f 100644
--- a/application/boottable/Makefile
+++ b/application/boottable/Makefile
@@ -6,6 +6,7 @@ LIB=boottable.a
BT=bt
OBJ=commands_linux.o posix_crc.o image_table_linux.o mtd_part.o
+BT_OBJ=commands.o bt.o
TOPDIR=../..
APP_DIR=$(TOPDIR)/application
@@ -20,8 +21,8 @@ LDFLAGS= -msoft-float -march=armv5 -Wl,-elf2flt='-z -s 16k'
all: $(LIB) #$(BT)
-$(BT): $(LIB) $(BT).o
- $(CC) -o $@ $(BT).o $(LDFLAGS) $(LIB) -lpthread $(APP_DIR)/mib/mib.a -lpthread
+$(BT): $(LIB) $(BT_OBJ)
+ $(CC) -o $@ $(BT_OBJ) $(LDFLAGS) $(LIB) -lpthread $(APP_DIR)/mib/mib.a -lpthread
$(LIB): $(OBJ)
$(AR) -rcs $@ $(OBJ)
diff --git a/application/boottable/bt.c b/application/boottable/bt.c
index f572b6b6e3..f96935e1c3 100644
--- a/application/boottable/bt.c
+++ b/application/boottable/bt.c
@@ -31,27 +31,27 @@ int main(int argc, char **argv)
bt_init(1,NULL);
if (!strcmp(argv[1],"images")) {
- boottable_images(argc,argv);
+ images(argc,argv);
goto OK;
}
if (!strcmp(argv[1],"rename")) {
- boottable_bootrename(argc-1,&argv[1]);
+ bootrename(argc-1,&argv[1]);
goto OK;
}
if (!strcmp(argv[1],"erase")) {
- boottable_erase(argv[1]);
+ erase(argv[1]);
goto OK;
}
if (!strcmp(argv[1],"select")) {
- boottable_bootSelect(argc-1,&argv[1]);
+ bootSelect(argc-1,&argv[1]);
goto OK;
}
if (!strcmp(argv[1],"setup")) {
- boottable_setup(argc-1,&argv[1]);
+ setup(argc-1,&argv[1]);
goto OK;
}
if (!strcmp(argv[1],"create")) {
- boottable_create(argc-1,&argv[1]);
+ create(argc-1,&argv[1]);
goto OK;
}
printf("Invalid parameter :\n");