summaryrefslogtreecommitdiffstats
path: root/package/udevtrigger
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-07 02:49:24 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-07 02:49:24 +0000
commitce2febec6d537012cb27d114e5e7333e92335c3b (patch)
tree1287fc1c7b1dc43d9e90ac1ed8bb4c41b34f7beb /package/udevtrigger
parentd1081654419ce658e89cc61187e6fe1ed05d14b7 (diff)
hotplug2: replace udevtrigger from the udev-106 source with a much smaller self-contained, stripped-down version
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25920 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/udevtrigger')
-rw-r--r--package/udevtrigger/Makefile44
-rw-r--r--package/udevtrigger/patches/001-no_debug.patch20
-rw-r--r--package/udevtrigger/patches/002-udevtrigger_no_config.patch10
3 files changed, 0 insertions, 74 deletions
diff --git a/package/udevtrigger/Makefile b/package/udevtrigger/Makefile
deleted file mode 100644
index e64433959..000000000
--- 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 9f3ddd08d..000000000
--- 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 f5d6a1c4f..000000000
--- 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();
-