Commit ae43b56d authored by Eric Andersen's avatar Eric Andersen
Browse files

Better deal with arches like mips that have odd kernel dir naming

parent c9d77299
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -27,6 +27,11 @@ DOWNLOAD_LINUX_VERSION=2.4.23
LINUX_VERSION=2.4.23-erik

LINUX_FORMAT=bzImage
LINUX_KARCH:= echo $(ARCH) | sed -e 's/i[3-9]86/i386/' \
	sed -e 's/mipsel/mips/' \
	sed -e 's/powerpc/ppc/' \
	sed -e 's/sh[234]/sh/'
LINUX_BINLOC=arch/$(LINUX_KARCH)/boot/$(LINUX_FORMAT)
LINUX_BINLOC=arch/$(ARCH)/boot/$(LINUX_FORMAT)
#LINUX_FORMAT=zImage
#LINUX_BINLOC=arch/ppc/boot/images/zImage.prep