From: Jose V Beneyto Date: Fri, 19 Oct 2012 14:25:40 +0000 (+0000) Subject: Fixed issue with TOPDIR and PWD X-Git-Url: http://gitweb/?a=commitdiff_plain;h=d6b08e26d05770047ba360f46250145e7199862f;p=kernel%2Fversatile.git Fixed issue with TOPDIR and PWD --- 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)