summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-18 15:20:28 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-18 15:20:28 +0100
commitcc2ad83623905e8823e3d40c9575e2b1422ac9b4 (patch)
treec0eb88242e8de2588944fab5f911b1ce99457978 /mk
parent300e48e56f135fb7bfd472a03df70c8c4f4db90a (diff)
parent7f43a8279028f843b636146e525b9ccc1a5168a6 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'mk')
-rw-r--r--mk/image.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/image.mk b/mk/image.mk
index bbe9d47ac..ff95c5cb0 100644
--- a/mk/image.mk
+++ b/mk/image.mk
@@ -224,8 +224,8 @@ ifeq ($(ADK_KERNEL_COMP_BZIP2),y)
echo "CONFIG_INITRAMFS_COMPRESSION_BZIP2=y" >> ${LINUX_DIR}/.config
endif
@-rm $(LINUX_DIR)/usr/initramfs_data.cpio* 2>/dev/null
- $(MAKE) -C $(LINUX_DIR) V=1 CROSS_COMPILE="$(TARGET_CROSS)" \
- ARCH=$(ARCH) CC="$(TARGET_CC)" -j${ADK_MAKE_JOBS} $(ADK_TARGET_KERNEL) $(MAKE_TRACE)
+ env $(KERNEL_MAKE_ENV) $(MAKE) -C $(LINUX_DIR) $(KERNEL_MAKE_OPTS) \
+ -j${ADK_MAKE_JOBS} $(ADK_TARGET_KERNEL) $(MAKE_TRACE)
${FW_DIR}/${ROOTFSISO}: ${TARGET_DIR} kernel-package
mkdir -p ${TARGET_DIR}/boot/syslinux