msm: camera: common: Add camera banner
camera_banner contains compilation timestamp, which can be used to find mismatch between ramdump and symbols. CRs-Fixed: 3261129 Change-Id: I021f6f9417b227d07a4424f7522e27c8535b0363 Signed-off-by: Trishansh Bhardwaj <quic_tbhardwa@quicinc.com>
This commit is contained in:

committed by
Camera Software Integration

vanhempi
28ef245c26
commit
58fab0efe0
11
Makefile
11
Makefile
@@ -6,6 +6,17 @@ KBUILD_OPTIONS += MODNAME=camera
|
||||
|
||||
all: modules
|
||||
|
||||
CAMERA_COMPILE_TIME = $(shell date)
|
||||
CAMERA_COMPILE_BY = $(shell whoami | sed 's/\\/\\\\/')
|
||||
CAMERA_COMPILE_HOST = $(shell uname -n)
|
||||
|
||||
cam_generated_h: $(shell find . -iname "*.c") $(shell find . -iname "*.h") $(shell find . -iname "*.mk")
|
||||
echo '#define CAMERA_COMPILE_TIME "$(CAMERA_COMPILE_TIME)"' > cam_generated_h
|
||||
echo '#define CAMERA_COMPILE_BY "$(CAMERA_COMPILE_BY)"' >> cam_generated_h
|
||||
echo '#define CAMERA_COMPILE_HOST "$(CAMERA_COMPILE_HOST)"' >> cam_generated_h
|
||||
|
||||
modules: cam_generated_h
|
||||
|
||||
modules dtbs:
|
||||
$(MAKE) -C $(KERNEL_SRC) M=$(M) modules $(KBUILD_OPTIONS)
|
||||
|
||||
|
Viittaa uudesa ongelmassa
Block a user