include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=ili9340 include $(INCLUDE_DIR)/package.mk define KernelPackage/$(PKG_NAME) SUBMENU:=Other modules TITLE:=FB driver for the ILI9340 LCD Controller DEPENDS:=+kmod-fb-tft AUTOLOAD:=$(call AutoProbe,fb_ili9340) FILES:=$(PKG_BUILD_DIR)/fb_ili9340.ko KCONFIG:= endef define KernelPackage/$(PKG_NAME)/description FB driver for the ILI9340 LCD Controller endef EXTRA_KCONFIG:= CONFIG_FB_TFT_ILI9340=m include ../kmod.mk $(eval $(call KernelPackage,$(PKG_NAME)))