change -Dam335x flag with -D$(DEVICE)