* [PATCH] halloween candy for make mips/mips64
@ 2002-10-31 19:10 Jun Sun
0 siblings, 0 replies; only message in thread
From: Jun Sun @ 2002-10-31 19:10 UTC (permalink / raw)
To: linux-mips; +Cc: jsun
[-- Attachment #1: Type: text/plain, Size: 211 bytes --]
For lazy fingers, this patch saves quite some typing when
you work on mips64. It detects which arch you are working with
from .config if it is present. Otherwise, it defaults to
mips.
Like this treat?
Jun
[-- Attachment #2: junk --]
[-- Type: text/plain, Size: 432 bytes --]
diff -Nru Makefile.orig Makefile
--- Makefile.orig Wed Sep 11 05:44:23 2002
+++ Makefile Thu Oct 31 11:02:47 2002
@@ -5,7 +5,7 @@
KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
-ARCH = mips
+ARCH = $(shell echo mips`grep '^CONFIG_MIPS64=y$$' .config | sed -e 's/..*/64/'`)
KERNELPATH=kernel-$(shell echo $(KERNELRELEASE) | sed -e "s/-//g")
CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-10-31 19:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-31 19:10 [PATCH] halloween candy for make mips/mips64 Jun Sun
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox