cbfstool: Don't build unneeded commonlib sources
These sources are built but not used by cbfstool. The only .c file in commonlib/ it really needs is fsp_relocate.c. Get rid of the others. Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: I6ebbb4161874f6279b6dbaffe7c3144226a6f9b9 Reviewed-on: https://review.coreboot.org/c/coreboot/+/46253 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
4a30d42c4a
commit
11298542cd
|
@ -23,10 +23,7 @@ cbfsobj += rmodule.o
|
||||||
cbfsobj += xdr.o
|
cbfsobj += xdr.o
|
||||||
cbfsobj += partitioned_file.o
|
cbfsobj += partitioned_file.o
|
||||||
# COMMONLIB
|
# COMMONLIB
|
||||||
cbfsobj += cbfs.o
|
|
||||||
cbfsobj += fsp_relocate.o
|
cbfsobj += fsp_relocate.o
|
||||||
cbfsobj += mem_pool.o
|
|
||||||
cbfsobj += region.o
|
|
||||||
# FMAP
|
# FMAP
|
||||||
cbfsobj += fmap.o
|
cbfsobj += fmap.o
|
||||||
cbfsobj += kv_pair.o
|
cbfsobj += kv_pair.o
|
||||||
|
@ -72,10 +69,6 @@ ifitobj += partitioned_file.o
|
||||||
ifitobj += cbfs-mkstage.o
|
ifitobj += cbfs-mkstage.o
|
||||||
ifitobj += cbfs-mkpayload.o
|
ifitobj += cbfs-mkpayload.o
|
||||||
ifitobj += rmodule.o
|
ifitobj += rmodule.o
|
||||||
# COMMONLIB
|
|
||||||
ifitobj += cbfs.o
|
|
||||||
ifitobj += mem_pool.o
|
|
||||||
ifitobj += region.o
|
|
||||||
# FMAP
|
# FMAP
|
||||||
ifitobj += fmap.o
|
ifitobj += fmap.o
|
||||||
ifitobj += kv_pair.o
|
ifitobj += kv_pair.o
|
||||||
|
@ -205,10 +198,6 @@ $(objutil)/cbfstool/fmd_scanner.o: TOOLCFLAGS += -Wno-redundant-decls
|
||||||
$(objutil)/cbfstool/fmd_scanner.o: TOOLCFLAGS += -Wno-unused-function
|
$(objutil)/cbfstool/fmd_scanner.o: TOOLCFLAGS += -Wno-unused-function
|
||||||
# Tolerate lzma sdk warnings
|
# Tolerate lzma sdk warnings
|
||||||
$(objutil)/cbfstool/LzmaEnc.o: TOOLCFLAGS += -Wno-sign-compare -Wno-cast-qual
|
$(objutil)/cbfstool/LzmaEnc.o: TOOLCFLAGS += -Wno-sign-compare -Wno-cast-qual
|
||||||
# Tolerate commonlib warnings
|
|
||||||
$(objutil)/cbfstool/region.o: TOOLCFLAGS += -Wno-sign-compare -Wno-cast-qual
|
|
||||||
$(objutil)/cbfstool/cbfs.o: TOOLCFLAGS += -Wno-sign-compare -Wno-cast-qual
|
|
||||||
$(objutil)/cbfstool/mem_pool.o: TOOLCFLAGS += -Wno-sign-compare -Wno-cast-qual
|
|
||||||
# Tolerate lz4 warnings
|
# Tolerate lz4 warnings
|
||||||
$(objutil)/cbfstool/lz4.o: TOOLCFLAGS += -Wno-missing-prototypes
|
$(objutil)/cbfstool/lz4.o: TOOLCFLAGS += -Wno-missing-prototypes
|
||||||
$(objutil)/cbfstool/lz4_wrapper.o: TOOLCFLAGS += -Wno-attributes
|
$(objutil)/cbfstool/lz4_wrapper.o: TOOLCFLAGS += -Wno-attributes
|
||||||
|
|
Loading…
Reference in New Issue