From d6b08e26d05770047ba360f46250145e7199862f Mon Sep 17 00:00:00 2001 From: Jose V Beneyto Date: Fri, 19 Oct 2012 14:25:40 +0000 Subject: [PATCH] Fixed issue with TOPDIR and PWD --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 78bf31d..4a0e5d6 100644 --- a/Makefile +++ b/Makefile @@ -4,9 +4,9 @@ TARGET = arm-crux-linux-gnueabi -TOPDIR = $(shell pwd) +PWD = $(shell pwd) WORK = $(PWD)/work -CROSSTOOLS = $(TOPDIR)/../../toolchain/crosstools +CROSSTOOLS = $(PWD)/../../toolchain/crosstools KERNEL_VERSION = 3.5.4 @@ -26,7 +26,7 @@ $(WORK)/linux-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION).tar.bz2 config- sed -e 's|`whoami`|devel|' -e 's|`hostname .*`|crux-arm.nu|' -i $(WORK)/linux-$(KERNEL_VERSION)/scripts/mkcompile_h cd $(WORK)/linux-$(KERNEL_VERSION) && \ make mrproper && \ - cp -v $(TOPDIR)/config-$(KERNEL_VERSION) .config && \ + cp -v $(PWD)/config-$(KERNEL_VERSION) .config && \ touch $(WORK)/linux-$(KERNEL_VERSION) $(WORK)/zImage-$(KERNEL_VERSION): $(WORK)/linux-$(KERNEL_VERSION) -- 2.26.2