Skip to content

Commit bbaca7e

Browse files
UVV-ghjforissier
authored andcommitted
Makefile: Avoid variable override
When CROSS_COMPILE is set in the environment / command line, we should not directly pass it to the subshell, otherwise it's evaluated to an empty string. Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Mikko Rapeli mikko.rapeli@linaro.org
1 parent 90f871e commit bbaca7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ clean: examples-clean prepare-for-rootfs-clean
1212

1313
examples:
1414
@for example in $(EXAMPLE_LIST); do \
15-
$(MAKE) -C $$example CROSS_COMPILE="$(HOST_CROSS_COMPILE)" || exit 1; \
15+
$(MAKE) -C $$example || exit 1; \
1616
done
1717

1818
examples-clean:

0 commit comments

Comments
 (0)