diff options
author | Simon Glass <sjg@chromium.org> | 2011-06-27 14:11:57 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2011-08-29 10:39:36 -0700 |
commit | 6bdf19ae88196c98f3f8aed7e7cfdf6eef442687 (patch) | |
tree | 4f45e080bb9e6f0c89226979be6234654414cc4f /dts | |
parent | 9f69764d2e4354de05775a874e71e096b180f14b (diff) |
Fix embedded device tree build
This was unfortunately broken by the external device tree building, and the
fault was not noticed until now.
BUG=chromium-os:11623
TEST=build with CONFIG_OF_EMBED defined; see that build succeeds and boots
on Seaboard
Change-Id: Iedc950577b63ffda5c4d8334662151836f33dd29
Reviewed-on: http://gerrit.chromium.org/gerrit/3262
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'dts')
-rw-r--r-- | dts/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dts/Makefile b/dts/Makefile index 8863c041236..01989818f8b 100644 --- a/dts/Makefile +++ b/dts/Makefile @@ -36,6 +36,8 @@ else DEVICE_TREE = $(DEV_TREE_SRC) endif +all: $(obj).depend $(LIB) + # Use a constant name for this so we can access it from C code. # objcopy doesn't seem to allow us to set the symbol name independently of # the filename. @@ -53,11 +55,9 @@ $(obj)dt.o: $(DT_BIN) OBJS-$(CONFIG_OF_EMBED) := dt.o -OBJS := $(OBJS-y) +COBJS := $(OBJS-y) -OBJS := $(addprefix $(obj),$(OBJS)) - -all: $(obj).depend $(LIB) +OBJS := $(addprefix $(obj),$(COBJS)) binary: $(DT_BIN) |