Skip to content

Commit

Permalink
WIP Build config with only the keys for the enabled libraries
Browse files Browse the repository at this point in the history
WIP: Maybe the configuration should depend (contain) the extlibs, such
qemu-musl-lwip-x86_64.fullconfig?
  • Loading branch information
shym committed Oct 17, 2024
1 parent a417886 commit 778c80c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,13 @@ $(CONFIG): dummykernel/$(PLAT)-$(TGTARCH).config \

# Build the intermediate configuration file from configuration chunks
CONFIG_CHUNKS := arch/$(TGTARCH) plat/$(PLAT)
CONFIG_CHUNKS += libs/base libs/lwip libs/musl
CONFIG_CHUNKS += libs/base
ifneq ("$(findstring musl,$(EXTLIBS))","")
CONFIG_CHUNKS += libs/musl
endif
ifneq ("$(findstring lwip,$(EXTLIBS))","")
CONFIG_CHUNKS += libs/lwip
endif
CONFIG_CHUNKS += opts/base
# The full debug info is really verbose
# CONFIG_CHUNKS += opts/debug
Expand Down

0 comments on commit 778c80c

Please sign in to comment.