FRV: Drop 'TOPDIR' from Makefiles
authorWANG Cong <xiyou.wangcong@gmail.com>
Tue, 1 Jan 2008 14:00:04 +0000 (22:00 +0800)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 28 Jan 2008 22:14:37 +0000 (23:14 +0100)
This patch drops TOPDIR from frv Makefiles.

Cc: David Howells <dhowells@redhat.com>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
arch/frv/boot/Makefile

index dc6f03824423c76f378c1cc384671e70e2b1503b..6ae3254da01976b6fdaa374f588c3c58a081058c 100644 (file)
@@ -10,7 +10,7 @@
 
 targets := Image zImage bootpImage
 
-SYSTEM =$(TOPDIR)/$(LINUX)
+SYSTEM =$(LINUX)
 
 ZTEXTADDR       = 0x02080000
 PARAMS_PHYS     = 0x0207c000
@@ -45,7 +45,7 @@ zImage:       $(CONFIGURE) compressed/$(LINUX)
 bootpImage: bootp/bootp
        $(OBJCOPY) -O binary -R .note -R .comment -S bootp/bootp $@
 
-compressed/$(LINUX): $(TOPDIR)/$(LINUX) dep
+compressed/$(LINUX): $(LINUX) dep
        @$(MAKE) -C compressed $(LINUX)
 
 bootp/bootp: zImage initrd
@@ -59,10 +59,10 @@ initrd:
 # installation
 #
 install: $(CONFIGURE) Image
-       sh ./install.sh $(KERNELRELEASE) Image $(TOPDIR)/System.map "$(INSTALL_PATH)"
+       sh ./install.sh $(KERNELRELEASE) Image System.map "$(INSTALL_PATH)"
 
 zinstall: $(CONFIGURE) zImage
-       sh ./install.sh $(KERNELRELEASE) zImage $(TOPDIR)/System.map "$(INSTALL_PATH)"
+       sh ./install.sh $(KERNELRELEASE) zImage System.map "$(INSTALL_PATH)"
 
 #
 # miscellany