From ce2febec6d537012cb27d114e5e7333e92335c3b Mon Sep 17 00:00:00 2001 From: nbd Date: Mon, 7 Mar 2011 02:49:24 +0000 Subject: 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 --- package/udevtrigger/Makefile | 44 ---------------------- package/udevtrigger/patches/001-no_debug.patch | 20 ---------- .../patches/002-udevtrigger_no_config.patch | 10 ----- 3 files changed, 74 deletions(-) delete mode 100644 package/udevtrigger/Makefile delete mode 100644 package/udevtrigger/patches/001-no_debug.patch delete mode 100644 package/udevtrigger/patches/002-udevtrigger_no_config.patch (limited to 'package/udevtrigger') 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 -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(); - -- cgit v1.2.3