mirror of
https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9.git
synced 2026-09-09 00:08:12 +08:00
staging: vc04_services: vchiq-mmal: Drop include Makefile directive
JIRA: https://issues.redhat.com/browse/RHEL-107194 commit 74d5eb7de9b07e24b5257c6e62e8589f2084f10e Author: Umang Jain <umang.jain@ideasonboard.com> Date: Sat Jan 21 01:41:02 2023 +0530 staging: vc04_services: vchiq-mmal: Drop include Makefile directive Drop the include directive. They can break the build, when one only wants to build a subdirectory. Replace with "../" for the includes, in the mmal-vchiq.c instead. Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Umang Jain <umang.jain@ideasonboard.com> Link: https://lore.kernel.org/r/20230120201104.606876-5-umang.jain@ideasonboard.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Conflicts: - drivers/staging/vc04_services/vchiq-mmal/Makefile: keep -D__VCCOREVER__=0x04000000 since rhel-9 codebase is different, we want to remove only the $(srctree)/$(src) usage Signed-off-by: Herton R. Krzesinski <herton@redhat.com>
This commit is contained in:
@@ -3,7 +3,4 @@ bcm2835-mmal-vchiq-objs := mmal-vchiq.o
|
||||
|
||||
obj-$(CONFIG_BCM2835_VCHIQ_MMAL) += bcm2835-mmal-vchiq.o
|
||||
|
||||
ccflags-y += \
|
||||
-I$(srctree)/$(src)/.. \
|
||||
-I$(srctree)/$(src)/../include \
|
||||
-D__VCCOREVER__=0x04000000
|
||||
ccflags-y += -D__VCCOREVER__=0x04000000
|
||||
|
||||
@@ -23,9 +23,9 @@
|
||||
#include <linux/slab.h>
|
||||
#include <linux/completion.h>
|
||||
#include <linux/vmalloc.h>
|
||||
#include <linux/raspberrypi/vchiq.h>
|
||||
#include <media/videobuf2-vmalloc.h>
|
||||
|
||||
#include "../include/linux/raspberrypi/vchiq.h"
|
||||
#include "mmal-common.h"
|
||||
#include "mmal-vchiq.h"
|
||||
#include "mmal-msg.h"
|
||||
|
||||
Reference in New Issue
Block a user