From 3a26da5ca568efee67854a51e2f79b764dbe28fc Mon Sep 17 00:00:00 2001 From: Martin Kudlacek Date: Fri, 14 May 2021 11:23:45 +0200 Subject: [PATCH] Fixing the shell command for stripping --- debian/rules.armhf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules.armhf b/debian/rules.armhf index 5476a3b..9d476f0 100755 --- a/debian/rules.armhf +++ b/debian/rules.armhf @@ -33,7 +33,7 @@ RPI_FIRMWARE_VER = $(shell dpkg-query -f='$${Version}' -W raspberrypi-kernel-hea # this breaks the combined version since it is no longer a number (1.66.1:1.20210430-2) # we will strip the first ":" part # but in dependencies, we need to keep it !!! -RPI_FIRMWARE_VER_STRIPPED = $(echo '$${RPI_FIRMWARE_VER}' | cut -d":" -f 2-) +RPI_FIRMWARE_VER_STRIPPED = $(shell echo "$RPI_FIRMWARE_VER' | cut -d":" -f 2-) LINUX_DIR_PATH = $(shell dpkg -L raspberrypi-kernel-headers | sed -n '/^\/lib\/modules\/.*-v7.*\/build$$/p') KERNEL_VERSION = $(subst /lib/modules/,,$(subst /build,,$(LINUX_DIR_PATH))) else -- 2.34.1