mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 14:41:39 +00:00
b51aa1cc78
It contains a symlinked header we use; ignore it and clean it up on 'make clean'. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: linux-kernel@vger.kernel.org Signed-off-by: Ingo Molnar <mingo@kernel.org>
15 lines
425 B
Makefile
15 lines
425 B
Makefile
# This creates the demonstration utility "lguest" which runs a Linux guest.
|
|
CFLAGS:=-m32 -Wall -Wmissing-declarations -Wmissing-prototypes -O3 -U_FORTIFY_SOURCE -Iinclude
|
|
|
|
all: lguest
|
|
|
|
include/linux/virtio_types.h: ../../include/uapi/linux/virtio_types.h
|
|
mkdir -p include/linux 2>&1 || true
|
|
ln -sf ../../../../include/uapi/linux/virtio_types.h $@
|
|
|
|
lguest: include/linux/virtio_types.h
|
|
|
|
clean:
|
|
rm -f lguest
|
|
rm -rf include
|