aboutsummaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorGravatar Peter Seiderer <ps.report@gmx.net>2015-01-11 14:18:55 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-04-09 23:26:16 +0200
commit03ee513bda74ac41d8de29d907e2c40ddbc6ace0 (patch)
tree8e837182e0c2a9aac9c3af92492e36df108ebbe0 /linux
parent700be8e2a48963e67e44088bcf5a17e92d92e6b7 (diff)
downloadbuildroot-03ee513bda74ac41d8de29d907e2c40ddbc6ace0.tar.gz
buildroot-03ee513bda74ac41d8de29d907e2c40ddbc6ace0.tar.bz2
linux: fix fbtft kernel extension
Fixes fbtft kernel extension bug reported by Richard Fergusson ([1]): drivers/video/Kconfig:2525: can't open file "drivers/video/fbdev/fbtft/Kconfig" Fix: write the right fbtft/KConfig path to video/Kconfig or video/fbdev/Kconfig (instead of hard coded one) [1] http://lists.busybox.net/pipermail/buildroot/2015-January/117057.html Reported-by: Richard Fergusson <fergie4000@gmail.com> Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'linux')
-rw-r--r--linux/linux-ext-fbtft.mk14
1 files changed, 7 insertions, 7 deletions
diff --git a/linux/linux-ext-fbtft.mk b/linux/linux-ext-fbtft.mk
index 3e6a3cce7c..5eb3d944e8 100644
--- a/linux/linux-ext-fbtft.mk
+++ b/linux/linux-ext-fbtft.mk
@@ -10,13 +10,13 @@ LINUX_EXTENSIONS += fbtft
# for linux < 3.15 install to drivers/video/fbtft
define FBTFT_PREPARE_KERNEL
if [ -e $(LINUX_DIR)/drivers/video/fbdev ]; then \
- dest=$(LINUX_DIR)/drivers/video/fbdev ; \
+ dest=drivers/video/fbdev ; \
else \
- dest=$(LINUX_DIR)/drivers/video/ ; \
+ dest=drivers/video ; \
fi ; \
- mkdir -p $${dest}/fbtft; \
- cp -dpfr $(FBTFT_DIR)/* $${dest}/fbtft/ ; \
- echo 'source "drivers/video/fbdev/fbtft/Kconfig"' \
- >> $${dest}/Kconfig ; \
- echo 'obj-y += fbtft/' >> $${dest}/Makefile
+ mkdir -p $(LINUX_DIR)/$${dest}/fbtft; \
+ cp -dpfr $(FBTFT_DIR)/* $(LINUX_DIR)/$${dest}/fbtft/ ; \
+ echo "source \"$${dest}/fbtft/Kconfig\"" \
+ >> $(LINUX_DIR)/$${dest}/Kconfig ; \
+ echo 'obj-y += fbtft/' >> $(LINUX_DIR)/$${dest}/Makefile
endef