halloween candy for make mips/mips64
PATCH 1/1 halloween candy for make mips/mips64
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
Makefile renamed from Makefile.orig +1 -1
@@ -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; \