Summary: sync makefile build rules from arch/arm to fix some compile issue Signed-off-by: qinwei1 <qinwei1@xiaomi.com>