提交 053dd92e 编写于 作者: J Juan Quintela 提交者: Anthony Liguori

We also need TARGET_<arechname> in Makefiles

Signed-off-by: NJuan Quintela <quintela@redhat.com>
Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
Message-Id: 
上级 55d9c04b
......@@ -1982,6 +1982,8 @@ case "$target_arch2" in
;;
esac
echo "TARGET_ARCH=$TARGET_ARCH" >> $config_mak
target_arch_name="`echo $TARGET_ARCH | tr '[:lower:]' '[:upper:]'`"
echo "TARGET_$target_arch_name=y" >> $config_mak
echo "TARGET_ARCH2=$target_arch2" >> $config_mak
# TARGET_BASE_ARCH needs to be defined after TARGET_ARCH
if [ "$TARGET_BASE_ARCH" = "" ]; then
......
......@@ -55,9 +55,7 @@ case $line in
;;
TARGET_ARCH=*) # configuration
target_arch=${line#*=}
arch_name=`echo $target_arch | tr '[:lower:]' '[:upper:]'`
echo "#define TARGET_ARCH \"$target_arch\""
echo "#define TARGET_$arch_name 1"
;;
TARGET_BASE_ARCH=*) # configuration
target_base_arch=${line#*=}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册