Commit ef7cd0af authored by Guido Gunther's avatar Guido Gunther

kernel-build: Allow to pass options to make via the environment

This allows us to pass in e.g. -j
parent d4dba1e5
......@@ -37,7 +37,7 @@ mkdir -p ${KERNEL_OUTPUT}/boot/dtbs
cp arch/arm/boot/dts/imx6q-nitrogen6*.dtb ${KERNEL_OUTPUT}/boot/dtbs
echo "Copying modules"
make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=${KERNEL_OUTPUT} modules_install
make ${MAKE_OPTS} ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=${KERNEL_OUTPUT} modules_install
cd ${CWD}
......
......@@ -79,7 +79,7 @@ fi
git checkout ${KERNEL_BRANCH}
echo "Building kernel"
make ARCH=${ARCH} CROSS_COMPILE=${CROSS_COMPILER} deb-pkg
make ${MAKE_OPTS} ARCH=${ARCH} CROSS_COMPILE=${CROSS_COMPILER} deb-pkg
echo "Copying kernel"
mkdir -p ${KERNEL_OUTPUT}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment