Lines Matching refs:TARGET
136 [ -z "$TARGET" ] && TARGET="${CROSS_BASE/-*/}"
137 [ -z "$TARGET" ] && TARGET="$(uname -m)"
142 if [ "$TARGET" == armv5l ]; then
150 elif [ "$TARGET" == armv7l ] || [ "$TARGET" == aarch64 ]; then
151 if [ "$TARGET" == aarch64 ]; then
159 elif [ "$TARGET" == i486 ] || [ "$TARGET" == i686 ] ||
160 [ "$TARGET" == x86_64 ] || [ "$TARGET" == x32 ]; then
161 if [ "$TARGET" == i486 ]; then
163 elif [ "$TARGET" == i686 ]; then
167 [ "$TARGET" == x32 ] && KCONF=X86_X32
171 elif [ "$TARGET" == m68k ]; then
174 elif [ "$TARGET" == mips ] || [ "$TARGET" == mipsel ]; then
177 [ "$TARGET" == mipsel ] && KCONF=$KCONF,CPU_LITTLE_ENDIAN &&
179 elif [ "$TARGET" == powerpc ]; then
182 elif [ "$TARGET" == powerpc64le ]; then
186 elif [ "$TARGET" = s390x ]; then
189 elif [ "$TARGET" == sh2eb ]; then
193 elif [ "$TARGET" == sh4 ]; then
199 else die "Unknown \$TARGET $TARGET"
207 "-append \"panic=1 HOST=$TARGET console=$KARGS \$KARGS\"" \
209 > "$OUTPUT/qemu-$TARGET.sh" &&
210 chmod +x "$OUTPUT/qemu-$TARGET.sh" || exit 1
218 { echo "# make ARCH=$KARCH allnoconfig KCONFIG_ALLCONFIG=$TARGET.miniconf"
230 } > "$OUTPUT/miniconfig-$TARGET" &&
231 make ARCH=$KARCH allnoconfig KCONFIG_ALLCONFIG="$OUTPUT/miniconfig-$TARGET" &&