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:
Herton R. Krzesinski
2025-08-18 16:15:07 -03:00
parent 56a0907a08
commit face1fe575
2 changed files with 2 additions and 5 deletions
@@ -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"