diff options
author | Roger Monk <r-monk@ti.com> | 2010-04-22 02:33:51 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-04-22 13:21:56 +0200 |
commit | ac81f608727d7a72ac0f3713a5de61f463dc3752 (patch) | |
tree | a951fea5a3bbdda306ab6bb6dec18fdeac9aea91 /recipes/ti/ti-local-power-manager | |
parent | 2f85692b78f9bdda5adc4ca66ea3574688b64bbb (diff) |
ti-local-power-manager: Remove OPT from LPM sources using #define
* OPT Argument Decorator is no longer used/supported in latest dsplink versions
* LPM implements some callback functions from DSPLINK which used this decorator
* 'Void _TAL_translateCallback (IN Uint32, IN OPT Pvoid, IN OPT Pvoid);'
* Remove by passing -DOPT="" to LPM build
* Safe to remove for building against older DSPLINK versions as well
* Bump PR
Signed-off-by: Roger Monk <r-monk@ti.com>
Signed-off-by: Koen Kooi <koen@openembedded.org>
Diffstat (limited to 'recipes/ti/ti-local-power-manager')
-rw-r--r-- | recipes/ti/ti-local-power-manager/lpm-1_24_01-replace-define-OPT.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/ti/ti-local-power-manager/lpm-1_24_01-replace-define-OPT.patch b/recipes/ti/ti-local-power-manager/lpm-1_24_01-replace-define-OPT.patch new file mode 100644 index 0000000000..120792b891 --- /dev/null +++ b/recipes/ti/ti-local-power-manager/lpm-1_24_01-replace-define-OPT.patch @@ -0,0 +1,24 @@ +diff -uNr local_power_manager_linux_1_24_01_orig/packages/ti/bios/power/modules/dm6446/lpm/Makefile local_power_manager_linux_1_24_01/packages/ti/bios/power/modules/dm6446/lpm/Makefile +--- local_power_manager_linux_1_24_01_orig/packages/ti/bios/power/modules/dm6446/lpm/Makefile 2009-07-22 23:10:04.000000000 -0500 ++++ local_power_manager_linux_1_24_01/packages/ti/bios/power/modules/dm6446/lpm/Makefile 2010-04-16 15:26:14.000000000 -0500 +@@ -54,7 +54,7 @@ + endif + + MAKE_OPTS = ARCH=arm CROSS_COMPILE=$(MVTOOL_PREFIX) +-CFLAGS = -DUSE_UDEV -DOS_LINUX -DLINUX_KERNEL \ ++CFLAGS = -DUSE_UDEV -DOS_LINUX -DLINUX_KERNEL -DOPT="" \ + $(LINK_DEFS) $(LINK_INCS) $(LINK_INCS_INTERNAL) + + # Invoke the kernel build system +diff -uNr local_power_manager_linux_1_24_01_orig/packages/ti/bios/power/modules/omap3530/lpm/Makefile local_power_manager_linux_1_24_01/packages/ti/bios/power/modules/omap3530/lpm/Makefile +--- local_power_manager_linux_1_24_01_orig/packages/ti/bios/power/modules/omap3530/lpm/Makefile 2009-07-22 23:10:05.000000000 -0500 ++++ local_power_manager_linux_1_24_01/packages/ti/bios/power/modules/omap3530/lpm/Makefile 2010-04-16 15:26:38.000000000 -0500 +@@ -54,7 +54,7 @@ + endif + + MAKE_OPTS = ARCH=arm CROSS_COMPILE=$(MVTOOL_PREFIX) +-CFLAGS = -DUSE_UDEV -DOS_LINUX -DLINUX_KERNEL \ ++CFLAGS = -DUSE_UDEV -DOS_LINUX -DLINUX_KERNEL -DOPT="" \ + $(LINK_DEFS) $(LINK_INCS) $(LINK_INCS_INTERNAL) + + # Invoke the kernel build system |