Skip to content

Commit a4942b9

Browse files
CODeRUSdw-0
authored andcommitted
fix: Add pkg-config to klipper packages (#655)
Signed-off-by: Andrey Kozhevnikov <[email protected]>
1 parent 9e0a8a0 commit a4942b9

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

kiauh/components/klipper/klipper_setup.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,9 @@ def install_klipper_packages() -> None:
176176
script = KLIPPER_INSTALL_SCRIPT
177177
packages = parse_packages_from_file(script)
178178

179+
# Add pkg-config for rp2040 build
180+
packages.append("pkg-config")
181+
179182
# Add dbus requirement for DietPi distro
180183
if Path("/boot/dietpi/.version").exists():
181184
packages.append("dbus")

scripts/klipper.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,8 @@ function install_klipper_packages() {
304304
packages=$(grep "PKGLIST=" "${install_script}" | cut -d'"' -f2 | sed 's/\${PKGLIST}//g' | tr -d '\n')
305305
### add dfu-util for octopi-images
306306
packages+=" dfu-util"
307+
### add pkg-config for rp2040 build
308+
packages+=" pkg-config"
307309
### add dbus requirement for DietPi distro
308310
[[ -e "/boot/dietpi/.version" ]] && packages+=" dbus"
309311

0 commit comments

Comments
 (0)