You need to be sure in your recipe to have
BBCLASSEXTEND += "native nativesdk"
Explanation
One can use BBCLASSEXTEND = "native nativesdk" to bake binaries for the host architecture (native) and for target sdk architecture.
The target sdk architecture is described in the SDKMACHINE variable and the host architecture is the architecture of the machine executing bitbake. BBCLASSEXTEND = "native nativesdk" will alow you to bake recipes that are "virtual" using the suffix native ( so ${PN}-native) and the prefix nativesdk (so nativesdk-${PN})
Then, do
bitbake <recipe> -c populate_sdk
Hope it helps