Skip to contentSkip to conversation

fix build w/ "--with-patched-kernel" on Ubuntu 8.10

PATCH Applied Nolan 2 participants 2 messages Dec 17, 2008 – Dec 24, 2008 KVM

lore
Share & tools
lore

Nolan

author
#0 lore raw

PATCH 1/1 fix build w/ "--with-patched-kernel" on Ubuntu 8.10

And presumably any other distribution that puts only symlinks in /lib/modules/<kernel>/build/...

Signed-off-by Nolan Leake <nolan <at> sigbus.net>
kernel/Makefile +2 -2
index 8315e3d..6bf474b 100644
@@ -65,12 +65,12 @@ headers-new = $(LINUX)/arch/$(ARCH_DIR)/include/asm/./kvm*.h \
 
 header-sync:
 	rm -rf $T
-	rsync -R \
+	rsync -R -L \
 	     "$(LINUX)"/./include/linux/kvm*.h \
 	     $(if $(wildcard $(headers-old)), $(headers-old)) \
              $T/
 	$(if $(wildcard $(headers-new)), \
-	rsync -R \
+	rsync -R -L \
 	     $(wildcard $(headers-new)) \
              $T/include/asm-$(ARCH_DIR)/)
 
Applied
#1 lore raw
Quoted 4 lines · Nolan

And presumably any other distribution that puts only symlinks in /lib/modules/<kernel>/build/...

Applied, thanks.

Signature · 1 line
error compiling committee.c: too many arguments to function