Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

loadable modules proof-of-concept #5

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions kernel/packages/prawnos-linux-image-armhf/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ $(PACKAGE_NAME_ORIG_TAR):
rm -rf $(ORIG)
rm -f $(PACKAGE)_*-*.orig.tar.gz
mkdir $(ORIG)
mkdir -p $(ORIG)/lib
cp -r $(PRAWNOS_KERNEL_BUILD)/lib/modules $(ORIG)/lib/
cp $(PRAWNOS_KERNEL_BUILT) $(ORIG)/$(PACKAGE_NAME_ORIG)
cp $(PRAWNOS_KERNEL_RESOURCES_SHARED)/FlashKernelPartition.sh $(ORIG)/
tar -czf $(PACKAGE_NAME_ORIG_TAR) -C $(ORIG)/ .
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
lib/modules
prawnos-linux-image-armhf* boot
FlashKernelPartition.sh etc/prawnos/kernel
3 changes: 2 additions & 1 deletion scripts/BuildScripts/KernelScripts/buildKernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ else
sleep 10
fi

make -j $(($(nproc) +1)) CROSS_COMPILE=$CROSS_COMPILER ARCH=$KERNEL_ARCH $IMAGE
make -j $(($(nproc) +1)) CROSS_COMPILE=$CROSS_COMPILER ARCH=$KERNEL_ARCH $IMAGE modules
make -j $(($(nproc) +1)) CROSS_COMPILE=$CROSS_COMPILER ARCH=$KERNEL_ARCH INSTALL_MOD_PATH=. modules_install
make -j $(($(nproc) +1)) CROSS_COMPILE=$CROSS_COMPILER ARCH=$KERNEL_ARCH DTC_FLAGS="-@" dtbs
mkimage -D "-I dts -O dtb -p 2048" -f kernel.its vmlinux.uimg
dd if=/dev/zero of=bootloader.bin bs=512 count=1
Expand Down