Message ID | 20200104162829.20400-1-masahiroy@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | staging: vc04_service: remove unused header include path | expand |
On Sun, Jan 05, 2020 at 01:28:29AM +0900, Masahiro Yamada wrote: > I can build drivers/staging/vc04_services without this. > > Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> > --- > > drivers/staging/vc04_services/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/staging/vc04_services/Makefile b/drivers/staging/vc04_services/Makefile > index afe43fa5a6d7..54d9e2f31916 100644 > --- a/drivers/staging/vc04_services/Makefile > +++ b/drivers/staging/vc04_services/Makefile > @@ -13,5 +13,5 @@ vchiq-objs := \ > obj-$(CONFIG_SND_BCM2835) += bcm2835-audio/ > obj-$(CONFIG_VIDEO_BCM2835) += bcm2835-camera/ > > -ccflags-y += -Idrivers/staging/vc04_services -D__VCCOREVER__=0x04000000 > +ccflags-y += -D__VCCOREVER__=0x04000000 > > -- This patch breaks the build for me: drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c:6:10: fatal error: interface/vchi/vchi.h: No such file or directory 6 | #include "interface/vchi/vchi.h" | ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. So maybe you did't select all of the modules to build? Sorry, I can't take this as-is :( greg k-h
On Fri, Jan 10, 2020 at 9:24 PM Greg Kroah-Hartman <gregkh@linuxfoundation.org> wrote: > > On Sun, Jan 05, 2020 at 01:28:29AM +0900, Masahiro Yamada wrote: > > I can build drivers/staging/vc04_services without this. > > > > Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> > > --- > > > > drivers/staging/vc04_services/Makefile | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/drivers/staging/vc04_services/Makefile b/drivers/staging/vc04_services/Makefile > > index afe43fa5a6d7..54d9e2f31916 100644 > > --- a/drivers/staging/vc04_services/Makefile > > +++ b/drivers/staging/vc04_services/Makefile > > @@ -13,5 +13,5 @@ vchiq-objs := \ > > obj-$(CONFIG_SND_BCM2835) += bcm2835-audio/ > > obj-$(CONFIG_VIDEO_BCM2835) += bcm2835-camera/ > > > > -ccflags-y += -Idrivers/staging/vc04_services -D__VCCOREVER__=0x04000000 > > +ccflags-y += -D__VCCOREVER__=0x04000000 > > > > -- > > This patch breaks the build for me: > drivers/staging/vc04_services/interface/vchiq_arm/vchiq_shim.c:6:10: fatal error: interface/vchi/vchi.h: No such file or directory > 6 | #include "interface/vchi/vchi.h" > | ^~~~~~~~~~~~~~~~~~~~~~~ > compilation terminated. > > So maybe you did't select all of the modules to build? > > Sorry, I can't take this as-is :( > > greg k-h Sorry, I compile-tested it with O= option. I should have tested it with/without O= for this kind of patch. I will fix up some relative paths.
diff --git a/drivers/staging/vc04_services/Makefile b/drivers/staging/vc04_services/Makefile index afe43fa5a6d7..54d9e2f31916 100644 --- a/drivers/staging/vc04_services/Makefile +++ b/drivers/staging/vc04_services/Makefile @@ -13,5 +13,5 @@ vchiq-objs := \ obj-$(CONFIG_SND_BCM2835) += bcm2835-audio/ obj-$(CONFIG_VIDEO_BCM2835) += bcm2835-camera/ -ccflags-y += -Idrivers/staging/vc04_services -D__VCCOREVER__=0x04000000 +ccflags-y += -D__VCCOREVER__=0x04000000
I can build drivers/staging/vc04_services without this. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> --- drivers/staging/vc04_services/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)