Patchwork [Lucid,SRU] UBUNTU: SAUCE: omnibook: Expose PWD for standalone builds

login
register
mail settings
Submitter Tim Gardner
Date Oct. 2, 2012, 7:11 p.m.
Message ID <1349205093-78428-1-git-send-email-tim.gardner@canonical.com>
Download mbox | patch
Permalink /patch/188633/
State New
Headers show

Comments

Tim Gardner - Oct. 2, 2012, 7:11 p.m.
BugLink: http://bugs.launchpad.net/bugs/505420

Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
---
 ubuntu/omnibook/Makefile |    4 ++++
 1 file changed, 4 insertions(+)
Brad Figg - Oct. 2, 2012, 7:38 p.m.
On 10/02/2012 12:11 PM, Tim Gardner wrote:
> BugLink: http://bugs.launchpad.net/bugs/505420
> 
> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
> ---
>  ubuntu/omnibook/Makefile |    4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/ubuntu/omnibook/Makefile b/ubuntu/omnibook/Makefile
> index fcde1fa..2a69a5c 100644
> --- a/ubuntu/omnibook/Makefile
> +++ b/ubuntu/omnibook/Makefile
> @@ -156,6 +156,10 @@ endif
>  
>  endif
>  
> +ifeq ($(PWD),)
> +PWD = $(shell pwd)
> +endif
> +
>  EXTRA_CFLAGS += -DOMNIBOOK_MODULE_NAME='"$(MODULE_NAME)"'
>  #EXTRA_LDFLAGS +=  $(src)/sections.lds
>  EXTRA_LDFLAGS += $(PWD)/ubuntu/omnibook/sections.lds
>
Colin King - Oct. 3, 2012, 11:01 a.m.
On 02/10/12 20:11, Tim Gardner wrote:
> BugLink: http://bugs.launchpad.net/bugs/505420
>
> Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
> ---
>   ubuntu/omnibook/Makefile |    4 ++++
>   1 file changed, 4 insertions(+)
>
> diff --git a/ubuntu/omnibook/Makefile b/ubuntu/omnibook/Makefile
> index fcde1fa..2a69a5c 100644
> --- a/ubuntu/omnibook/Makefile
> +++ b/ubuntu/omnibook/Makefile
> @@ -156,6 +156,10 @@ endif
>
>   endif
>
> +ifeq ($(PWD),)
> +PWD = $(shell pwd)
> +endif
> +
>   EXTRA_CFLAGS += -DOMNIBOOK_MODULE_NAME='"$(MODULE_NAME)"'
>   #EXTRA_LDFLAGS +=  $(src)/sections.lds
>   EXTRA_LDFLAGS += $(PWD)/ubuntu/omnibook/sections.lds
>
Acked-by: Colin Ian King <colin.king@canonical.com>
Tim Gardner - Oct. 3, 2012, 12:11 p.m.

Patch

diff --git a/ubuntu/omnibook/Makefile b/ubuntu/omnibook/Makefile
index fcde1fa..2a69a5c 100644
--- a/ubuntu/omnibook/Makefile
+++ b/ubuntu/omnibook/Makefile
@@ -156,6 +156,10 @@  endif
 
 endif
 
+ifeq ($(PWD),)
+PWD = $(shell pwd)
+endif
+
 EXTRA_CFLAGS += -DOMNIBOOK_MODULE_NAME='"$(MODULE_NAME)"'
 #EXTRA_LDFLAGS +=  $(src)/sections.lds
 EXTRA_LDFLAGS += $(PWD)/ubuntu/omnibook/sections.lds