diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-08-06 09:21:15 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-08-18 18:04:01 +0200 |
commit | 6bd2ff166291802c7b2605b2af11f7ee28a77599 (patch) | |
tree | 77e3d78c05b18cef00606da4a519fa04937548af /rules/x-load.make | |
parent | 73e4bd3b43ab5421957f84db60893891e8b52bef (diff) | |
download | ptxdist-6bd2ff166291802c7b2605b2af11f7ee28a77599.tar.gz ptxdist-6bd2ff166291802c7b2605b2af11f7ee28a77599.tar.xz |
[x-load] use _MAKE_ENV instead of _MAKE_OPT
The second parameter of the used $(call compile, ..., ...)
will overwrite the _MAKE_OPT. Which will cause in unset CROSS_COMPILE.
This patch works around the bug/limitation of $(call compile) by using
_MAKE_ENV instead of _MAKE_OPT.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'rules/x-load.make')
-rw-r--r-- | rules/x-load.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/x-load.make b/rules/x-load.make index 23a7fe093..bfcbec90a 100644 --- a/rules/x-load.make +++ b/rules/x-load.make @@ -27,7 +27,7 @@ X_LOAD_DIR := $(BUILDDIR)/$(X_LOAD) # Prepare # ---------------------------------------------------------------------------- -X_LOAD_MAKE_OPT := CROSS_COMPILE=$(BOOTLOADER_CROSS_COMPILE) HOSTCC=$(HOSTCC) +X_LOAD_MAKE_ENV := CROSS_COMPILE=$(BOOTLOADER_CROSS_COMPILE) HOSTCC=$(HOSTCC) X_LOAD_MAKE_PAR := NO $(STATEDIR)/x-load.prepare: |