Skip to content

Commit 6e6d5e2

Browse files
committed
add: gpu module include
1 parent 3935275 commit 6e6d5e2

4 files changed

Lines changed: 680 additions & 2 deletions

File tree

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,9 @@ run:
3535
-drive file=$(BUILD_DIR)/tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.rootfs.ext4,if=virtio,format=raw \
3636
-kernel $(BUILD_DIR)/tmp/deploy/images/qemux86-64/bzImage-qemux86-64.bin \
3737
-append "root=/dev/vda"
38-
38+
39+
kernel-config:
40+
bash -c "cd $(POKY_DIR) && source oe-init-build-env ../$(BUILD_DIR) && bitbake -c menuconfig virtual/kernel && bitbake -c savedefconfig virtual/kernel"
41+
echo "Please copy generated kernel config (see above) to meta-custom/recipes-kernel/linux/files/defconfig"
42+
3943
#

config/local.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
152152
# meta/classes-recipe/core-image.bbclass for more details.
153153
# We default to allowing root login without a password for convenience.
154154
EXTRA_IMAGE_FEATURES ?= "allow-empty-password empty-root-password allow-root-login tools-profile tools-testapps ssh-server-openssh hwcodecs package-management doc-pkgs bash-completion-pkgs"
155-
IMAGE_INSTALL:append = " sway mesa wayland xwayland python3 python-i3ipc foot seatd kbd console-tools fontconfig ttf-dejavu-sans ttf-dejavu-sans-mono"
155+
IMAGE_INSTALL:append = " sway mesa wayland xwayland python3 python-i3ipc foot seatd kbd console-tools fontconfig ttf-dejavu-sans ttf-dejavu-sans-mono kernel-modules"
156156
KERNEL_MODULE_AUTOLOAD:append = " virtio_gpu"
157157

158158

0 commit comments

Comments
 (0)