mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
v86d: dont use kernel includedir directly
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -27,4 +27,4 @@ $SCRIPTS/unpack linux
|
||||
cd $PKG_BUILD
|
||||
./configure --with-x86emu
|
||||
|
||||
make KDIR=$(kernel_path)
|
||||
make
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
diff -Naur v86d-0.1.10/Makefile v86d-0.1.10.patch/Makefile
|
||||
--- v86d-0.1.10/Makefile 2011-02-25 22:27:39.000000000 +0100
|
||||
+++ v86d-0.1.10.patch/Makefile 2013-01-14 19:20:13.385465794 +0100
|
||||
@@ -3,14 +3,12 @@
|
||||
.PHONY: clean install install_testvbe x86emu lrmi
|
||||
|
||||
INSTALL = install
|
||||
-KDIR ?= /lib/modules/$(shell uname -r)/source
|
||||
|
||||
ifeq ($(call config_opt,CONFIG_KLIBC),true)
|
||||
export CC = klcc
|
||||
endif
|
||||
|
||||
CFLAGS ?= -Wall -g -O2
|
||||
-CFLAGS += -I$(KDIR)/include
|
||||
|
||||
ifeq ($(call config_opt,CONFIG_X86EMU),true)
|
||||
CFLAGS += -Ilibs/x86emu
|
||||
Reference in New Issue
Block a user