From 3e91cffd894336c7ec802f0fc49e25e2a3b4efc6 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Wed, 1 Apr 2015 08:49:41 -0500 Subject: mainboards: fix spd generation echo is evaluated by a shell builtin producing non-binary spd data of the form '-e -n \'. Correct this by using printf builtin which does the equivalent and is more cross platform friendly. Boards changed: gizmosphere/gizmo gizmosphere/gizmo2 google/bolt google/falco google/link google/peppy google/rambi google/samus google/slippy pcengines/apu1 Change-Id: Iefdaf59903b9682cc88c94fd991883b560616492 Signed-off-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/9196 Tested-by: build bot (Jenkins) Reviewed-by: Marc Jones Reviewed-by: Patrick Georgi --- src/mainboard/google/slippy/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/google/slippy/Makefile.inc') diff --git a/src/mainboard/google/slippy/Makefile.inc b/src/mainboard/google/slippy/Makefile.inc index ec75717df5..ddac6ee349 100644 --- a/src/mainboard/google/slippy/Makefile.inc +++ b/src/mainboard/google/slippy/Makefile.inc @@ -37,7 +37,7 @@ SPD_DEPS := $(foreach f, $(SPD_SOURCES), src/mainboard/$(MAINBOARDDIR)/$(f).spd. $(SPD_BIN): $(SPD_DEPS) for f in $+; \ do for c in $$(cat $$f | grep -v ^#); \ - do echo -e -n "\\x$$c"; \ + do printf $$(printf '\%o' 0x$$c); \ done; \ done > $@ -- cgit v1.2.3