Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 336578
b: refs/heads/master
c: 300db34
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Warren authored and Rob Herring committed Dec 3, 2012
1 parent 3f04024 commit cefb0db
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 23 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: 1020e29cdab6bed8521a5a1a1b6f6513c393bc85
refs/heads/master: 300db34a7256c94dbb7676f1e87101a3bb13cdd9
2 changes: 1 addition & 1 deletion trunk/arch/microblaze/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ boot := arch/microblaze/boot
DTB:=$(subst simpleImage.,,$(filter simpleImage.%, $(MAKECMDGOALS)))

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

# defines filename extension depending memory management type
Expand Down
19 changes: 1 addition & 18 deletions trunk/arch/microblaze/boot/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,10 @@
# arch/microblaze/boot/Makefile
#

obj-y += linked_dtb.o

targets := linux.bin linux.bin.gz simpleImage.%

OBJCOPYFLAGS := -R .note -R .comment -R .note.gnu.build-id -O binary

# Ensure system.dtb exists
$(obj)/linked_dtb.o: $(obj)/system.dtb

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

$(obj)/linux.bin: vmlinux FORCE
$(call if_changed,objcopy)
$(call if_changed,uimage)
Expand Down Expand Up @@ -45,10 +34,4 @@ $(obj)/simpleImage.%: vmlinux FORCE
@echo 'Kernel: $@ is ready' ' (#'`cat .version`')'


# Rule to build device tree blobs
DTC_FLAGS := -p 1024

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

clean-files += *.dtb simpleImage.*.unstrip linux.bin.ub
clean-files += simpleImage.*.unstrip linux.bin.ub
22 changes: 22 additions & 0 deletions trunk/arch/microblaze/boot/dts/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#
# arch/microblaze/boot/Makefile
#

obj-y += linked_dtb.o

# Ensure system.dtb exists
$(obj)/linked_dtb.o: $(obj)/system.dtb

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

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

# Rule to build device tree blobs
DTC_FLAGS := -p 1024

clean-files += *.dtb
2 changes: 2 additions & 0 deletions trunk/arch/microblaze/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/microblaze/boot/dts/system.dtb"
3 changes: 0 additions & 3 deletions trunk/arch/microblaze/boot/linked_dtb.S

This file was deleted.

0 comments on commit cefb0db

Please sign in to comment.