sandbox: Adjust the order of the NO_SDL check
authorSimon Glass <sjg@chromium.org>
Wed, 11 Feb 2015 01:52:35 +0000 (18:52 -0700)
committerSimon Glass <sjg@chromium.org>
Sun, 15 Feb 2015 21:34:06 +0000 (14:34 -0700)
commite50ab22984ce90ffcc47bc620ed2caac0bcc02f7
tree2b7663e7e2f1e5fe29d74e6354c6e83663517c08
parent88539e4431cd6a596da316f81b644c4df606dbd9
sandbox: Adjust the order of the NO_SDL check

An option is provided to avoid using SDL in U-Boot sandbox (and drop
support for the LCD). However the check in the Makefile is too late
and warnings are printed even if NO_SDL=y is given.

Adjust the order to avoid this warning.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Jeroen Hofstee <jeroen@myspectrum.nl>
arch/sandbox/config.mk