massive update to device.mk