Move makefile include inside TARGET_DEVICE guard

Change-Id: Ib3e9b03407cb1b7468a486cd3325657ae730a483