From: Paul Bame <bame@noam.fc.hp.com>
To: parisc-linux@thepuffingroup.com
Subject: [parisc-linux] new method for 64-bit parisc tree
Date: Wed, 01 Nov 2000 10:59:34 -0700 [thread overview]
Message-ID: <E13r2Ag-0000Xp-00@noam.fc.hp.com> (raw)
I want to propose/discuss a new method for maintaining our 64-bit parisc
tree in relation to the 32-bit tree. I have prototyped this and so
far it seems pretty useful.
Most of the files in the current parisc64 tree only contain one
line, a #include of the same file from the parisc tree. This confuses
'make dep', causes some compile errors to have nonsense line numbers,
and doesn't allow direct editing of the source files in the parisc64 tree.
The method I'm proposing works like this:
The future parisc64 tree ONLY contains files which are different from,
or in addition to, those in the parisc tree. When you 'make config'
or 'make oldconfig', each file in the parsic tree is symbolically
linked as the same file in the parisc64 tree. This enables all
the rest of the tools/build to work normally. 'make distclean' includes
a step to remove all the symlinks.
The ugliest "feature" is that even though you can edit source files
in the parisc64 tree, 'cvs commit' will fail on those which are
symbolic links. To reduce this problem, I'm dropping a symbolic link
called '...' in each parisc64 directory which is a pointer to the
corresponding parisc directory, so 'cd ...; cvs commit foo.c' will
work and not be too onerous.
We should additionally consider a naming convention or something so
that maintainers in the parisc tree know whether files are shared with
parisc64 or not.
I prototyped this as a fictional new "architecture" called "p64". To
try it out, grab the tarball (only about 30 files -- can be fewer)
ftp://puffin.external.hp.com/pub/parisc/
and unpack in your top-level linux source tree directory. Then in
your top-level Makefile, change ARCH := parisc64 to ARCH := p64, then
make oldconfig or whatever you usually do. Let me know of any problems.
Is this something we should adopt for the real parisc64 tree?
-Paul Bame
next reply other threads:[~2000-11-01 17:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-01 17:59 Paul Bame [this message]
2000-11-02 8:51 ` [parisc-linux] new method for 64-bit parisc tree Alan Modra
2000-11-02 16:20 ` bame
2000-11-07 18:15 ` [parisc-linux] 64-bit BUILD CHANGES Paul Bame
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=E13r2Ag-0000Xp-00@noam.fc.hp.com \
--to=bame@noam.fc.hp.com \
--cc=parisc-linux@thepuffingroup.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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