fixup device.mk