mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
kirkwood: enable dts compilation
In 3.10 we might build those, so for now just add this functionality. Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38297 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
88cab0c554
commit
6cfeeb0521
@ -17,6 +17,12 @@ endif
|
||||
endef
|
||||
|
||||
define Image/Build
|
||||
$(foreach board,$(BOARDS),
|
||||
$(LINUX_DIR)/scripts/dtc/dtc \
|
||||
-O dtb -o $(BIN_DIR)/$(IMG_PREFIX)-$(board).dtb \
|
||||
-I dts $(LINUX_DIR)/arch/arm/boot/dts/kirkwood-$(board).dts ;
|
||||
)
|
||||
|
||||
$(if $(Image/Build/$(1)), \
|
||||
$(call Image/Build/$(1),$(1)), \
|
||||
$(CP) $(KDIR)/root.$(1) $(BIN_DIR)/$(IMG_PREFIX)-$(1).img \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user