Re: SH Port - Makefile

Paul Mundt (lethal@linux-sh.org)
Sun, 15 Jun 2003 00:50:18 -0400


This is a MIME-formatted message. If you see this text it means that your
E-mail software does not support MIME-formatted messages.

--=_courier-19148-1055652966-0001-2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sat, Jun 14, 2003 at 10:07:44PM +0200, Sam Ravnborg wrote:
> On Sat, Jun 14, 2003 at 02:45:12PM -0500, Paul Mundt wrote:
> > Okay, the main reason why I needed to do this was so that a make clean
> > would get the proper directory path. The problem was that machdir-y
> > wasn't getting the board name correctly since at make clean time the
> > CONFIG_SH_xxx names weren't being resolved.
>=20
> The following should do the trick.
> I also rearranged a few things.
>=20
Unfortunately this still yields the same problem as before when it comes to
resolving machdir-y properly at make clean time:

[lethal@unusual linux-sh-2.5.71]$ make ARCH=3Dsh CROSS_COMPILE=3Dsh-uclibc-=
clean
scripts/Makefile.clean:10: arch/sh/boards/Makefile: No such file or directo=
ry
make[1]: *** No rule to make target `arch/sh/boards/Makefile'. Stop.
make: *** [_clean_arch/sh/boards] Error 2

At make clean time, .config isn't available properly due to it not being
included since its a noconfig_targets target, which causes the above proble=
m.
This will also happen for the rest of the noconfig_targets, hence the manual
inclusion of .config to fixup the path lookup issue.

Any other suggestions?

> Whith respect to removing the framepointer from CFLAGS.
> There is already a CONFIG option for that CONFIG_FRAME_POINTER.
> It would be much cleaner using that one in combination
> with CONFIG_SH_KGDB
>=20
Agreed, I'll add this in. Thanks.

--=_courier-19148-1055652966-0001-2
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+6/sJ1K+teJFxZ9wRAgooAKCCmRKK0w79K1ekDDntguzIsGTyygCdEPYx
5UQzQw7Guo8/KUTa6NSCqkw=
=Y6wS
-----END PGP SIGNATURE-----

--=_courier-19148-1055652966-0001-2--