util/kconfig: Add toada
Ada spec generation tool
Converts `auto.conf` to an Ada spec file. Write to $(obj)/cb-config.ads and set the package name to `CB.Config`. Change-Id: I97c060d8a613c74a82a18aff9524ad4b01f9df56 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/31053 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
committed by
Patrick Georgi
parent
a402a9e7ab
commit
533bc0a7ef
@@ -344,6 +344,8 @@ $(objk)/nconf: $(patsubst %,$(objk)/%,$(nconf-objs))
|
||||
$(HOSTCC) $(HOSTCFLAGS) -o $@ $^ $(HOSTLOADLIBES_nconf)
|
||||
$(objk)/conf: $(patsubst %,$(objk)/%,$(conf-objs))
|
||||
$(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) -o $@ $^
|
||||
$(objk)/toada: $(objk)/toada.o
|
||||
$(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) -o $@ $^
|
||||
|
||||
$(objk)/mconf.o: $(srck)/mconf.c
|
||||
$(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) -c -o $@ $<
|
||||
@@ -382,5 +384,8 @@ $(objk)/lxdialog/lxdialog: $(objk)/dochecklxdialog \
|
||||
$(objk)/lxdialog/%.o: $(srck)/lxdialog/%.c
|
||||
$(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) $^ -c -o $@
|
||||
|
||||
$(objk)/toada.o: $(srck)/toada.c
|
||||
$(HOSTCC) $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) -c -o $@ $<
|
||||
|
||||
$(objk)/%.o: HOSTCFLAGS+=-I$(srck) -I$(objk)
|
||||
$(objk)/%.o: HOSTCXXFLAGS+=-I$(srck) -I$(objk)
|
||||
|
Reference in New Issue
Block a user