mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 00:56:14 +02:00
only build linux-atm if it's actually selected
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8968 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a4ae1d5559
commit
1f454ba35a
@ -53,19 +53,21 @@ define Build/Compile
|
|||||||
all install
|
all install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/InstallDev
|
ifneq ($(CONFIG_PACKAGE_linux-atm),)
|
||||||
|
define Build/InstallDev
|
||||||
mkdir -p $(STAGING_DIR)/usr/include
|
mkdir -p $(STAGING_DIR)/usr/include
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/atm{,d,sap}.h \
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/atm{,d,sap}.h \
|
||||||
$(STAGING_DIR)/usr/include/
|
$(STAGING_DIR)/usr/include/
|
||||||
mkdir -p $(STAGING_DIR)/usr/lib
|
mkdir -p $(STAGING_DIR)/usr/lib
|
||||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libatm.{a,so*} \
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libatm.{a,so*} \
|
||||||
$(STAGING_DIR)/usr/lib/
|
$(STAGING_DIR)/usr/lib/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Build/UninstallDev
|
define Build/UninstallDev
|
||||||
rm -rf $(STAGING_DIR)/usr/include/atm{,d,sap}.h \
|
rm -rf $(STAGING_DIR)/usr/include/atm{,d,sap}.h \
|
||||||
$(STAGING_DIR)/usr/lib/libatm.{a,so*}
|
$(STAGING_DIR)/usr/lib/libatm.{a,so*}
|
||||||
endef
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
define Package/linux-atm/install
|
define Package/linux-atm/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
|
Loading…
Reference in New Issue
Block a user