kumquat-buildroot/package/dt/0001-adjust-os-symlink.patch
Gustavo Zacarias 938946a476 dt: new package
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
[Thomas: use <pkg>_STRIP_COMPONENTS = 2, which allows to get rid of
the <pkg>_SUBDIR usage, and make things a bit simpler.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-02-25 22:57:50 +01:00

20 lines
595 B
Diff

Don't force build-dir-in-build-dir logic, symlink the os-specific SCSI
support file in place.
Status: not suitable for upstream.
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
diff -Nura Makefile.linux Makefile.linux
--- a/Makefile.linux 2016-01-26 09:10:03.939963780 -0300
+++ b/Makefile.linux 2016-01-26 09:10:27.140763863 -0300
@@ -129,7 +129,7 @@
echo "Please specify OS={aix,linux,hpux,solaris,windows}"; \
exit 1; \
fi; \
- ln -sf ../scsilib-$(OS).c scsilib.c
+ ln -sf scsilib-$(OS).c scsilib.c
print:;
@$(PRINTER) $(PRINTFLAGS) $(ALL_CFILES)