forked from raspberrypi/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
KERNEL=kernel | ||
NUM_CPUS=16 | ||
export ARCH=arm | ||
export CROSS_COMPILE=arm-linux-gnueabihf- | ||
export INSTALL_PATH=../install | ||
export INSTALL_DTBS_PATH=../install/dtbs | ||
mkdir -p ${INSTALL_PATH} | ||
mkdir -p ${INSTALL_PATH}/dtbs | ||
make -j${NUM_CPUS} zImage modules dtbs && ( | ||
make INSTALL_MOD_PATH=${INSTALL_PATH} modules_install | ||
cp arch/arm/boot/zImage ${INSTALL_PATH}/kernel.img | ||
make dtbs_install INSTALL_DTBS_PATH=${INSTALL_DTBS_PATH} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
KERNEL=kernel7 | ||
NUM_CPUS=16 | ||
export ARCH=arm | ||
export CROSS_COMPILE=arm-linux-gnueabihf- | ||
export INSTALL_PATH=../install | ||
export INSTALL_DTBS_PATH=../install/dtbs | ||
mkdir -p ${INSTALL_PATH} | ||
mkdir -p ${INSTALL_PATH}/dtbs | ||
make -j${NUM_CPUS} zImage modules dtbs && ( | ||
make INSTALL_MOD_PATH=${INSTALL_PATH} modules_install | ||
cp arch/arm/boot/zImage ${INSTALL_PATH}/kernel7.img | ||
make dtbs_install INSTALL_DTBS_PATH=${INSTALL_DTBS_PATH} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
KERNEL=kernel | ||
export CROSS_COMPILE=arm-linux-gnueabihf- | ||
export ARCH=arm | ||
if [ ! -f .config ]; then | ||
make bcmrpi_xenomai3_defconfig | ||
else | ||
make oldconfig | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
KERNEL=kernel7 | ||
export CROSS_COMPILE=arm-linux-gnueabihf- | ||
export ARCH=arm | ||
if [ ! -f .config ]; then | ||
make bcm2709_xenomai3_defconfig | ||
else | ||
make oldconfig | ||
fi |