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

Tim Gardner tim.gardner at canonical.com
Tue Oct 2 19:11:33 UTC 2012


BugLink: http://bugs.launchpad.net/bugs/505420

Signed-off-by: Tim Gardner <tim.gardner at 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
-- 
1.7.9.5





More information about the kernel-team mailing list