diff options
author | Felix Fietkau <nbd@openwrt.org> | 2007-09-22 23:40:41 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2007-09-22 23:40:41 +0000 |
commit | 7b10557aee3a6c4393086ff81836a624a3b66eef (patch) | |
tree | a8796e2831cccd4d581fd0856b2ea4fc6d651457 /package/linux-atm | |
parent | 8300bc6b9bbcf49ea093b2364dce3fbb903782a1 (diff) | |
download | master-187ad058-7b10557aee3a6c4393086ff81836a624a3b66eef.tar.gz master-187ad058-7b10557aee3a6c4393086ff81836a624a3b66eef.tar.bz2 master-187ad058-7b10557aee3a6c4393086ff81836a624a3b66eef.zip |
only build linux-atm if it's actually selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8968 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/linux-atm')
-rw-r--r-- | package/linux-atm/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile index ffac08b251..d86709bd26 100644 --- a/package/linux-atm/Makefile +++ b/package/linux-atm/Makefile @@ -53,19 +53,21 @@ define Build/Compile all install endef -define Build/InstallDev +ifneq ($(CONFIG_PACKAGE_linux-atm),) + define Build/InstallDev mkdir -p $(STAGING_DIR)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/atm{,d,sap}.h \ $(STAGING_DIR)/usr/include/ mkdir -p $(STAGING_DIR)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libatm.{a,so*} \ $(STAGING_DIR)/usr/lib/ -endef + endef -define Build/UninstallDev + define Build/UninstallDev rm -rf $(STAGING_DIR)/usr/include/atm{,d,sap}.h \ $(STAGING_DIR)/usr/lib/libatm.{a,so*} -endef + endef +endif define Package/linux-atm/install $(INSTALL_DIR) $(1)/usr/lib |