diff --git a/buildroot-external/Config.in b/buildroot-external/Config.in index f1bfc3ed..d1cd5269 100644 --- a/buildroot-external/Config.in +++ b/buildroot-external/Config.in @@ -91,6 +91,7 @@ menu "KDE Framework and Plasma" source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/kf5-sonnet/Config.in" source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/kf5-threadweaver/Config.in" endmenu + source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/ksm-preload/Config.in" source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/libcanberra/Config.in" source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/libre/Config.in" source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/librem/Config.in" diff --git a/buildroot-external/configs/rpi3_64-gui_defconfig b/buildroot-external/configs/rpi3_64-gui_defconfig index a76d487c..90c3abbb 100644 --- a/buildroot-external/configs/rpi3_64-gui_defconfig +++ b/buildroot-external/configs/rpi3_64-gui_defconfig @@ -580,6 +580,7 @@ BR2_PACKAGE_KF5_PLASMA_WAYLAND_PROTOCOLS=y BR2_PACKAGE_KF5_PRISON=y BR2_PACKAGE_KF5_QQC2_BREEZE_STYLE=y BR2_PACKAGE_KF5_QQC2_DESKTOP_STYLE=y +BR2_PACKAGE_KSM_PRELOAD=y BR2_PACKAGE_LIBCANBERRA=y BR2_PACKAGE_LIBRE=y BR2_PACKAGE_LIBREM=y diff --git a/buildroot-external/configs/rpi4_64-gui_defconfig b/buildroot-external/configs/rpi4_64-gui_defconfig index 09f3a854..e3179737 100644 --- a/buildroot-external/configs/rpi4_64-gui_defconfig +++ b/buildroot-external/configs/rpi4_64-gui_defconfig @@ -580,6 +580,7 @@ BR2_PACKAGE_KF5_PLASMA_WAYLAND_PROTOCOLS=y BR2_PACKAGE_KF5_PRISON=y BR2_PACKAGE_KF5_QQC2_BREEZE_STYLE=y BR2_PACKAGE_KF5_QQC2_DESKTOP_STYLE=y +BR2_PACKAGE_KSM_PRELOAD=y BR2_PACKAGE_LIBCANBERRA=y BR2_PACKAGE_LIBRE=y BR2_PACKAGE_LIBREM=y diff --git a/buildroot-external/package/ksm-preload/Config.in b/buildroot-external/package/ksm-preload/Config.in new file mode 100644 index 00000000..5ad5d4e6 --- /dev/null +++ b/buildroot-external/package/ksm-preload/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_KSM_PRELOAD + bool "ksm-preload" + help + Enables legacy applications to leverage Linux's memory deduplication. + + https://github.com/unbrice/ksm_preload + diff --git a/buildroot-external/package/ksm-preload/ksm-preload.hash b/buildroot-external/package/ksm-preload/ksm-preload.hash new file mode 100644 index 00000000..6a838060 --- /dev/null +++ b/buildroot-external/package/ksm-preload/ksm-preload.hash @@ -0,0 +1,2 @@ +# Locally computed +sha256 da823ad1127a7b738a23db10d84879df062c7503cdf05aa406ea812f4c155841 ksm-preload-459df0e8b0d4ba5ede43b7f3e244811dcbbf77f6.tar.gz diff --git a/buildroot-external/package/ksm-preload/ksm-preload.mk b/buildroot-external/package/ksm-preload/ksm-preload.mk new file mode 100644 index 00000000..d92ea463 --- /dev/null +++ b/buildroot-external/package/ksm-preload/ksm-preload.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# ksm-preload +# +################################################################################ + +KSM_PRELOAD_VERSION = 459df0e8b0d4ba5ede43b7f3e244811dcbbf77f6 +KSM_PRELOAD_SITE = $(call github,unbrice,ksm_preload,$(KSM_PRELOAD_VERSION)) +KSM_PRELOAD_LICENSE = GPL-3.0 license + +KSM_PRELOAD_INSTALL_STAGING = YES +KSM_PRELOAD_DEPENDENCIES = host-pkgconf +KSM_PRELOAD_SUPPORTS_IN_SOURCE_BUILD = NO + +$(eval $(cmake-package))