]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
scripts/update-linux-headers.sh: Fix the path of setup_data.h
authorThomas Huth <thuth@redhat.com>
Mon, 27 May 2024 06:01:26 +0000 (08:01 +0200)
committerThomas Huth <thuth@redhat.com>
Wed, 29 May 2024 10:41:56 +0000 (12:41 +0200)
When running the update-linx-headers.sh script, it currently fails with:

scripts/update-linux-headers.sh: line 73: .../qemu/standard-headers/asm-x86/setup_data.h: No such file or directory

The "include" folder is obviously missing here - no clue how this could
have worked before?

Fixes: 66210a1a30 ("scripts/update-linux-headers: Add setup_data.h to import list")
Message-ID: <20240527060126.12578-1-thuth@redhat.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
scripts/update-linux-headers.sh

index fbf7e119bcbf519745a05f653dac2d26dbbd8be2..23afe8c08ade4b7fc4e599ea61bafcef03719a95 100755 (executable)
@@ -159,7 +159,7 @@ for arch in $ARCHLIST; do
         cp_portable "$hdrdir/bootparam.h" \
                     "$output/include/standard-headers/asm-$arch"
         cp_portable "$hdrdir/include/asm/setup_data.h" \
-                    "$output/standard-headers/asm-x86"
+                    "$output/include/standard-headers/asm-x86"
     fi
     if [ $arch = riscv ]; then
         cp "$hdrdir/include/asm/ptrace.h" "$output/linux-headers/asm-riscv/"