public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Cort Dougan <cort@fsmlabs•com>
To: Pavel Roskin <pavel_roskin@geocities•com>
Cc: linuxppc-embedded@lists•linuxppc.org
Subject: Re: Minor makefile fixes
Date: Fri, 7 Apr 2000 00:54:59 -0600	[thread overview]
Message-ID: <20000407005459.I11686@medea.fsmlabs.com> (raw)
In-Reply-To: <Pine.LNX.4.21.0004061428150.9152-100000@sunapee.transcept.com>; from Pavel Roskin on Thu, Apr 06, 2000 at 03:12:53PM -0400


I already ran into the problem of assuming they were writable :)  I had to
fix that for 2.3 since with bitkeeper we don't always have writable files.

Using 'cat' also assumes that the umask allows writable files so what I did
in 2.3 is just do an explicit chmod to the file after copying it.

} I'm going to post some trivial differences between the kernel sources used
} in Transcept, Inc. and the kernel used in MontaVista's Hard Hat linux.
}
} I hope that somebody will take care of them.
}
} The patch for arch/ppc/kernel/Makefile is necessary because we are using a
} version control system that makes files read-only.
} If ppc_defs.head is read-only, then ppc_defs.h is read-only too, and the
} subsequent grep fails.
}
} I believe that the build system should not assume source files being
} writeable.
}
} The patch to drivers/macintosh/Makefile reduces the number of bloat that
} goes into the kernel e.g. for RPX/Lite. No embedded boards should ever
} need the ADB stuff. This is for PMAC and CHRP only.
}
} Regards,
} Pavel Roskin
}
} === cut here ===
} diff --exclude-from=reviewed -urN linux/arch/ppc/kernel/Makefile out/arch/ppc/kernel/Makefile
} --- linux/arch/ppc/kernel/Makefile	Tue Apr  4 12:36:23 2000
} +++ out/arch/ppc/kernel/Makefile	Thu Mar  2 11:35:59 2000
} @@ -68,7 +68,7 @@
}  		$(TOPDIR)/include/asm/pgtable.h \
}  		$(TOPDIR)/include/asm/ptrace.h
}  	$(CC) ${CFLAGS} -S mk_defs.c
} -	cp ppc_defs.head ppc_defs.h
} +	cat ppc_defs.head >ppc_defs.h
}  	grep '^#define' mk_defs.s >>ppc_defs.h
}  	rm mk_defs.s
}
} diff --exclude-from=reviewed -urN linux/drivers/macintosh/Makefile out/drivers/macintosh/Makefile
} --- linux/drivers/macintosh/Makefile	Thu Apr 29 15:53:48 1999
} +++ out/drivers/macintosh/Makefile	Tue Jan 18 16:08:52 2000
} @@ -15,7 +15,7 @@
}  L_TARGET := macintosh.a
}  M_OBJS   :=
}
} -ifndef CONFIG_MBX
} +ifndef CONFIG_8xx
}  L_OBJS   := via-cuda.o macio-adb.o via-pmu.o mediabay.o
}  LX_OBJS  := adb.o
}  endif
} === cut here ===

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

      reply	other threads:[~2000-04-07  6:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-06 19:12 Minor makefile fixes Pavel Roskin
2000-04-07  6:54 ` Cort Dougan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000407005459.I11686@medea.fsmlabs.com \
    --to=cort@fsmlabs$(echo .)com \
    --cc=linuxppc-embedded@lists$(echo .)linuxppc.org \
    --cc=pavel_roskin@geocities$(echo .)com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox