summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Gromm <christian.gromm@microchip.com>2016-07-08 13:34:29 +0200
committerChristian Gromm <christian.gromm@microchip.com>2016-07-08 13:34:29 +0200
commitad245bdd60434dd46d6461f585d49db1b3b0d75b (patch)
treea4078e65ac2af742e948190709d785b9b76b6e65
parentee4a2f86f1f0f9eee3ce4afdcf0228fb237eb04b (diff)
src: most: driver: adapt makefiles
This patch adapts the makefiles to the directory structure Change-Id: I310dd83921f672b64b9b8369fd816067bed5ccfe Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
-rw-r--r--driver/aim-cdev/Makefile2
-rw-r--r--driver/aim-network/Makefile2
-rw-r--r--driver/aim-sound/Makefile2
-rw-r--r--driver/aim-v4l2/Makefile2
-rw-r--r--driver/hdm-dim2/Makefile2
-rw-r--r--driver/hdm-i2c/Makefile2
-rw-r--r--driver/hdm-usb/Makefile2
-rw-r--r--driver/include/networking.h (renamed from driver/aim-network/networking.h)0
8 files changed, 7 insertions, 7 deletions
diff --git a/driver/aim-cdev/Makefile b/driver/aim-cdev/Makefile
index 05853c2..c49a1f3 100644
--- a/driver/aim-cdev/Makefile
+++ b/driver/aim-cdev/Makefile
@@ -5,7 +5,7 @@ SRC := $(shell pwd)
obj-m += aim_cdev.o
aim_cdev-y := cdev.o
-CFLAGS_cdev.o := -I$(src)/../../mostcore/files/
+CFLAGS_cdev.o := -I$(src)/../include/
all:
$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules
diff --git a/driver/aim-network/Makefile b/driver/aim-network/Makefile
index 75314ff..93d6570 100644
--- a/driver/aim-network/Makefile
+++ b/driver/aim-network/Makefile
@@ -5,7 +5,7 @@ SRC := $(shell pwd)
obj-m := aim_network.o
aim_network-y := networking.o
-CFLAGS_networking.o := -I$(src)/../../mostcore/files/
+CFLAGS_networking.o := -I$(src)/../include/
all:
$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules
diff --git a/driver/aim-sound/Makefile b/driver/aim-sound/Makefile
index 9defcc5..5c07108 100644
--- a/driver/aim-sound/Makefile
+++ b/driver/aim-sound/Makefile
@@ -5,7 +5,7 @@ SRC := $(shell pwd)
obj-m += aim_sound.o
aim_sound-y := sound.o
-CFLAGS_sound.o := -I$(src)/../../mostcore/files/
+CFLAGS_sound.o := -I$(src)/../include/
all:
$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules
diff --git a/driver/aim-v4l2/Makefile b/driver/aim-v4l2/Makefile
index 4bf1be7..106ed2a 100644
--- a/driver/aim-v4l2/Makefile
+++ b/driver/aim-v4l2/Makefile
@@ -5,7 +5,7 @@ SRC := $(shell pwd)
obj-m += aim_v4l2.o
aim_v4l2-y := video.o
-CFLAGS_video.o := -Idrivers/media/video -I$(src)/../../mostcore/files/
+CFLAGS_video.o := -Idrivers/media/video -I$(src)/../include/
all:
$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules
diff --git a/driver/hdm-dim2/Makefile b/driver/hdm-dim2/Makefile
index a9dc62a..8ffaa23 100644
--- a/driver/hdm-dim2/Makefile
+++ b/driver/hdm-dim2/Makefile
@@ -5,7 +5,7 @@ SRC := $(shell pwd)
obj-m += hdm_dim2.o
hdm_dim2-y := dim2_hdm.o dim2_hal.o dim2_sysfs.o
-CFLAGS_dim2_hdm.o := -I$(src)/../../mostcore/files -I$(src)/../../aim-network/files
+CFLAGS_dim2_hdm.o := -I$(src)/../include/
all:
$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules
diff --git a/driver/hdm-i2c/Makefile b/driver/hdm-i2c/Makefile
index 1b96141..5117dbe 100644
--- a/driver/hdm-i2c/Makefile
+++ b/driver/hdm-i2c/Makefile
@@ -4,7 +4,7 @@
SRC := $(shell pwd)
obj-m += hdm_i2c.o
-CFLAGS_hdm_i2c.o := -I$(src)/../../mostcore/files
+CFLAGS_hdm_i2c.o := -I$(src)/../include/
all:
$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules
diff --git a/driver/hdm-usb/Makefile b/driver/hdm-usb/Makefile
index 0714f6b..28ab832 100644
--- a/driver/hdm-usb/Makefile
+++ b/driver/hdm-usb/Makefile
@@ -4,7 +4,7 @@
SRC := $(shell pwd)
obj-m += hdm_usb.o
-CFLAGS_hdm_usb.o := -I$(src)/../../aim-network/files/ -I$(src)/../../mostcore/files
+CFLAGS_hdm_usb.o := -I$(src)/../include/
all:
$(MAKE) -C $(KERNEL_SRC) M=$(SRC) modules
diff --git a/driver/aim-network/networking.h b/driver/include/networking.h
index 6f346d4..6f346d4 100644
--- a/driver/aim-network/networking.h
+++ b/driver/include/networking.h