Browse Source

only build for profiles with sata or input devices

Waldemar Brodkorb 13 years ago
parent
commit
b8327bf6c5
2 changed files with 3 additions and 0 deletions
  1. 2 0
      package/xf86-input-evtouch/Makefile
  2. 1 0
      target/linux/config/Config.in.block

+ 2 - 0
package/xf86-input-evtouch/Makefile

@@ -13,6 +13,8 @@ PKG_DEPENDS:=		xorg-server kmod-input-evdev
 PKG_BUILDDEP:=		xorg-server
 PKG_SITES:=		http://www.conan.de/touchscreen/
 
+PKG_CFLINE_XF86_INPUT_EVTOUCH:=	depends on ADK_TARGET_WITH_INPUT
+
 DISTFILES:= 		${PKG_NAME}-${PKG_VERSION}.tar.bz2
 
 include $(TOPDIR)/mk/package.mk

+ 1 - 0
target/linux/config/Config.in.block

@@ -81,6 +81,7 @@ config ADK_KPACKAGE_KMOD_SATA_AHCI
 	select ADK_KERNEL_ATA
 	select ADK_KERNEL_BLK_DEV_SD
 	depends on !ADK_KERNEL_SATA_AHCI
+	depends on ADK_TARGET_WITH_SATA
 	default n
 	help
 	  Enables support for AHCI Serial ATA.