diff options
| author | Mike Looijmans <mike.looijmans@topic.nl> | 2016-07-26 12:03:51 +0200 |
|---|---|---|
| committer | Nathan Rossi <nathan@nathanrossi.com> | 2016-08-07 23:31:33 +1000 |
| commit | a1e466819420be7a750cf837fabb2e416ea971e8 (patch) | |
| tree | 65570029c7d63d400fd52b7c1d4edc0e5324a8ae /recipes-graphics/mali/kernel-module-mali | |
| parent | e10e81aa52260fd32a4c1b3d32ebe8c6d9e8abf9 (diff) | |
| download | meta-xilinx-a1e466819420be7a750cf837fabb2e416ea971e8.tar.gz | |
Rename "mali-modules.bb" to "kernel-module-mali.bb"
Since the recipe only actually produces a package called "kernel-module-mali",
it's logical to just name it "kernel-module-mali.bb".
Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Diffstat (limited to 'recipes-graphics/mali/kernel-module-mali')
| -rw-r--r-- | recipes-graphics/mali/kernel-module-mali/Makefile.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes-graphics/mali/kernel-module-mali/Makefile.patch b/recipes-graphics/mali/kernel-module-mali/Makefile.patch new file mode 100644 index 00000000..0f056875 --- /dev/null +++ b/recipes-graphics/mali/kernel-module-mali/Makefile.patch | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | Change Makefile to be compatible with Yocto | ||
| 2 | |||
| 3 | Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | ||
| 4 | Upstream Status: Pending | ||
| 5 | --- driver/src/devicedrv/mali/Makefile 2015-03-29 20:38:45.000000000 -0700 | ||
| 6 | +++ b/Makefile 2016-01-26 20:13:56.053436042 -0800 | ||
| 7 | @@ -85,7 +85,11 @@ | ||
| 8 | # Define host system directory | ||
| 9 | KDIR-$(shell uname -m):=/lib/modules/$(shell uname -r)/build | ||
| 10 | |||
| 11 | -include $(KDIR)/.config | ||
| 12 | +ifeq ($(O),) | ||
| 13 | + include $(KDIR)/.config | ||
| 14 | +else | ||
| 15 | + include $(O)/.config | ||
| 16 | +endif | ||
| 17 | |||
| 18 | ifeq ($(ARCH), arm) | ||
| 19 | # when compiling for ARM we're cross compiling | ||
| 20 | @@ -170,10 +174,15 @@ | ||
| 21 | EXTRA_DEFINES += -DPROFILING_SKIP_PP_JOBS=1 -DPROFILING_SKIP_GP_JOBS=1 | ||
| 22 | endif | ||
| 23 | |||
| 24 | +EXTRA_DEFINES += -Wno-error=date-time | ||
| 25 | + | ||
| 26 | all: $(UMP_SYMVERS_FILE) | ||
| 27 | - $(MAKE) ARCH=$(ARCH) -C $(KDIR) M=$(CURDIR) modules | ||
| 28 | + $(MAKE) ARCH=$(ARCH) -C $(KDIR) M=$(CURDIR) O=$(O) modules | ||
| 29 | @rm $(FILES_PREFIX)__malidrv_build_info.c $(FILES_PREFIX)__malidrv_build_info.o | ||
| 30 | |||
| 31 | +modules_install: | ||
| 32 | + $(MAKE) ARCH=$(ARCH) -C $(KDIR) M=$(CURDIR) modules_install | ||
| 33 | + | ||
| 34 | clean: | ||
| 35 | $(MAKE) ARCH=$(ARCH) -C $(KDIR) M=$(CURDIR) clean | ||
| 36 | |||
