# If no architecture is specified in Config or on the command-line,
# use that of the build machine.
#
-ARCH ?= $(shell uname -m | sed -e s,i[3456789]86,i386,)
+ARCH := $(shell uname -m | sed -e s,i[3456789]86,i386,)
# handle x86_64 like i386, but set -m32 option for 32bit code only
ifeq ($(ARCH),x86_64)
# Embedded image, if present
#
-EMBEDDED_IMAGE ?= /dev/null
+EMBEDDED_IMAGE = /dev/null
ifneq ($(NO_WERROR),1)
CFLAGS += -Werror