AM62P: Add gstreamer1.0-plugins-ugly with Yocto for building Rootsf

Part Number: AM62P

Tool/software:

hello 

When I add "gstreamer1.0-plugins-ugly" in tisdk-thinlinux-image.bb, I use command "MACHINE=am62pxx-evm bitbake -k tisdk-thinlinux-image" to build. There are some errors:

/**********************Error Info Start*********************/

ERROR: Nothing RPROVIDES 'gstreamer1.0-plugins-ugly' (but /home/yongyanzhang/Yocto/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/tisdk-thinlinux-image.bb RDEPENDS on or otherwise requires it)
gstreamer1.0-plugins-ugly was skipped: Has a restricted license 'commercial' which is not listed in your LICENSE_FLAGS_ACCEPTED.
NOTE: Runtime target 'gstreamer1.0-plugins-ugly' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['gstreamer1.0-plugins-ugly']
ERROR: Nothing RPROVIDES 'tisdk-thinlinux-image'
No eligible RPROVIDERs exist for 'tisdk-thinlinux-image'

/**********************Error Info End*********************/

I tried to add a 'commercial'(LICENSE_FLAGS_ACCEPTED += 'commercial') to  local.conf, but it seems to have no effect and still reports an error.

Looking forward to your reply.