Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-v86d: Commit

external/v86d


Commit MetaInfo

Revision0668de5c1850a8b925c267f15f41b75c32854094 (tree)
Time2012-12-24 01:33:57
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

fix compiling issues for kernel 3.7

Change Summary

Incremental Difference

--- a/Android.mk
+++ b/Android.mk
@@ -10,6 +10,12 @@ LOCAL_PATH := $(call my-dir)
1010
1111 include $(CLEAR_VARS)
1212
13+KERNEL_DIR ?= kernel
14+CONNECTOR_H := $(wildcard $(KERNEL_DIR)/include/uapi/linux/connector.h)
15+LOCAL_CFLAGS += \
16+ -include $(KERNEL_DIR)/include/video/uvesafb.h \
17+ -include $(if $(CONNECTOR_H),$(CONNECTOR_H),$(KERNEL_DIR)/include/linux/connector.h)
18+
1319 LOCAL_SRC_FILES := \
1420 v86.c \
1521 v86_lrmi.c \
--- a/v86.h
+++ b/v86.h
@@ -18,10 +18,7 @@
1818
1919 struct completion;
2020
21-#ifdef __ANDROID__
22-#include "../../kernel/include/linux/connector.h"
23-#include "../../kernel/include/video/uvesafb.h"
24-#else
21+#ifndef __ANDROID__
2522 #include <linux/connector.h>
2623 #include <video/uvesafb.h>
2724 #endif
Show on old repository browser