Home
last modified time | relevance | path

Searched hist:fada9e2048446878c95fb331bbc21e1e40eddc72 (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/
H A Dconfig.mkfada9e2048446878c95fb331bbc21e1e40eddc72 Sat Apr 20 03:42:36 CDT 2013 Simon Glass <sjg@chromium.org> Trigger generic board error only when building

At present the generic board error can occur when configuring U-Boot, or
during distclean, but this is incorrect. The existing autoconf.mk may come
from an earlier U-Boot configuration which is about to be overwritten.

Make the error conditional so that it will only be triggered when we are
actually building U-Boot.

This avoids a problem where the system is being reconfigured to remove
CONFIG_SYS_GENERIC_BOARD on an architecture that does not support it.
Currently this will print an error and require the manual removal of
include/autoconf.mk.

Signed-off-by: Simon Glass <sjg@chromium.org>
H A DMakefilefada9e2048446878c95fb331bbc21e1e40eddc72 Sat Apr 20 03:42:36 CDT 2013 Simon Glass <sjg@chromium.org> Trigger generic board error only when building

At present the generic board error can occur when configuring U-Boot, or
during distclean, but this is incorrect. The existing autoconf.mk may come
from an earlier U-Boot configuration which is about to be overwritten.

Make the error conditional so that it will only be triggered when we are
actually building U-Boot.

This avoids a problem where the system is being reconfigured to remove
CONFIG_SYS_GENERIC_BOARD on an architecture that does not support it.
Currently this will print an error and require the manual removal of
include/autoconf.mk.

Signed-off-by: Simon Glass <sjg@chromium.org>