From c886a85f58dfd926ee4c9f65c5941de0e1484a10 Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Sat, 20 May 2017 07:53:24 +0100 Subject: [PATCH] Buildroot config fragment to separate file --- buildroot_config_fragment | 4 ++++ run | 7 +------ 2 files changed, 5 insertions(+), 6 deletions(-) create mode 100644 buildroot_config_fragment diff --git a/buildroot_config_fragment b/buildroot_config_fragment new file mode 100644 index 0000000..8065508 --- /dev/null +++ b/buildroot_config_fragment @@ -0,0 +1,4 @@ +BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="../kernel_config_fragment" +BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="../busybox_config_fragment" +BR2_PACKAGE_KERNEL_MODULE=y +BR2_ROOTFS_OVERLAY="../rootfs_overlay" diff --git a/run b/run index f447666..c16b9dd 100755 --- a/run +++ b/run @@ -21,12 +21,7 @@ fi # Work. cd buildroot make BR2_EXTERNAL="$(pwd)/../kernel_module" qemu_x86_64_defconfig -echo ' -BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="../kernel_config_fragment" -BR2_PACKAGE_BUSYBOX_CONFIG_FRAGMENT_FILES="../busybox_config_fragment" -BR2_PACKAGE_KERNEL_MODULE=y -BR2_ROOTFS_OVERLAY="../rootfs_overlay" -' >> .config +cat ../buildroot_config_fragment >> .config env -u LD_LIBRARY_PATH make BR2_JLEVEL="$(($(nproc) - 2))" kernel_module-rebuild all qemu-system-x86_64 \ -M pc \