From: andersen at uclibc.org <andersen@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/hotplug
Date: Thu, 10 Aug 2006 13:08:31 -0700 (PDT) [thread overview]
Message-ID: <20060810200831.C0916485D2@busybox.net> (raw)
Author: andersen
Date: 2006-08-10 13:08:31 -0700 (Thu, 10 Aug 2006)
New Revision: 15796
Log:
rework hotplug with a customized version not dependant on kernel sources
Added:
trunk/buildroot/package/hotplug/diethotplug-0.5.tar
Removed:
trunk/buildroot/package/hotplug/hotplug.patch
Modified:
trunk/buildroot/package/hotplug/hotplug.mk
Changeset:
Added: trunk/buildroot/package/hotplug/diethotplug-0.5.tar
===================================================================
(Binary files differ)
Property changes on: trunk/buildroot/package/hotplug/diethotplug-0.5.tar
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified: trunk/buildroot/package/hotplug/hotplug.mk
===================================================================
--- trunk/buildroot/package/hotplug/hotplug.mk 2006-08-10 01:09:37 UTC (rev 15795)
+++ trunk/buildroot/package/hotplug/hotplug.mk 2006-08-10 20:08:31 UTC (rev 15796)
@@ -3,15 +3,13 @@
# hotplug support
#
#############################################################
-HOTPLUG_SOURCE=diethotplug-0.4.tar.gz
+HOTPLUG_SOURCE=package/hotplug/diethotplug-0.5.tar
HOTPLUG_SITE=http://www.kernel.org/pub/linux/utils/kernel/hotplug/
-HOTPLUG_DIR=$(BUILD_DIR)/diethotplug-0.4
+HOTPLUG_DIR=$(BUILD_DIR)/diethotplug-0.5
+HOTPLUG_CAT=cat
-$(DL_DIR)/$(HOTPLUG_SOURCE):
- $(WGET) -P $(DL_DIR) $(HOTPLUG_SITE)/$(HOTPLUG_SOURCE)
-
-$(HOTPLUG_DIR): $(DL_DIR)/$(HOTPLUG_SOURCE)
- zcat $(DL_DIR)/$(HOTPLUG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+$(HOTPLUG_DIR): $(HOTPLUG_SOURCE)
+ $(HOTPLUG_CAT) $(HOTPLUG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(HOTPLUG_DIR) package/hotplug/ hotplug\*.patch
$(HOTPLUG_DIR)/hotplug: $(HOTPLUG_DIR)
Deleted: trunk/buildroot/package/hotplug/hotplug.patch
===================================================================
--- trunk/buildroot/package/hotplug/hotplug.patch 2006-08-10 01:09:37 UTC (rev 15795)
+++ trunk/buildroot/package/hotplug/hotplug.patch 2006-08-10 20:08:31 UTC (rev 15796)
@@ -1,33 +0,0 @@
-diff -urN diethotplug-0.4.orig/pci.c diethotplug-0.4/pci.c
---- diethotplug-0.4.orig/pci.c Wed Jan 9 13:57:29 2002
-+++ diethotplug-0.4/pci.c Wed Jan 30 22:35:24 2002
-@@ -68,8 +68,8 @@
- }
-
- /* check that the class matches */
-- class_temp = pci_module_map[i].class_mask & pci_class;
-- if (pci_module_map[i].class != class_temp) {
-+ class_temp = (pci_module_map[i].class ^ pci_class) & pci_module_map[i].class_mask;
-+ if (class_temp != 0) {
- dbg ("class mask check failed %x != %x",
- pci_module_map[i].class, class_temp);
- continue;
---- diethotplug-0.4/Makefile.orig Wed Jan 9 14:28:05 2002
-+++ diethotplug-0.4/Makefile Mon Jul 8 07:29:00 2002
-@@ -135,13 +135,13 @@
-
- # Rules on how to create the generated header files
- usb_modules.h:
-- perl convert_usb.pl < /lib/modules/$(KERNEL_VERSION)/modules.usbmap > $@
-+ perl convert_usb.pl < $(TARGET_DIR)/lib/modules/$(KERNEL_VERSION)/modules.usbmap > $@
-
- pci_modules.h:
-- perl convert_pci.pl < /lib/modules/$(KERNEL_VERSION)/modules.pcimap > $@
-+ perl convert_pci.pl < $(TARGET_DIR)/lib/modules/$(KERNEL_VERSION)/modules.pcimap > $@
-
- ieee1394_modules.h:
-- perl convert_ieee1394.pl < /lib/modules/$(KERNEL_VERSION)/modules.ieee1394map > $@
-+ perl convert_ieee1394.pl < $(TARGET_DIR)/lib/modules/$(KERNEL_VERSION)/modules.ieee1394map > $@
-
- hotplug_version.h:
- @echo \#define HOTPLUG_VERSION \"$(VERSION)\" > $@
next reply other threads:[~2006-08-10 20:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-10 20:08 andersen at uclibc.org [this message]
2006-08-11 5:01 ` [Buildroot] svn commit: trunk/buildroot/package/hotplug Ulf Samuelsson
2006-08-14 16:45 ` Erik Andersen
2006-08-14 21:22 ` Ulf Samuelsson
2006-08-15 21:31 ` Rob Landley
2006-08-16 18:23 ` Erik Andersen
-- strict thread matches above, loose matches on Subject: below --
2007-10-18 22:59 ulf at uclibc.org
2008-12-17 6:32 hamish at uclibc.org
2008-12-17 9:40 ` Peter Korsgaard
2008-12-17 9:51 ` Markus Heidelberg
2008-12-17 10:31 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060810200831.C0916485D2@busybox.net \
--to=andersen@uclibc.org \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox