diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2018-12-14 20:04:26 +0100 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2018-12-14 20:04:26 +0100 |
commit | 8c5277d075815e4e5cf63af004d597afad9d4c1e (patch) | |
tree | 424be367054c5e47317f15d41e699a708deb46a6 /sw/Makefile | |
parent | 18adc3602af4aa10ec11779b201dbae659dd83d9 (diff) |
sw: Import the embedded control software
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'sw/Makefile')
-rw-r--r-- | sw/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sw/Makefile b/sw/Makefile new file mode 100644 index 0000000..92137c5 --- /dev/null +++ b/sw/Makefile @@ -0,0 +1,23 @@ +CROSS ?= arm-linux-gnueabihf- + +CC=$(CROSS)gcc +LD=$(CROSS)gcc + +CFLAGS=-Wall --sysroot=$(SYSROOT) +LDLIBS=-liio --sysroot=$(SYSROOT) + + +all: sysroot_test osmo-rfds + +osmo-rfds: osmo-rfds.o + +sysroot_test: + @if [ "x$(SYSROOT)" = "x" ]; then \ + echo >&2 "[!] Need SYSROOT to be pointing to the buildroot SDK"; \ + false; \ + fi + +clean: + rm -f osmo-rfds *.o + +.PHONY: sysroot_test clean |