Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336577
b: refs/heads/master
c: 1020e29
h: refs/heads/master
i:
  336575: ad27bcb
v: v3
  • Loading branch information
Stephen Warren authored and Rob Herring committed Dec 3, 2012
1 parent 062dcea commit 3f04024
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 19fbd6b2961ccbdba73c6c731ef27da29063e094
refs/heads/master: 1020e29cdab6bed8521a5a1a1b6f6513c393bc85
2 changes: 1 addition & 1 deletion trunk/arch/c6x/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ DTB:=$(subst dtbImage.,,$(filter dtbImage.%, $(MAKECMDGOALS)))
export DTB

ifneq ($(DTB),)
core-y += $(boot)/
core-y += $(boot)/dts/
endif

# With make 3.82 we cannot mix normal and wildcard targets
Expand Down
20 changes: 0 additions & 20 deletions trunk/arch/c6x/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,5 @@ OBJCOPYFLAGS_vmlinux.bin := -O binary
$(obj)/vmlinux.bin: vmlinux FORCE
$(call if_changed,objcopy)

DTC_FLAGS ?= -p 1024

ifneq ($(DTB),)
obj-y += linked_dtb.o
endif

$(obj)/%.dtb: $(src)/dts/%.dts FORCE
$(call if_changed_dep,dtc)

quiet_cmd_cp = CP $< $@$2
cmd_cp = cat $< >$@$2 || (rm -f $@ && echo false)

# Generate builtin.dtb from $(DTB).dtb
$(obj)/builtin.dtb: $(obj)/$(DTB).dtb
$(call if_changed,cp)

$(obj)/linked_dtb.o: $(obj)/builtin.dtb

$(obj)/dtbImage.%: vmlinux
$(call if_changed,objcopy)

clean-files := $(obj)/*.dtb
20 changes: 20 additions & 0 deletions trunk/arch/c6x/boot/dts/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#
# Makefile for device trees
#

DTC_FLAGS ?= -p 1024

ifneq ($(DTB),)
obj-y += linked_dtb.o
endif

quiet_cmd_cp = CP $< $@$2
cmd_cp = cat $< >$@$2 || (rm -f $@ && echo false)

# Generate builtin.dtb from $(DTB).dtb
$(obj)/builtin.dtb: $(obj)/$(DTB).dtb
$(call if_changed,cp)

$(obj)/linked_dtb.o: $(obj)/builtin.dtb

clean-files := *.dtb
2 changes: 2 additions & 0 deletions trunk/arch/c6x/boot/dts/linked_dtb.S
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.section __fdt_blob,"a"
.incbin "arch/c6x/boot/dts/builtin.dtb"
2 changes: 0 additions & 2 deletions trunk/arch/c6x/boot/linked_dtb.S

This file was deleted.

0 comments on commit 3f04024

Please sign in to comment.