From b3858ac1e77446b01f4eaf55b08f0097764ee855 Mon Sep 17 00:00:00 2001 From: Nathaniel van Diepen Date: Mon, 27 Nov 2023 11:48:01 -0700 Subject: [PATCH] Specify CROSS_COMPILE to use the correct strip --- package/linux-stracciatella/package | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/linux-stracciatella/package b/package/linux-stracciatella/package index 18f9049f3..3bb424a82 100644 --- a/package/linux-stracciatella/package +++ b/package/linux-stracciatella/package @@ -59,7 +59,7 @@ package() { cp --no-dereference "$srcdir"/arch/arm/boot/dts/zero-sugar.dtb "$staging"/boot/zero-sugar.dtb fi - ARCH=arm make -C "$srcdir" modules_install INSTALL_MOD_PATH="$staging" INSTALL_MOD_STRIP=1 + CROSS_COMPILE=arm-linux-gnueabihf- ARCH=arm make -C "$srcdir" modules_install INSTALL_MOD_PATH="$staging" INSTALL_MOD_STRIP=1 rm "$staging"/lib/modules/*/{source,build} # Create the kernel archive