diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-03-07 02:49:24 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-03-07 02:49:24 +0000 |
commit | 504eda0da94790e9e888ce095a31e0aa7617932c (patch) | |
tree | 74c71661d81e2c5e54326201bc2ce76e00fd4673 /package/udevtrigger | |
parent | 0ca2b7f92cc00ad95420afd46f5e8f70baf93d42 (diff) | |
download | upstream-504eda0da94790e9e888ce095a31e0aa7617932c.tar.gz upstream-504eda0da94790e9e888ce095a31e0aa7617932c.tar.bz2 upstream-504eda0da94790e9e888ce095a31e0aa7617932c.zip |
hotplug2: replace udevtrigger from the udev-106 source with a much smaller self-contained, stripped-down version
SVN-Revision: 25920
Diffstat (limited to 'package/udevtrigger')
-rw-r--r-- | package/udevtrigger/Makefile | 44 | ||||
-rw-r--r-- | package/udevtrigger/patches/001-no_debug.patch | 20 | ||||
-rw-r--r-- | package/udevtrigger/patches/002-udevtrigger_no_config.patch | 10 |
3 files changed, 0 insertions, 74 deletions
diff --git a/package/udevtrigger/Makefile b/package/udevtrigger/Makefile deleted file mode 100644 index e644339597..0000000000 --- a/package/udevtrigger/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# -# Copyright (C) 2006-2008 OpenWrt.org -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=udevtrigger -PKG_VERSION:=106 -PKG_RELEASE:=1 - -PKG_SOURCE:=udev-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=@KERNEL/linux/utils/kernel/hotplug/ -PKG_MD5SUM:=320ccd2d0f4540d10e021bafa14f8985 - -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/udev-$(PKG_VERSION) - -include $(INCLUDE_DIR)/package.mk - -define Package/udevtrigger - SECTION:=base - CATEGORY:=Base system - TITLE:=Small utility to request kernel devices events for coldplug - URL:=http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html - MAINTAINER:=Geoff Levand <geoffrey.levand@am.sony.com> -endef - -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) \ - CROSS_COMPILE="$(TARGET_CROSS)" \ - STRIP="/bin/true" \ - DESTDIR="$(PKG_INSTALL_DIR)" \ - OPTFLAGS="$(TARGET_CFLAGS)" \ - udevtrigger -endef - -define Package/udevtrigger/install - $(INSTALL_DIR) $(1)/sbin - $(INSTALL_BIN) $(PKG_BUILD_DIR)/udevtrigger $(1)/sbin/ -endef - -$(eval $(call BuildPackage,udevtrigger)) diff --git a/package/udevtrigger/patches/001-no_debug.patch b/package/udevtrigger/patches/001-no_debug.patch deleted file mode 100644 index 9f3ddd08d8..0000000000 --- a/package/udevtrigger/patches/001-no_debug.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -113,7 +113,7 @@ LD = $(CROSS_COMPILE)gcc - AR = $(CROSS_COMPILE)ar - RANLIB = $(CROSS_COMPILE)ranlib - --CFLAGS = -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -+CFLAGS = -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 - WARNINGS = -Wstrict-prototypes -Wsign-compare -Wshadow \ - -Wchar-subscripts -Wmissing-declarations -Wnested-externs \ - -Wpointer-arith -Wcast-align -Wsign-compare -Wmissing-prototypes -@@ -130,7 +130,7 @@ endif - - # if DEBUG is enabled, then we do not strip - ifeq ($(strip $(DEBUG)),true) -- CFLAGS += -DDEBUG -+ CFLAGS += -g -DDEBUG - endif - - ifeq ($(strip $(USE_GCOV)),true) diff --git a/package/udevtrigger/patches/002-udevtrigger_no_config.patch b/package/udevtrigger/patches/002-udevtrigger_no_config.patch deleted file mode 100644 index f5d6a1c4ff..0000000000 --- a/package/udevtrigger/patches/002-udevtrigger_no_config.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/udevtrigger.c -+++ b/udevtrigger.c -@@ -446,7 +446,6 @@ int main(int argc, char *argv[], char *e - }; - - logging_init("udevtrigger"); -- udev_config_init(); - dbg("version %s", UDEV_VERSION); - sysfs_init(); - |