GPIODEV: Fix open-count race condition.
[openwrt.git] / package / nvram / Makefile
index cc1371e..6020bfc 100644 (file)
@@ -30,12 +30,8 @@ define Build/Prepare
 endef
 
 define Build/InstallDev
 endef
 
 define Build/InstallDev
-       mkdir -p $(STAGING_DIR)/usr/lib
-       $(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(STAGING_DIR)/usr/lib/
-endef
-
-define Build/UninstallDev
-       rm -f $(STAGING_DIR)/usr/lib/lib{nvram,shared}*.so
+       mkdir -p $(1)/usr/lib
+       $(CP) $(PKG_BUILD_DIR)/lib{nvram,shared}*.so $(1)/usr/lib/
 endef
 
 define Package/nvram/install
 endef
 
 define Package/nvram/install
This page took 0.026759 seconds and 4 git commands to generate.