mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 04:11:49 +00:00
999159a538
This is minimal infrastructure needed for devicetree work. It uses an a sample "skeleton" devicetree - embedded in kernel image - to print the board, manufacturer by parsing the top-level "compatible" string. As of now we don't need any additional "board" specific "machine_desc". TODO: support interpreting the command line as boot-loader passed dtb Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: devicetree-discuss@lists.ozlabs.org Cc: Rob Herring <rob.herring@calxeda.com> Cc: James Hogan <james.hogan@imgtec.com> Reviewed-by: Rob Herring <rob.herring@calxeda.com> Reviewed-by: James Hogan <james.hogan@imgtec.com>
14 lines
294 B
Makefile
14 lines
294 B
Makefile
# Built-in dtb
|
|
builtindtb-y := skeleton
|
|
|
|
ifneq ($(CONFIG_ARC_BUILTIN_DTB_NAME),"")
|
|
builtindtb-y := $(patsubst "%",%,$(CONFIG_ARC_BUILTIN_DTB_NAME))
|
|
endif
|
|
|
|
obj-y += $(builtindtb-y).dtb.o
|
|
targets += $(builtindtb-y).dtb
|
|
|
|
dtbs: $(addprefix $(obj)/, $(builtindtb-y).dtb)
|
|
|
|
clean-files := *.dtb
|