[U-Boot-Users] [PATCH 1/4] PXA27x LCD and boot logo support
Rodolfo Giometti
giometti at enneenne.com
Thu Feb 15 19:59:12 CET 2007
Boot logo compilation fixup.
Signed-off-by: Rodolfo Giometti <giometti at linux.it>
-------------- next part --------------
diff --git a/Makefile b/Makefile
index 15fd656..2ac8dd5 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)
diff --git a/tools/Makefile b/tools/Makefile
index 606f024..4a38f94 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -40,7 +40,7 @@ endif
LOGO_H = $(OBJTREE)/include/bmp_logo.h
ifeq ($(LOGO_BMP),)
-LOGO_BMP= logos/denx.bmp
+LOGO_BMP= denx.bmp
endif
#-------------------------------------------------------------------------
@@ -203,8 +203,8 @@ $(obj)crc32.c:
@rm -f $(obj)crc32.c
ln -s $(src)../lib_generic/crc32.c $(obj)crc32.c
-$(LOGO_H): $(obj)bmp_logo $(LOGO_BMP)
- $(obj)./bmp_logo $(LOGO_BMP) >$@
+$(LOGO_H): $(obj)bmp_logo logos/$(LOGO_BMP)
+ $(obj)./bmp_logo logos/$(LOGO_BMP) >$@
#########################################################################
More information about the U-Boot
mailing list