Commit 02192c7f authored by Khem Raj's avatar Khem Raj Committed by Stefano Babic
Browse files

swupdate: Disable partition algorith when LTO is enabled



-flto-partition=none is needed when building with -flto
Use += to add libconfig to depends, so it does not overwrite the
programmatically added dependencies
Signed-off-by: default avatarKhem Raj <raj.khem@gmail.com>
parent 7ba76c50
SUMMARY="Image updater for Yocto projects"
DESCRIPTION = "Application for automatic software update from USB Pen"
SECTION="swupdate"
DEPENDS = "libconfig"
DEPENDS += "libconfig"
# SWUpdate licensing is described in the following pages:
# https://sbabic.github.io/swupdate/licensing.html
......@@ -30,6 +30,8 @@ SRC_URI = "git://github.com/sbabic/swupdate.git;protocol=https \
file://90-start-progress \
"
LTOEXTRA += "-flto-partition=none"
PACKAGES =+ " \
${PN}-client \
${PN}-lua \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment