@ -14,12 +14,33 @@ KERNEL_LOADADDR := 0x00008000
DEVICE_VARS += KERNEL_SIZE
d e f i n e I m a g e / m k f s / b u n d l e
$( TAR) -cp --numeric-owner --owner= 0 --group= 0 --sort= name \
$( if $( SOURCE_DATE_EPOCH) ,--mtime= " @ $( SOURCE_DATE_EPOCH) " ) \
-C $( call mkfs_target_dir,$( 1) ) / . > $@
e n d e f
TARGET_FILESYSTEMS += bundle
d e f i n e B u i l d / d t b
$( call Image/BuildDTB,$( DTS_DIR) /$( DEVICE_DTS) .dts,$@ .dtb)
e n d e f
d e f i n e B u i l d / c l e a r f o g - b u n d l e
cp $( IMAGE_ROOTFS) $@ .new
$( TAR) -rp --numeric-owner --owner= 0 --group= 0 --sort= name \
$( if $( SOURCE_DATE_EPOCH) ,--mtime= " @ $( SOURCE_DATE_EPOCH) " ) \
--file= $@ .new -C $( dir $( IMAGE_KERNEL) ) / $( notdir $( IMAGE_KERNEL) ) $( notdir $( IMAGE_KERNEL) .dtb)
gzip -9n -c $@ .new > $@
e n d e f
d e f i n e D e v i c e / D e f a u l t
PROFILES := Default
DEVICE_DTS := $( 1)
BOARD_NAME = $$ ( DEVICE_DTS)
KERNEL_NAME := zImage
KERNEL := kernel-bin | append-dtb | uImage none
FILESYSTEMS = $( filter-out bundle,$( TARGET_FILESYSTEMS) )
e n d e f
d e f i n e D e v i c e / U B I
@ -132,7 +153,12 @@ TARGET_DEVICES += armada-388-rd
d e f i n e D e v i c e / a r m a d a - 3 8 8 - c l e a r f o g
KERNEL_INSTALL := 1
KERNEL := dtb | kernel-bin
DEVICE_TITLE := SolidRun ClearFog
FILESYSTEMS := bundle
IMAGES := bundle.tar.gz
IMAGE/bundle.tar.gz := append-rootfs | clearfog-bundle
IMAGE_NAME = $$ ( IMAGE_PREFIX) -$$ ( 2)
e n d e f
TARGET_DEVICES += armada-388-clearfog