summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGerald Van Baren <vanbaren@cideas.com>2007-04-19 23:14:39 -0400
committerGerald Van Baren <vanbaren@cideas.com>2007-04-19 23:14:39 -0400
commit7651f8bdbba03bb0b4f241e2d2c4cb65b230bd56 (patch)
tree32e427d198d369aec66173f3a015cd71a6ab1b5b /Makefile
parent37837828d89084879bee2f2b8c7c68d4695940df (diff)
downloadu-boot-imx-7651f8bdbba03bb0b4f241e2d2c4cb65b230bd56.zip
u-boot-imx-7651f8bdbba03bb0b4f241e2d2c4cb65b230bd56.tar.gz
u-boot-imx-7651f8bdbba03bb0b4f241e2d2c4cb65b230bd56.tar.bz2
Fix serious pointer bug with bootm and reserve map.
What was suppose to be a stack variable was declared as a pointer, overwriting random memory. Also moved the libfdt.a requirement into the main Makefile. That is The U-Boot Way.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9a27bc2..94cda54 100644
--- a/Makefile
+++ b/Makefile
@@ -219,6 +219,7 @@ LIBS += $(shell if [ -d post/cpu/$(CPU) ]; then echo \
LIBS += $(shell if [ -d post/board/$(BOARDDIR) ]; then echo \
"post/board/$(BOARDDIR)/libpost$(BOARD).a"; fi)
LIBS += common/libcommon.a
+LIBS += libfdt/libfdt.a
LIBS += $(BOARDLIBS)
LIBS := $(addprefix $(obj),$(LIBS))