kernel: Move append-dtb to common image-commands
This build step is used by various targets, move it to a common section. Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
This commit is contained in:
parent
7385f754b1
commit
b7baaaf782
6 changed files with 12 additions and 29 deletions
|
@ -34,11 +34,6 @@ define Build/Compile
|
|||
endef
|
||||
|
||||
### Kernel scripts ###
|
||||
define Build/append-dtb
|
||||
$(call Image/BuildDTB,../dts/$(DEVICE_DTS).dts,$@.dtb)
|
||||
cat $@.dtb >> $@
|
||||
endef
|
||||
|
||||
define Build/hcs-initramfs
|
||||
$(STAGING_DIR_HOST)/bin/hcsmakeimage --magic_bytes=$(HCS_MAGIC_BYTES) \
|
||||
--rev_maj=$(HCS_REV_MAJ) --rev_min=$(HCS_REV_MIN) --input_file=$@ \
|
||||
|
@ -171,8 +166,9 @@ define Device/Default
|
|||
KERNEL_DEPENDS = $$(wildcard ../dts/$$(DEVICE_DTS).dts)
|
||||
KERNEL_INITRAMFS_SUFFIX := .elf
|
||||
DEVICE_DTS :=
|
||||
DEVICE_DTS_DIR := ../dts
|
||||
endef
|
||||
DEVICE_VARS += DEVICE_DTS
|
||||
DEVICE_VARS += DEVICE_DTS DEVICE_DTS_DIR
|
||||
|
||||
ATH5K_PACKAGES := kmod-ath5k wpad-mini
|
||||
ATH9K_PACKAGES := kmod-ath9k wpad-mini
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue