mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Kai Germaschewski <kai-germaschewski@uiowa.edu>
Cc: linux-kernel@vger.kernel.org
Subject: Re: kbuild fixes and more
Date: Mon, 24 Jun 2002 00:05:00 +0200	[thread overview]
Message-ID: <20020624000500.A11471@mars.ravnborg.org> (raw)
In-Reply-To: <Pine.LNX.4.44.0206231325280.6241-100000@chaos.physics.uiowa.edu>; from kai-germaschewski@uiowa.edu on Sun, Jun 23, 2002 at 01:39:51PM -0500

On Sun, Jun 23, 2002 at 01:39:51PM -0500, Kai Germaschewski wrote:
> 
> Feedback is very welcome, of course ;)

1) Tried "make clean"
In the end it gave the following result:
make -C arch/i386/lib clean
Cleaning up
/home/sam/src/linux/kernel/bk/local/Rules.make:134: warning: overriding commands for target `clean'
Makefile:168: warning: ignoring old commands for target `clean'

make clean is too verbose now, especially taken KBUILD_VERBOSE= in consideration.

2) While doing a clean build I spotted:
  LD     drivers/char/pcmcia/built-in.o
  LD     drivers/char/built-in.o
rm defkeymap.c
  CC     drivers/ide/device.o
  CC     drivers/ide/ide-taskfile.o
This rm looks wrong to me.
Btw. I did not use -j and on UP.

Second make did the following:
  CP     drivers/char/defkeymap.c
  CC     drivers/char/defkeymap.o
  LD     drivers/char/built-in.o
  LD     drivers/built-in.o
  Generating build number
  ...

Third make completed with success.

3) ChangeSet@1.490.1.62
Within Rules.make in section "Commands useful for boot image"
In the lines
#	target: source(s) FORCE
-#		$(if_changed,ld/objcopy)
+#              $(if_changed,ld/objcopy/gzip)

 
4)  Clean up arch/i386
I miss $(obj) in front of tools/build
zImage: bootsect setup vmlinux.bin tools/build
-	tools/build bootsect setup vmlinux.bin $(ROOT_DEV) > $@
+	$(obj)/tools/build bootsect setup vmlinux.bin $(ROOT_DEV) > $@


bzImage: bbootsect bsetup bvmlinux.bin tools/build
-	tools/build -b bbootsect bsetup bvmlinux.bin $(ROOT_DEV) > $@
+	$(obj)/tools/build -b bbootsect bsetup bvmlinux.bin $(ROOT_DEV) > $@

Reading through the 4 patches I miss $(obj) in many places.
In generally all temporary and final target needs $(obj)

5) jobserver unavailable
I've started too see this when I execute "make -j2":
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
Dunno if this is my local setup??
It happens even with nothing to do, e.g. a second make without changes in-between.
make -v:
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.

	Sam


  parent reply	other threads:[~2002-06-23 22:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-23 18:39 Kai Germaschewski
2002-06-23 20:11 ` Rudmer van Dijk
2002-06-23 20:16 ` Rudmer van Dijk
2002-06-23 23:19   ` Petko Manolov
2002-06-23 22:05 ` Sam Ravnborg [this message]
2002-06-24  1:22   ` Kai Germaschewski
2002-06-24  6:21     ` David S. Miller
     [not found] <200206232013.g5NKDjf189958@moon.its.uiowa.edu>
2002-06-23 20:31 ` Kai Germaschewski
2002-06-23 21:02   ` Rudmer van Dijk
2002-06-24  0:15     ` Kai Germaschewski
2002-06-24 17:59       ` Rudmer van Dijk

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=20020624000500.A11471@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=kai-germaschewski@uiowa.edu \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®