@ -5,24 +5,6 @@ include $(INCLUDE_DIR)/image.mk
UBIFS_OPTS = -m 2048 -e 124KiB -c 4096 -U -F
UBIFS_OPTS = -m 2048 -e 124KiB -c 4096 -U -F
d e f i n e I m a g e / P r e p a r e
$( CP) $( LINUX_DIR) /vmlinux $( KDIR) /vmlinux-unstripped.elf
e n d e f
d e f i n e I m a g e / B u i l d K e r n e l
$( CP) $( KDIR) /vmlinux-unstripped.elf $( BIN_DIR) /$( IMG_PREFIX) -vmlinux.elf
e n d e f
d e f i n e I m a g e / B u i l d / s q u a s h f s
cp $( KDIR) /root.squashfs $( KDIR) /root.squashfs-raw
$( call prepare_generic_squashfs,$( KDIR) /root.squashfs)
e n d e f
d e f i n e I m a g e / B u i l d
$( call Image/Build/$( 1) ,$( 1) )
dd if = $( KDIR) /root.$( 1) of = $( BIN_DIR) /$( IMG_PREFIX) -$( 1) -root.img bs = 2k conv = sync
e n d e f
d e f i n e D e v i c e / D e f a u l t
d e f i n e D e v i c e / D e f a u l t
PROFILES := Default
PROFILES := Default
KERNEL_DEPENDS = $$ ( wildcard $( DTS_DIR) /$$ ( DEVICE_DTS) .dts)
KERNEL_DEPENDS = $$ ( wildcard $( DTS_DIR) /$$ ( DEVICE_DTS) .dts)
@ -60,7 +42,6 @@ define Device/UbiFit
e n d e f
e n d e f
d e f i n e D e v i c e / D n i I m a g e
d e f i n e D e v i c e / D n i I m a g e
PROFILES += $$ ( DEVICE_NAME)
FILESYSTEMS := squashfs
FILESYSTEMS := squashfs
KERNEL_SUFFIX := -uImage
KERNEL_SUFFIX := -uImage
KERNEL = kernel-bin | append-dtb | uImage none
KERNEL = kernel-bin | append-dtb | uImage none
@ -75,7 +56,6 @@ endef
DEVICE_VARS += NETGEAR_BOARD_ID NETGEAR_HW_ID
DEVICE_VARS += NETGEAR_BOARD_ID NETGEAR_HW_ID
d e f i n e D e v i c e / T p S a f e I m a g e
d e f i n e D e v i c e / T p S a f e I m a g e
PROFILES += $$ ( DEVICE_NAME)
FILESYSTEMS := squashfs
FILESYSTEMS := squashfs
KERNEL_SUFFIX := -uImage
KERNEL_SUFFIX := -uImage
KERNEL = kernel-bin | append-dtb | uImage none
KERNEL = kernel-bin | append-dtb | uImage none
@ -88,7 +68,6 @@ endef
DEVICE_VARS += TPLINK_BOARD_ID
DEVICE_VARS += TPLINK_BOARD_ID
d e f i n e D e v i c e / Z y X E L I m a g e
d e f i n e D e v i c e / Z y X E L I m a g e
PROFILES += $$ ( DEVICE_NAME)
FILESYSTEMS := squashfs
FILESYSTEMS := squashfs
KERNEL_SUFFIX := -uImage
KERNEL_SUFFIX := -uImage
KERNEL = kernel-bin | append-dtb | uImage none | pad-to $$ { KERNEL_SIZE}
KERNEL = kernel-bin | append-dtb | uImage none | pad-to $$ { KERNEL_SIZE}
@ -122,7 +101,6 @@ define Device/linksys_ea8500
KERNEL_SIZE := 3072k
KERNEL_SIZE := 3072k
FILESYSTEMS := squashfs
FILESYSTEMS := squashfs
KERNEL = kernel-bin | append-dtb | uImage none | append-uImage-fakeroot-hdr
KERNEL = kernel-bin | append-dtb | uImage none | append-uImage-fakeroot-hdr
PROFILES += $$ ( DEVICE_NAME)
BOARD_NAME := ea8500
BOARD_NAME := ea8500
SUPPORTED_DEVICES += ea8500
SUPPORTED_DEVICES += ea8500
UBINIZE_OPTS := -E 5
UBINIZE_OPTS := -E 5
@ -211,7 +189,6 @@ endef
TARGET_DEVICES += openmesh_a42
TARGET_DEVICES += openmesh_a42
d e f i n e D e v i c e / q c o m _ a p - d k 0 1 . 1 - c 1
d e f i n e D e v i c e / q c o m _ a p - d k 0 1 . 1 - c 1
PROFILES += $$ ( DEVICE_NAME)
DEVICE_TITLE := QCA AP-DK01.1-C1
DEVICE_TITLE := QCA AP-DK01.1-C1
BOARD_NAME := ap-dk01.1-c1
BOARD_NAME := ap-dk01.1-c1
DEVICE_DTS := qcom-ipq4019-ap.dk01.1-c1
DEVICE_DTS := qcom-ipq4019-ap.dk01.1-c1
@ -292,7 +269,6 @@ endef
TARGET_DEVICES += tplink_c2600
TARGET_DEVICES += tplink_c2600
d e f i n e D e v i c e / t p l i n k _ v r 2 6 0 0 v
d e f i n e D e v i c e / t p l i n k _ v r 2 6 0 0 v
PROFILES += $$ ( DEVICE_NAME)
FILESYSTEMS := squashfs
FILESYSTEMS := squashfs
KERNEL_SUFFIX := -uImage
KERNEL_SUFFIX := -uImage
KERNEL = kernel-bin | append-dtb | uImage none
KERNEL = kernel-bin | append-dtb | uImage none