Skip to contentSkip to conversation

Build system broken with i386.rmk

BUG phcoder 3 participants 5 messages Sep 9, 2008

lore
Share & tools
lore

phcoder

author
#0 lore raw

Hello. I had conflicts in .mk files after "svn up" so I removed all the .mk. common.mk and i386-pc.mk were regenerated correctly but not i386.mk

$ make
conf/i386-pc.mk:3394: conf/i386.mk: No such file or directory
make: *** No rule to make target `conf/i386.mk'.  Stop.
Can someone familiar with build system fix this?

Vladimir 'phcoder' Serbinenko

#1 lore raw
Quoted 6 lines · phcoder

Hello. I had conflicts in .mk files after "svn up" so I removed all the .mk. common.mk and i386-pc.mk were regenerated correctly but not i386.mk

$ make
conf/i386-pc.mk:3394: conf/i386.mk: No such file or directory
make: *** No rule to make target `conf/i386.mk'.  Stop.
Can someone familiar with build system fix this?

Can you be more specific about what's wrong in svn? I believe ./autogen.sh should fix your local tree.

Signature · 5 lines
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."
author
#2 lore raw
Quoted 11 lines · Robert Millan
Quoted 6 lines · phcoder

Hello. I had conflicts in .mk files after "svn up" so I removed all the .mk. common.mk and i386-pc.mk were regenerated correctly but not i386.mk

$ make
conf/i386-pc.mk:3394: conf/i386.mk: No such file or directory
make: *** No rule to make target `conf/i386.mk'.  Stop.
Can someone familiar with build system fix this?

Can you be more specific about what's wrong in svn? I believe ./autogen.sh should fix your local tree.

i386-pc.mk and common.mk are regenerated if necessary by make command but i386.mk isn't.
Vladimir 'phcoder' Serbinenko

#3 lore raw

Am Dienstag, den 09.09.2008, 15:06 +0200 schrieb phcoder:

Quoted 7 lines
Quoted 3 lines · Robert Millan

Can you be more specific about what's wrong in svn? I believe ./autogen.sh should fix your local tree.

i386-pc.mk and common.mk are regenerated if necessary by make command but i386.mk isn't.
Vladimir 'phcoder' Serbinenko

Actually they are generated in autogen.sh with

for rmk in conf/*.rmk; do
ruby genmk.rb < $rmk > echo $rmk | sed 's/\.rmk$/.mk/'
done

The problem is that we don't use automake stuff like this maintainer mode
Then you would need to ./configure --enable-maintainer-mode or something like that to enable these automatic regenerate rules in the Makefiles Currently they're always enabled.
The problem can be some different autoconf version or something like that or wrong timestamps.

#4 lore raw

Am Dienstag, den 09.09.2008, 15:21 +0200 schrieb Felix Zielcke:

Quoted 2 lines

The problem can be some different autoconf version or something like that or wrong timestamps.

Clean `svn co' works without problems, no files get regenerated. Though I noticed i386.rmk and x86_64-efi.rmk were missing in Makefile.in Well commited that little change now.