From 40a360c2a4feef97a8f7041e655b2a42e51e0224 Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Sat, 28 May 2016 18:41:04 -0400 Subject: Reorganize directory structure Moving to directory per-application layout. This facilitates building single applications which is useful in the Yocto build environment since different applications satisfy different OpenBMC build requirements. A number of issues are also addressed: - All applications were pulling in libsystemd and the gdbus libs irrespective of whether or not they were needed. - gpio.o duplicated in every application - moved to libopenbmc_intf - Added install target Signed-off-by: Brad Bishop --- op-flasher/Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 op-flasher/Makefile (limited to 'op-flasher/Makefile') diff --git a/op-flasher/Makefile b/op-flasher/Makefile new file mode 100644 index 0000000..80b9ccb --- /dev/null +++ b/op-flasher/Makefile @@ -0,0 +1,14 @@ +BINS=flasher +EXTRA_OBJS+=progress.o \ + ast-sf-ctrl.o \ + libflash.o \ + libffs.o \ + arm_io.o +CFLAGS+=-Ipflash +include ../gdbus.mk +include ../rules.mk + +%.o: pflash/%.c + $(CC) -c -o $(CFLAGS) -fPIC -o $@ $< +%.o: pflash/libflash/%.c + $(CC) -c -o $(CFLAGS) -fPIC -o $@ $< -- cgit v1.2.1