On Tue, Nov 13, 2018 at 3:46 PM Sedat Dilek <sedat.dilek@xxxxxxxxx> wrote: > > Hi, > > I wanted to compile acpi-call-dkms on Debian/testing AMD64 with > clang-8/experimental. > > When doing a... > > # LC_ALL=C dkms install -m acpi-call -v 1.1.0 -k 4.20.0-rc2-2-amd64-cbl > > ...I saw that arch/x86/kernel/macros.s file was missing. > > My workaround was... > > $ cd $BUILD_DIR > $ sudo cp -av arch/x86/kernel/macros.s > /usr/src/linux-headers-4.20.0-rc2-2-amd64-cbl/arch/x86/kernel/ > > I guess the generated linux-headers debian package is missing this file. > > I wanted to let you and others know. > Hi, where is the right place to put a cp-line to copy the missing arch/x86/kernel/macro.s file? In the section of [1]? [ scripts/package/builddeb ] # Build kernel header package (cd $srctree; find . -name Makefile\* -o -name Kconfig\* -o -name \*.pl) > "$objtree/debian/hdrsrcfiles" (cd $srctree; find arch/*/include include scripts -type f -o -type l) >> "$objtree/debian/hdrsrcfiles" (cd $srctree; find arch/$SRCARCH -name module.lds -o -name Kbuild.platforms -o -name Platform) >> "$objtree/debian/hdrsrcfi Is the macro.s file only generated for x86 arch only or also for other archs? Thanks for your feedback. Regards, - Sedat - [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/scripts/package/builddeb#n156