[PATCH skeleton] add back in control_bmc

Daniel Axtens dja at axtens.net
Wed Feb 3 17:17:47 AEDT 2016


Hi,

OpenBMC Patches <openbmc-patches at stwcx.xyz> writes:

> From: Norman James <njames at us.ibm.com>
>
> ---
>  Makefile | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/Makefile b/Makefile
> index b94d275..65787ff 100755
> --- a/Makefile
> +++ b/Makefile
> @@ -22,7 +22,7 @@ LIBS=$(shell pkg-config --libs gio-unix-2.0 glib-2.0) -Llib -lopenbmc_intf
>  %.o: objects/pflash/libflash/%.c
>  	$(CC) -c -o obj/$@ $< $(CFLAGS) $(INCLUDES)
>  
> -all: setup libopenbmc_intf power_control led_controller button_power button_reset control_host host_watchdog board_vpd pcie_slot_present flash_bios flasher pflash hwmons_barreleye
> +all: setup libopenbmc_intf power_control led_controller button_power button_reset control_host host_watchdog board_vpd pcie_slot_present flash_bios flasher pflash hwmons_barreleye control_bmc
>  
>  setup: 
>  	mkdir -p obj lib
> @@ -73,3 +73,6 @@ pflash:  $(OBJS2) pflash.o
>  hwmons_barreleye: hwmons_barreleye.o object_mapper.o libopenbmc_intf
>  	$(CC) -o bin/$@.exe obj/hwmons_barreleye.o obj/object_mapper.o  $(LDFLAGS) $(LIBS)
>  
> +control_bmc: control_bmc_obj.o libopenbmc_intf
It took me a while to convince myself why there's a requirement for
libopenbmc_intf, but I see that it's included in LIBS.

I feel like there must be a cleaner way, but I'm at least happy that
it's correct now.

Regards,
Daniel Axtens
> +	$(CC) -o bin/$@.exe obj/control_bmc_obj.o $(LDFLAGS) $(LIBS)
> +
> -- 
> 2.6.4
>
>
> _______________________________________________
> openbmc mailing list
> openbmc at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 859 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20160203/d5468021/attachment.sig>


More information about the openbmc mailing list