On Thu, Mar 21, 2019 at 05:51:11PM +0200, Jarkko Sakkinen wrote: > > Yuck. If we remove the driver specific Makefile then we can eliminate > > the "../" prefix here. E.g. in the main SGX Makefile: > > > > obj-$(CONFIG_INTEL_SGX_DRIVER) += driver/main.o driver/ioctl.o > > I think this is a great idea. On a 2nd thought not gonna do anything to that because it would require to move driver.h and it is cleaner to keep all the driver files in the same directory (and separated from the core). There is nothing spurious in those includes anyway... /Jarkko