linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Treeve Jelbert <treeve01@pi.be>
To: linux-hotplug@vger.kernel.org
Subject: udev makefile patch
Date: Thu, 08 Apr 2004 17:09:30 +0000	[thread overview]
Message-ID: <200404081909.41722.treeve01@pi.be> (raw)

[-- Attachment #1: Type: Text/Plain, Size: 670 bytes --]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I am part of the development team for SourceMage GNU/Linux

We now use udev as the default device manager, mounting on /dev


We had to make the attached changes to the Makefile, so that we could provide 
our own rules and permissions


I hope that this may of use to someone else





Regards,  Treeve 

- -- 
PGP Key ID: AB929B24
PGP Key Fingerprint:31D9 D22F 42E6 F545 662E  AB6F 9697 34C5 AB92 9B24 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAdYdTlpc0xauSmyQRAmWoAJ9DGsraounV8UYv3JYJuLsnVRyBVwCeOE8t
1y1ZOhI8dpLTVneqvt9BjTY=
=Ncxw
-----END PGP SIGNATURE-----

[-- Attachment #2: Makefile.patch --]
[-- Type: text/x-makefile, Size: 1253 bytes --]

--- Makefile	2004-04-03 12:20:04.000000000 +0200
+++ Makefile.cp	2004-04-03 12:26:20.000000000 +0200
@@ -109,7 +109,6 @@
 	OPTIMIZATION+=-fstrict-aliasing
 endif
 ifeq ($(strip $(TARGET_ARCH)),i386)
-	OPTIMIZATION+=-march=i386
 	OPTIMIZATION += ${shell if $(CC) -mpreferred-stack-boundary=2 -S -o /dev/null -xc \
 		/dev/null >/dev/null 2>&1; then echo "-mpreferred-stack-boundary=2"; fi}
 	OPTIMIZATION += ${shell if $(CC) -malign-functions=0 -malign-jumps=0 -S -o /dev/null -xc \
@@ -384,7 +383,7 @@
 	- rm $(mandir)/man8/udevd.8
 	- rm $(mandir)/man8/udevsend.8
 
-install: install-initscript install-config install-man install-dev.d all
+install: install-man install-dev.d all
 	$(INSTALL) -d $(DESTDIR)$(udevdir)
 	$(INSTALL) -d $(DESTDIR)$(hotplugdir)
 	$(INSTALL_PROGRAM) -D $(ROOT) $(DESTDIR)$(sbindir)/$(ROOT)
@@ -394,10 +393,6 @@
 	$(INSTALL_PROGRAM) -D $(TESTER) $(DESTDIR)$(usrbindir)/$(TESTER)
 	$(INSTALL_PROGRAM) -D $(STARTER) $(DESTDIR)$(sbindir)/$(STARTER)
 	- ln -f -s $(sbindir)/$(SENDER) $(DESTDIR)$(hotplugdir)/$(ROOT).hotplug
-ifndef DESTDIR
-	- killall udevd
-	- rm -f $(udevdir)/.udev.tdb
-endif
 	@extras="$(EXTRAS)" ; for target in $$extras ; do \
 		echo $$target ; \
 		$(MAKE) prefix=$(prefix) LD="$(LD)" SYSFS="$(SYSFS)" \

             reply	other threads:[~2004-04-08 17:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-08 17:09 Treeve Jelbert [this message]
2004-04-08 20:15 ` udev makefile patch Greg KH

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=200404081909.41722.treeve01@pi.be \
    --to=treeve01@pi.be \
    --cc=linux-hotplug@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).