New GNU Make regression? Why some Makefile.inc's romstage-options get interpreted as Makefile targets?

Mike Banon <[email protected]>
Newsgroups gmane.linux.bios
Message-ID <CAK7947nENNfQ1meJYTeSy6vwD3PBV6wYfRByjZ6RCstsX_3NHw@mail.gmail.com>
While trying to build the ancient (<=4.11) versions of coreboot for
research purposes, I get

    CC         romstage/superio/winbond/common/early_init.o
    LINK       cbfs/fallback/romstage.debug
    OBJCOPY    cbfs/fallback/romstage.elf
make: *** No rule to make target '".car.data"', needed by
'build/coreboot.pre'.  Stop.

because of the following Makefile.inc line:

$(CONFIG_CBFS_PREFIX)/romstage-options := -S ".car.data"

If I comment out this line, I get "No rule to make target '-P'" because of

$(CONFIG_CBFS_PREFIX)/romstage-options += -P $(CONFIG_XIP_ROM_SIZE)

If I comment out this too, everything goes well until the final
coreboot.rom assembly stage, where a cbfstool prints "E: Encountered
illegal degenerate region name in -r list" and deletes my coreboot.rom

However, " $(CONFIG_CBFS_PREFIX)/romstage-options += --xip " is fine
and doesn't cause any problems...

Please tell, why these errors are happening now and not before? My
host's GNU make --version is 4.4.1, but I tried everything down to 4.3
and still can't properly get rid of these errors (unfortunately can't
use 4.2.1 because it gives a segmentation fault on new Linux)
-- 
Best regards, Mike Banon
Open Source Community Manager of 3mdeb - https://3mdeb.com/
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.