Revert "update device.mk"

This reverts commit 768764f27ecdfe3f6a12fe7c16457c0e1a6a38d3.