diff options
-rw-r--r-- | classes/wrt-image.bbclass | 2 | ||||
-rw-r--r-- | conf/machine/wrt54.conf | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/classes/wrt-image.bbclass b/classes/wrt-image.bbclass index f6ca5bcb19..f8ecce320b 100644 --- a/classes/wrt-image.bbclass +++ b/classes/wrt-image.bbclass @@ -31,4 +31,4 @@ wrt_create_images() { IMAGE_POSTPROCESS_COMMAND += "wrt_create_images;" -DEPENDS += "wrt-imagetools"
\ No newline at end of file +DEPENDS_prepend = "${@["wrt-imagetools-native ", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}"
\ No newline at end of file diff --git a/conf/machine/wrt54.conf b/conf/machine/wrt54.conf index 856ca97013..6883782799 100644 --- a/conf/machine/wrt54.conf +++ b/conf/machine/wrt54.conf @@ -29,5 +29,5 @@ EXTRA_IMAGECMD_squashfs-lzma = "-root-owned -le" INHERIT += "wrt-image" # strip even more: -DEPENDS += "elfkickers-native" +DEPENDS_prepend = "${@["elfkickers-native ", ""][(bb.data.getVar('PACKAGES', d, 1) == '')]}" export STRIP = "sstrip"
\ No newline at end of file |