m7-common: Add dependencies