summaryrefslogtreecommitdiff
path: root/tests/fs-tests
diff options
context:
space:
mode:
authorMats Kärrman <mats.karrman@tritech.se>2014-04-11 09:38:21 +0200
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>2014-04-15 16:01:12 +0300
commit7556c09cbac5c9d8a7a6d9c7c4bb736e2c472366 (patch)
treeb6a5fa958c04bb3d8ae27820551c88872e7f965c /tests/fs-tests
parent50c9e11f7ec21dfa17fd252426367333056ba7a5 (diff)
mtd-utils: integck: Use $(CC) and $(AR) instead of 'gcc' and 'ar' consistently
Not using the macros may be a problem when cross-compiling. Signed-off-by: Mats Karrman <mats.karrman@tritech.se> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Diffstat (limited to 'tests/fs-tests')
-rw-r--r--tests/fs-tests/integrity/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/fs-tests/integrity/Makefile b/tests/fs-tests/integrity/Makefile
index 4d6fc7d..b64bad9 100644
--- a/tests/fs-tests/integrity/Makefile
+++ b/tests/fs-tests/integrity/Makefile
@@ -18,14 +18,14 @@ all: $(TARGETS)
# Compile ubilib
libubi.a:
$(CC) $(CFLAGS) -c $(LIBUBI_PATH)/libubi.c -o libubi.o
- ar cr libubi.a libubi.o
+ $(AR) cr libubi.a libubi.o
$(TARGETS): libubi.a
# Disable optimizations to make it possible to use gdb comfortably
# Use -rdynamic to have stack backtraces
debug: libubi.a
- gcc $(CFLAGS) -O0 -D INTEGCK_DEBUG -rdynamic integck.c libubi.a -o integck
+ $(CC) $(CFLAGS) -O0 -D INTEGCK_DEBUG -rdynamic integck.c libubi.a -o integck
clean:
rm -f *.o $(TARGETS) libubi.a