From e95d4dfd397766c45fcfac215a36ef0eda2595cb Mon Sep 17 00:00:00 2001 From: Nicolas Aguirre Date: Fri, 15 Nov 2013 18:38:45 +0100 Subject: [PATCH] Install fex file for mele board. --- classes/sdcard_image-a10.bbclass | 9 ++++++++- recipes-bsp/sunxi-board-fex/sunxi-board-fex.bb | 3 ++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/classes/sdcard_image-a10.bbclass b/classes/sdcard_image-a10.bbclass index fc9367a..7c03b87 100644 --- a/classes/sdcard_image-a10.bbclass +++ b/classes/sdcard_image-a10.bbclass @@ -68,7 +68,14 @@ IMAGE_DEPENDS_a10-sdimg_olinuxino-a13 = " \ virtual/kernel \ virtual/bootloader \ " - +IMAGE_DEPENDS_a10-sdimg_mele = " \ + sunxi-board-fex \ + parted-native \ + mtools-native \ + dosfstools-native \ + virtual/kernel \ + virtual/bootloader \ + " # SD card image name SDIMG = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.a10-sdimg" diff --git a/recipes-bsp/sunxi-board-fex/sunxi-board-fex.bb b/recipes-bsp/sunxi-board-fex/sunxi-board-fex.bb index 8a40236..2058d66 100644 --- a/recipes-bsp/sunxi-board-fex/sunxi-board-fex.bb +++ b/recipes-bsp/sunxi-board-fex/sunxi-board-fex.bb @@ -11,6 +11,7 @@ PR = "r3" SRC_URI = "git://github.com/linux-sunxi/sunxi-boards.git;protocol=git" S = "${WORKDIR}/git" +SUNXI_FEX_FILE_mele = "sys_config/a10/mele_a1000.fex" SUNXI_FEX_FILE_olinuxino-a10s = "sys_config/a10s/a10s-olinuxino-m.fex" SUNXI_FEX_FILE_olinuxino-a13 = "sys_config/a13/a13-olinuxino.fex" SUNXI_FEX_FILE_cubieboard = "sys_config/a10/cubieboard.fex" @@ -49,4 +50,4 @@ do_populate_sysroot[noexec] = "1" # Remember to add machine entry to IMAGE_DEPENDS in sdcard_image-a10.bbclass # when adding new machines. -COMPATIBLE_MACHINE = "(olinuxino-a10s|olinuxino-a13|cubieboard|cubieboard2)" +COMPATIBLE_MACHINE = "(mele|olinuxino-a10s|olinuxino-a13|cubieboard|cubieboard2)"