mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-12-25 12:38:22 +01:00
sdcard_image-sunxi: fix dependency loop
As suggested by Andrei Gherzan (see #178): "The current implementation inherits sdcard_image-sunxi.bbclass unconditionally which in turn, sets two depends on do_rootfs unconditionally again. This means that if I want to build an initramfs image in the kernel image I will get a dependency loop." Signed-off-by: Enrico Butera <ebutera@users.sourceforge.net>
This commit is contained in:
parent
4740d3fe2d
commit
a84d6a40c1
@ -33,13 +33,10 @@ IMAGE_DEPENDS_sunxi-sdimg += " \
|
||||
parted-native \
|
||||
mtools-native \
|
||||
dosfstools-native \
|
||||
virtual/kernel \
|
||||
virtual/bootloader \
|
||||
virtual/kernel:do_deploy \
|
||||
virtual/bootloader:do_deploy \
|
||||
"
|
||||
|
||||
do_rootfs[depends] += "virtual/kernel:do_deploy"
|
||||
do_rootfs[depends] += "virtual/bootloader:do_deploy"
|
||||
|
||||
# SD card image name
|
||||
SDIMG = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.sunxi-sdimg"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user