gen_setup: construct paths in a separately callable fn
gen_setup: construct paths in a separately callable fn

Change-Id: Ibecfdb2fa4059a2292843a46308ed1e119a4a144
(cherry picked from commit 20f61206e3edbadd1e9e3dd96db72f64c0cf492d)

intelxed/xed,intelxed/xed,intelxed/xed,intelxed/xed