From mboxrd@z Thu Jan 1 00:00:00 1970 From: Treeve Jelbert Date: Thu, 08 Apr 2004 17:09:30 +0000 Subject: udev makefile patch Message-Id: <200404081909.41722.treeve01@pi.be> MIME-Version: 1 Content-Type: multipart/mixed; boundary="Boundary-00=_KdYdAkUhJ+OR4UQ" List-Id: To: linux-hotplug@vger.kernel.org --Boundary-00=_KdYdAkUhJ+OR4UQ Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline =2D----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 provi= de=20 our own rules and permissions I hope that this may of use to someone else Regards, Treeve=20 =2D --=20 PGP Key ID: AB929B24 PGP Key Fingerprint:31D9 D22F 42E6 F545 662E AB6F 9697 34C5 AB92 9B24=20 =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAdYdTlpc0xauSmyQRAmWoAJ9DGsraounV8UYv3JYJuLsnVRyBVwCeOE8t 1y1ZOhI8dpLTVneqvt9BjTY=3D =3DNcxw =2D----END PGP SIGNATURE----- --Boundary-00=_KdYdAkUhJ+OR4UQ Content-Type: text/x-makefile; charset="us-ascii"; name="Makefile.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="Makefile.patch" --- 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)" \ --Boundary-00=_KdYdAkUhJ+OR4UQ-- ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel