[U-Boot-Users] [PATCH] LOGO: Allow define "LOGO_BMP" to be globally defined.

Rodolfo Giometti
2007-05-25T14:20:55Z

This allow developers to define per board logo file into main configuration
file as follow:

wwpc1100_config : unconfig
@$(MKCONFIG) $(@:_config=) arm pxa wwpc1100
@echo "LOGO_BMP = wwpc1100.bmp" >> include/config.mk

Signed-off-by: Rodolfo Giometti <giometti@linux.it>
---
Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 093df4e..c819afb 100644
--- a/Makefile
+++ b/Makefile
@@ -115,7 +115,7 @@ ifeq ($(OBJTREE)/include/config.mk,$(wildcard $(OBJTREE)/include/config.mk))

# load ARCH, BOARD, and CPU configuration
include $(OBJTREE)/include/config.mk
-export ARCH CPU BOARD VENDOR SOC
+export ARCH CPU BOARD VENDOR SOC LOGO_BMP

ifndef CROSS_COMPILE
ifeq ($(HOSTARCH),ppc)
@@ -125,7 +125,7 @@ ifeq ($(ARCH),ppc)
CROSS_COMPILE = powerpc-linux-
endif
ifeq ($(ARCH),arm)
-CROSS_COMPILE = arm-eurotech-linux-
+CROSS_COMPILE = arm-linux-
endif
ifeq ($(ARCH),i386)
ifeq ($(HOSTARCH),i386)
--
1.5.1.1