From patchwork Tue Oct 2 19:11:33 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [Lucid, SRU] UBUNTU: SAUCE: omnibook: Expose PWD for standalone builds From: Tim Gardner X-Patchwork-Id: 188633 Message-Id: <1349205093-78428-1-git-send-email-tim.gardner@canonical.com> To: kernel-team@lists.ubuntu.com Date: Tue, 2 Oct 2012 13:11:33 -0600 BugLink: http://bugs.launchpad.net/bugs/505420 Signed-off-by: Tim Gardner Acked-by: Colin Ian King --- 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