On 2018-03-08 05:18 +0000, Wookey wrote:
I'll post my issues/changes here for discussion so we can decide what is upstreamable.
This seems kind of ugly. Using $(CURDIR) is a good idea as it's always defined by make. Perhaps I'm missing something, but I don't see any advantage in shell and seddery here.
Index: libopencsd-0.8.1/decoder/build/linux/makefile =================================================================== --- libopencsd-0.8.1.orig/decoder/build/linux/makefile +++ libopencsd-0.8.1/decoder/build/linux/makefile @@ -35,7 +35,7 @@
# Set project root - relative to build directory ifeq ($(OCSD_ROOT),) -OCSD_ROOT := $(shell pwd | sed 's,/build/linux.*,,') +OCSD_ROOT := $(CURDIR)/decoder export OCSD_ROOT endif
Wookey