Simplify IMAGE_DEPENDS of a10-sdimg class, install fex file wathever the board selected.

This commit is contained in:
Nicolas Aguirre 2013-11-15 18:40:23 +01:00
parent e95d4dfd39
commit dd157cc4f1

View File

@ -27,56 +27,14 @@ IMAGE_ROOTFS_ALIGNMENT = "2048"
SDIMG_ROOTFS_TYPE ?= "ext3" SDIMG_ROOTFS_TYPE ?= "ext3"
SDIMG_ROOTFS = "${IMAGE_NAME}.rootfs.${SDIMG_ROOTFS_TYPE}" SDIMG_ROOTFS = "${IMAGE_NAME}.rootfs.${SDIMG_ROOTFS_TYPE}"
IMAGE_DEPENDS_a10-sdimg = " \ IMAGE_DEPENDS_a10-sdimg += " \
parted-native \ parted-native \
mtools-native \ mtools-native \
dosfstools-native \ dosfstools-native \
virtual/kernel \ virtual/kernel \
virtual/bootloader \ virtual/bootloader \
sunxi-board-fex \
" "
# Compile FEX file
IMAGE_DEPENDS_a10-sdimg_olinuxino-a10s = " \
sunxi-board-fex \
parted-native \
mtools-native \
dosfstools-native \
virtual/kernel \
virtual/bootloader \
"
IMAGE_DEPENDS_a10-sdimg_cubieboard2 = " \
sunxi-board-fex \
parted-native \
mtools-native \
dosfstools-native \
virtual/kernel \
virtual/bootloader \
"
IMAGE_DEPENDS_a10-sdimg_cubieboard = " \
sunxi-board-fex \
parted-native \
mtools-native \
dosfstools-native \
virtual/kernel \
virtual/bootloader \
"
IMAGE_DEPENDS_a10-sdimg_olinuxino-a13 = " \
sunxi-board-fex \
parted-native \
mtools-native \
dosfstools-native \
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 # SD card image name
SDIMG = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.a10-sdimg" SDIMG = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.a10-sdimg"