[glsdk/meta-ti-glsdk.git] / recipes-ti / local-power-manager / ti-local-power-manager / lpm-1_24_01-replace-define-OPT.patch
1 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
2 --- local_power_manager_linux_1_24_01_orig/packages/ti/bios/power/modules/dm6446/lpm/Makefile 2009-07-22 23:10:04.000000000 -0500
3 +++ local_power_manager_linux_1_24_01/packages/ti/bios/power/modules/dm6446/lpm/Makefile 2010-04-16 15:26:14.000000000 -0500
4 @@ -54,7 +54,7 @@
5 endif
7 MAKE_OPTS = ARCH=arm CROSS_COMPILE=$(MVTOOL_PREFIX)
8 -CFLAGS = -DUSE_UDEV -DOS_LINUX -DLINUX_KERNEL \
9 +CFLAGS = -DUSE_UDEV -DOS_LINUX -DLINUX_KERNEL -DOPT="" \
10 $(LINK_DEFS) $(LINK_INCS) $(LINK_INCS_INTERNAL)
12 # Invoke the kernel build system
13 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
14 --- local_power_manager_linux_1_24_01_orig/packages/ti/bios/power/modules/omap3530/lpm/Makefile 2009-07-22 23:10:05.000000000 -0500
15 +++ local_power_manager_linux_1_24_01/packages/ti/bios/power/modules/omap3530/lpm/Makefile 2010-04-16 15:26:38.000000000 -0500
16 @@ -54,7 +54,7 @@
17 endif
19 MAKE_OPTS = ARCH=arm CROSS_COMPILE=$(MVTOOL_PREFIX)
20 -CFLAGS = -DUSE_UDEV -DOS_LINUX -DLINUX_KERNEL \
21 +CFLAGS = -DUSE_UDEV -DOS_LINUX -DLINUX_KERNEL -DOPT="" \
22 $(LINK_DEFS) $(LINK_INCS) $(LINK_INCS_INTERNAL)
24 # Invoke the kernel build system