mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-16 10:18:23 +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>
(cherry picked from commit a84d6a40c1
)
This commit is contained in:
parent
3fd8a3fcc7
commit
318c872680
@ -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