diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk index 1b26a39..eb9fa5a 100644 --- a/debian/rules.d/2-binary-arch.mk +++ b/debian/rules.d/2-binary-arch.mk @@ -175,7 +175,13 @@ endif sed -e 's/.*CONFIG_DEBUG_INFO=.*/# CONFIG_DEBUG_INFO is not set/ $(hdrdir)/.config chmod 644 $(hdrdir)/.config +ifeq ($(CROSS_COMPILE),) $(kmake) O=$(hdrdir) -j1 silentoldconfig prepare scripts +else + $(kmake) HOSTCC=$(CROSS_COMPILE)gcc \ + KBUILD_SCRIPTROOT=$(builddir)/build-$* O=$(hdrdir) \ + -j1 silentoldconfig prepare scripts +endif # We'll symlink this stuff rm -f $(hdrdir)/Makefile rm -rf $(hdrdir)/include2
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/666267 Title: Cross compiled headers package breaks DKMS compilation To manage notifications about this bug go to: https://bugs.launchpad.net/dkms/+bug/666267/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs