aboutsummaryrefslogtreecommitdiff
path: root/ubi-utils/Makefile
diff options
context:
space:
mode:
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-01-18 14:01:04 +0200
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2008-01-18 14:04:15 +0200
commitc842430437cbf2e584994c8eba71bf29bab6cdfc (patch)
tree74db9d2fd6d711ccffe104386ddab9055fc38f14 /ubi-utils/Makefile
parent5d048c343fa24e33741ee4e921650f77ab510f81 (diff)
ubi-utils: move various stuff to sort-me-out
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'ubi-utils/Makefile')
-rw-r--r--ubi-utils/Makefile14
1 files changed, 4 insertions, 10 deletions
diff --git a/ubi-utils/Makefile b/ubi-utils/Makefile
index 68fe0fb..e425d6a 100644
--- a/ubi-utils/Makefile
+++ b/ubi-utils/Makefile
@@ -15,7 +15,7 @@ CFLAGS := -I./inc -I./src -I$(KERNELHDR) $(OPTFLAGS) -Werror \
PERLPROGS = mkpfi ubicrc32.pl
TARGETS = ubiupdate ubimkvol ubirmvol pfiflash pddcustomize ubimirror \
- bin2nand nand2bin mkbootenv unubi pfi2bin ubicrc32 ubinfo \
+ mkbootenv unubi pfi2bin ubicrc32 ubinfo \
ubiattach ubidetach
vpath %.c ./src
@@ -55,6 +55,9 @@ ubimkvol: ubimkvol.o common.o libubi.o
ubirmvol: ubirmvol.o common.o libubi.o
$(CC) $(LDFLAGS) -o $@ $^
+ubicrc32: ubicrc32.o crc32.o
+ $(CC) $(LDFLAGS) -o $@ $^
+
pddcustomize: pddcustomize.o error.o libubimirror.o bootenv.o hashmap.o \
libubi.o crc32.o
$(CC) $(LDFLAGS) -o $@ $^
@@ -67,12 +70,6 @@ ubimirror: ubimirror.o error.o libubimirror.o bootenv.o hashmap.o \
libubi.o crc32.o
$(CC) $(LDFLAGS) -o $@ $^
-nand2bin: nand2bin.o nandecc.o nandcorr.o
- $(CC) $(LDFLAGS) -o $@ $^
-
-bin2nand: bin2nand.o error.o nandecc.o
- $(CC) $(LDFLAGS) -o $@ $^
-
mkbootenv: mkbootenv.o bootenv.o hashmap.o error.o crc32.o
$(CC) $(LDFLAGS) -o $@ $^
@@ -83,9 +80,6 @@ pfi2bin: pfi2bin.o peb.o error.o list.o crc32.o libubigen.o bootenv.o \
hashmap.o reader.o pfi.o
$(CC) $(LDFLAGS) -o $@ $^
-ubicrc32: ubicrc32.o crc32.o
- $(CC) $(LDFLAGS) -o $@ $^
-
install: ${TARGETS}
mkdir -p ${DESTDIR}/${SBINDIR}
install -m0755 ${TARGETS} ${DESTDIR}/${SBINDIR}/