### Description <!-- Required Add detailed description of what you are reporting. Good example: https://os.mbed.com/docs/latest/reference/workflow.html Things to consider sharing: - What target does this relate to? - What toolchain (name + version) are you using? - What tools (name + version - is it mbed-cli, online compiler or IDE) are you using? - What is the SHA of Mbed OS (git log -n1 --oneline)? - Steps to reproduce. (Did you publish code or a test case that exhibits the problem?) --> This target was added here https://github.com/ARMmbed/mbed-os/pull/6178. This does not build `python tools\build.py -m Raytac_MDBT40 -t ARM`: ``` Copy: nRF51822.sct Scan: TARGET_Raytac_MDBT40 Compile [ 1.2%]: mbed_tz_context.c Compile [ 2.5%]: analogin_api.c [Error] analogin_api.h@22,0: #5: cannot open source input file "device.h": No such file or directory ``` Shouldn't this be part of your custom target definition rather than in here? I would like to remove this target from targets.json file. @andrewleech @pi-anl Please review. ### Issue request type <!-- Required Please add only one X to one of the following types. Do not fill multiple types. (Split the issue otherwise.) Please note this is not a GitHub task list; indenting the boxes or changing the format to add a '.' or '*' in front of them changes the meaning incorrectly. The only changes to make are to add a description under the description heading and to add an 'x' to the correct box. [ ] Question [ ] Enhancement [X] Bug --> [ ] Question [ ] Enhancement [X] Bug