]> code.ossystems Code Review - openembedded-core.git/commit
systemtap_git.inc: do not immediate expand SELECTED_OPTIMIZATION
authorHongxu Jia <hongxu.jia@windriver.com>
Fri, 29 Jan 2016 17:35:58 +0000 (12:35 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 30 Jan 2016 11:38:00 +0000 (11:38 +0000)
commit3d2455c1959283b956cb7536cd866717fefc10e8
treeee2f4e90a5c87bde149874ada69d95a32228b0f6
parent6fef0d528158e6317793b1ebfa26a7b5413c3e80
systemtap_git.inc: do not immediate expand SELECTED_OPTIMIZATION

We need to expand SELECTED_OPTIMIZATION later, so
do not immediate expansion, and do the work in
anonymous python function.

It is reasonable to give an error for -O0.

[YOCTO #7058]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/systemtap/systemtap_git.inc