X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/4e82307f74e8886bf572addc9416733d16bf6733..15651c68cfa3f423b1f45f25bc8d0107580eff35:/package/linux-atm/Makefile diff --git a/package/linux-atm/Makefile b/package/linux-atm/Makefile index e37d5bdce..55b044862 100644 --- a/package/linux-atm/Makefile +++ b/package/linux-atm/Makefile @@ -1,3 +1,9 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# # $Id$ include $(TOPDIR)/rules.mk @@ -14,7 +20,7 @@ PKG_CAT:=zcat PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install -include $(TOPDIR)/package/rules.mk +include $(INCLUDE_DIR)/package.mk define Package/linux-atm SECTION:=libs @@ -32,17 +38,13 @@ DESCRIPTION:=ATM RFC2684 bridging utility endef define Build/Configure - $(call Build/Configure/Default,) + $(call Build/Configure/Default) # prevent autoheader invocation touch $(PKG_BUILD_DIR)/stamp-h.in endef define Build/Compile - rm -rf $(PKG_INSTALL_DIR) - mkdir -p $(PKG_INSTALL_DIR) - $(MAKE) -C $(PKG_BUILD_DIR) \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - all install + $(call Build/Compile/Default,DESTDIR="$(PKG_INSTALL_DIR)" all install) endef define Package/linux-atm/install