aboutsummaryrefslogtreecommitdiff
path: root/package/memtester
diff options
context:
space:
mode:
authorGravatar Baruch Siach <baruch@tkos.co.il>2014-09-16 22:37:00 +0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-09-16 22:09:57 +0200
commitbadd4036c57d0275ab25b266a48efbe870abc495 (patch)
tree04f92d74039821581b6945ebd99846263e5ca6ed /package/memtester
parentb200030399f24308ce50df6f8f08f3c32a67e379 (diff)
downloadbuildroot-badd4036c57d0275ab25b266a48efbe870abc495.tar.gz
buildroot-badd4036c57d0275ab25b266a48efbe870abc495.tar.bz2
memtester: fix rebuild
Do the edit of conf-* files only when 'cc' appears at the beginning of line, i.e. the files has not been edited. Otherwise, the 'cc' part of the cross toolchain gets expanded, leading to the following error on 'make memtester-rebuild': ./compile: line 3: /home/baruch/git/buildroot/output/host/usr/bin/i686-pc-linux-gnu-g/home/baruch/git/buildroot/output/host/usr/bin/i686-pc-linux-gnu-gcc: No such file or directory Makefile:82: recipe for target 'memtester.o' failed make[1]: *** [memtester.o] Error 127 Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/memtester')
-rw-r--r--package/memtester/memtester.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/memtester/memtester.mk b/package/memtester/memtester.mk
index 900c10d2b2..d12babca30 100644
--- a/package/memtester/memtester.mk
+++ b/package/memtester/memtester.mk
@@ -12,7 +12,7 @@ MEMTESTER_LICENSE_FILES = COPYING
MEMTESTER_TARGET_INSTALL_OPTS = INSTALLPATH=$(TARGET_DIR)/usr
define MEMTESTER_BUILD_CMDS
- $(SED) "s,cc,$(TARGET_CC)," $(@D)/conf-*
+ $(SED) "s,^cc,$(TARGET_CC)," $(@D)/conf-*
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef