device-drivers: rtc: minor updates

Makefile updated.
Added .gitignore file.
Added root check and rtc device check.

Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
3 files changed