remove old ipkg directory
[openwrt.git] / package / nvram / Makefile
index 3b9f82d..5900f6f 100644 (file)
@@ -11,8 +11,7 @@ include $(TOPDIR)/package/rules.mk
 
 define Package/nvram
 SECTION:=base
-# CATEGORY:=FIXME
-DEFAULT:=n
+DEPENDS:=@LINUX_2_4_BRCM
 TITLE:=Broadcom config utility
 DESCRIPTION:=control utility for broadcom's 'nvram' config area
 endef
@@ -29,9 +28,14 @@ define Package/nvram/install
        install -m0755 $(PKG_BUILD_DIR)/nvram $(1)/usr/sbin
 endef
 
-compile-targets: install-dev
-install-dev: $(PKG_BUILD_DIR)/.built
+define Build/InstallDev
        mkdir -p $(STAGING_DIR)/usr/lib
        $(CP) $(PKG_BUILD_DIR)/*.so $(STAGING_DIR)/usr/lib
-       
+endef
+
+define Build/UninstallDev
+       rm -f $(STAGING_DIR)/usr/lib/libshared*.so \
+               $(STAGING_DIR)/usr/lib/libnvram*.so
+endef
 
+$(eval $(call BuildPackage,nvram))
This page took 0.024721 seconds and 4 git commands to generate.