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 | 059b0d3c54098fb3dd71aea81da5c2fd45b9d239 (patch) | |
tree | d37f02be861847796d1ac2d3e7718b567feeb8ca /package/linux-atm/Makefile | |
parent | b4142edc77ccb333b4283ba7a4aa6f034d11d93e (diff) | |
download | mtk-20170518-059b0d3c54098fb3dd71aea81da5c2fd45b9d239.zip mtk-20170518-059b0d3c54098fb3dd71aea81da5c2fd45b9d239.tar.gz mtk-20170518-059b0d3c54098fb3dd71aea81da5c2fd45b9d239.tar.bz2 |
only build linux-atm if it's actually selected
SVN-Revision: 8968
Diffstat (limited to 'package/linux-atm/Makefile')
-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 ffac08b..d86709b 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 |