Project

General

Profile

Actions

Bug #17

closed

libpayload doesn't respect .config file

Added by Klemens Nanni almost 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
build system
Target version:
-
Start date:
12/09/2015
Due date:
% Done:

0%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

Description

When building the coreinfo payload, coreinfo is always built with PDCurses no matter what configuration is set for libpayload. In fact, different configurations produce the very same coreinfo.elf binary. It seems like libpayload is completely ignoring user set configuration, not just with regards to curses libraries.
Steps to reproduce:

$ cd payloads/libpayload/

Build libpayload with PDCurses and support for various things such as USB, Multiboot, etc.

$ cp .config.a .config
$ make install

Build coreinfo

$ cd ../coreinfo/
$ make

Clean everything, be sure about it

$ make clean
$ make distclean
$ cd ../libpayload/
$ make clean
$ make distclean

Build libpayload again, with TinyCurses and a minimal feature set

$ cp .config.b .config
$ make install

Build coreinfo again

$ cd ../coreinfo/
$ make
$ diff coreinfo.elf.a build/coreinfo.elf


Coreboot 4.2-546-g72c83a8


Files

.config.a (2.1 KB) .config.a PDCurses Klemens Nanni, 12/09/2015 06:43 PM
.config.b (1.75 KB) .config.b TinyCurses Klemens Nanni, 12/09/2015 06:43 PM
coreinfo.elf (144 KB) coreinfo.elf Klemens Nanni, 12/09/2015 06:51 PM
Actions

Also available in: Atom PDF