From 5db0545e2858da5f79d6461544f94c88f6bf7af9 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Sat, 17 Jul 2010 10:04:56 +0300 Subject: libs: remove ubiutils-specific stuff from common.h Now include/common.h contains things that really everyone can use. And all the stuff specific to ubi-utils is in ubi-utils/include/ubiutils-common.h Signed-off-by: Artem Bityutskiy --- ubi-utils/Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ubi-utils/Makefile') diff --git a/ubi-utils/Makefile b/ubi-utils/Makefile index 327d2d7..bfebee5 100644 --- a/ubi-utils/Makefile +++ b/ubi-utils/Makefile @@ -18,9 +18,9 @@ LDLIBS = -L$(BUILDDIR)/../lib -lmtd include ../common.mk -# And the below is the rule to get final executable from its .o and common.o +# And the below is the rule to get final executable from its .o and ubiutils-common.o $(TARGETS): $(addprefix $(BUILDDIR)/,\ - libubi.a common.o) + libubi.a ubiutils-common.o) # $(CC) $(CFLAGS) $(filter %.o, $^) -L. -lubi -o $@ $(BUILDDIR)/ubicrc32: $(addprefix $(BUILDDIR)/,\ @@ -28,15 +28,15 @@ $(BUILDDIR)/ubicrc32: $(addprefix $(BUILDDIR)/,\ # $(CC) $(CFLAGS) -o $@ $^ $(BUILDDIR)/ubinize: $(addprefix $(BUILDDIR)/,\ - ubinize.o common.o libiniparser.a libubigen.a) + ubinize.o ubiutils-common.o libiniparser.a libubigen.a) # $(CC) $(CFLAGS) $(filter %.o, $^) -L. -liniparser -lubigen -o $@ $(BUILDDIR)/mtdinfo: $(addprefix $(BUILDDIR)/,\ - libubigen.a common.o) + libubigen.a ubiutils-common.o) # $(CC) $(CFLAGS) $(filter %.o, $^) -L. -lmtd -lubigen -o $@ $(BUILDDIR)/ubiformat: $(addprefix $(BUILDDIR)/,\ - ubiformat.o common.o libscan.a libubi.a libubigen.a) + ubiformat.o ubiutils-common.o libscan.a libubi.a libubigen.a) # $(CC) $(CFLAGS) $(filter %.o, $^) -L. -lmtd -lscan -lubi -lubigen -o $@ $(BUILDDIR)/libubi.a: $(BUILDDIR)/libubi.o -- cgit v1.2.3