Changeset 25920


Ignore:
Timestamp:
2011-03-07T03:49:24+01:00 (5 years ago)
Author:
nbd
Message:

hotplug2: replace udevtrigger from the udev-106 source with a much smaller self-contained, stripped-down version

Location:
trunk
Files:
2 added
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/target.mk

    r24558 r25920  
    1313 
    1414# Default packages - the really basic set 
    15 DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg udevtrigger hotplug2 
     15DEFAULT_PACKAGES:=base-files libc libgcc busybox dropbear mtd uci opkg hotplug2 
    1616# For router targets 
    1717DEFAULT_PACKAGES.router:=dnsmasq iptables ppp ppp-mod-pppoe kmod-ipt-nathelper firewall 
  • trunk/package/hotplug2/Makefile

    r25282 r25920  
    2626  SECTION:=base 
    2727  CATEGORY:=Base system 
    28   DEPENDS:=+udevtrigger 
    2928  VERSION:=1.0-beta-$(PKG_RELEASE) 
    3029  TITLE:=Version 1.0 Dynamic device management subsystem for embedded systems 
     
    4645        STATIC_WORKER="fork" 
    4746 
     47define Build/Compile 
     48        $(call Build/Compile/Default) 
     49        $(TARGET_CC) $(TARGET_CFLAGS) -o $(PKG_BUILD_DIR)/udevtrigger src/udevtrigger.c 
     50endef 
     51 
    4852define Package/hotplug2/install 
    4953        $(INSTALL_DIR) $(1)/etc 
    5054        $(INSTALL_DATA) ./files/hotplug2.rules $(1)/etc/ 
    5155        $(INSTALL_DIR) $(1)/sbin 
     56        $(INSTALL_BIN) $(PKG_BUILD_DIR)/udevtrigger $(1)/sbin/ 
    5257        $(INSTALL_BIN) $(PKG_BUILD_DIR)/hotplug2 $(1)/sbin/ 
    5358endef 
Note: See TracChangeset for help on using the changeset viewer.