X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/05e6976da2fd9ee5d91bfe8b1aaa2e803158b03a..e0a41f62852d25ee05696c85e6541ec2c9e93072:/rules.mk diff --git a/rules.mk b/rules.mk index 6b081bba5..e7a26fccc 100644 --- a/rules.mk +++ b/rules.mk @@ -29,7 +29,7 @@ merge=$(subst $(space),,$(1)) confvar=$(call merge,$(foreach v,$(1),$(if $($(v)),y,n))) strip_last=$(patsubst %.$(lastword $(subst .,$(space),$(1))),%,$(1)) -_SINGLE=MAKEFLAGS=$(space) +_SINGLE=export MAKEFLAGS=$(space); ARCH:=$(call qstrip,$(shell echo $(CONFIG_ARCH) | sed -e 's/i[3-9]86/i386/')) BOARD:=$(call qstrip,$(CONFIG_TARGET_BOARD)) TARGET_OPTIMIZATION:=$(call qstrip,$(CONFIG_TARGET_OPTIMIZATION))