mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
19fbd6b296
The current rules have the .dtb files build in a different directory from the .dts files. This patch changes openrisc to use the generic dtb rule which builds .dtb files in the same directory as the source .dts. This requires renaming arch/openrisc/boot/Makefile to arch/openrisc/boot/dts/Makefile, and updating arch/openrisc/Makefile to call the new Makefile. Cc: Jonas Bonn <jonas@southpole.se> Cc: linux@lists.openrisc.net Signed-off-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Rob Herring <rob.herring@calxeda.com>
10 lines
211 B
Makefile
10 lines
211 B
Makefile
ifneq '$(CONFIG_OPENRISC_BUILTIN_DTB)' '""'
|
|
BUILTIN_DTB := $(patsubst "%",%,$(CONFIG_OPENRISC_BUILTIN_DTB)).dtb.o
|
|
else
|
|
BUILTIN_DTB :=
|
|
endif
|
|
obj-y += $(BUILTIN_DTB)
|
|
|
|
clean-files := *.dtb.S
|
|
|
|
#DTC_FLAGS ?= -p 1024
|