rs_resource: Integrate common and headed directories
Resource xml files in rs_resource were separated into two directories
(common, headed) to exclude unnecessary headed libraries to be included
when the image is headless.
But there was already a mechanism to exclude unnecessary libraries which
can be used with an option '--as-needed' and it is used when the hal
backends are built. This option is properly applied if any hal backend
is built with cmake but not applied when built with libtool.
This phenomenon has been revealed to be due to a bug in libtool. Please
refer this for more information:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=347650
This bug was fixed with patch below:
afe15dc(Change order of deplibs and compiler_flags)
This bug was fixed so there is no reason to keep the separated two
packages, so common and headed directoreis are integrated.
Change-Id: Ieb0734d1a439554b4cae00f35ca9b66b70dd3e27
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>