Add PATH to linux build options to allow 'mkimage' to be found. Neccessary for arm...
authorUlf Samuelsson <ulf.samuelsson@atmel.com>
Tue, 6 Jan 2009 21:42:43 +0000 (21:42 -0000)
committerUlf Samuelsson <ulf.samuelsson@atmel.com>
Tue, 6 Jan 2009 21:42:43 +0000 (21:42 -0000)
target/linux/Makefile.in.advanced

index d7c07bde1418463061c602587d23a0d7db66bdc2..e9483b94ac8c49880a3f0427cea8505fa7f37417 100644 (file)
@@ -190,7 +190,8 @@ LINUX26_MAKE_FLAGS = HOSTCC="$(HOSTCC)" HOSTCFLAGS="$(HOSTCFLAGS)" \
        INSTALL_MOD_PATH=$(TARGET_DIR) \
        CROSS_COMPILE=$(KERNEL_CROSS) \
        LDFLAGS="$(TARGET_LDFLAGS)" \
-       LZMA="$(LZMA)"
+       LZMA="$(LZMA)" \
+       PATH=$(STAGING_DIR)/usr/bin:$(PATH)
 
 # =============================================================================
 # ifneq ($(strip $(LINUX26_VERSION)),$(strip $(LINUX_HEADERS_VERSION)))