From 8476933a5d0ef547b8877d466c871dd966785855 Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Fri, 17 Nov 2006 09:55:25 +0000 Subject: [PATCH] Stefan Fiedler: udev: use cross-compiling feature in stage 1 mark as cross-compilable update udev to 102 (rediffed) [2006111616581912586] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@8033 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/udev/udev.conf | 9 ++++++--- package/base/udev/udev.desc | 6 +++--- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/package/base/udev/udev.conf b/package/base/udev/udev.conf index 5d7154779..4f046624f 100644 --- a/package/base/udev/udev.conf +++ b/package/base/udev/udev.conf @@ -54,8 +54,11 @@ udev_prem() { var_append makeinstopt " " 'EXTRAS="${udev_extras}"' } -prefix="$root" -makeopt="udevdir=$root/dev" -makeinstopt="udevdir=$root/dev install" +prefix="" hook_add postmake 1 udev_pm hook_add premake 3 udev_prem + +if [ $stagelevel = 1 ] ; then + var_append makeopt " " "CROSS_COMPILE=$archprefix" + var_append makeinstopt " " "CROSS_COMPILE=$archprefix" +fi diff --git a/package/base/udev/udev.desc b/package/base/udev/udev.desc index be65763a6..c7bdff546 100644 --- a/package/base/udev/udev.desc +++ b/package/base/udev/udev.desc @@ -42,7 +42,7 @@ [L] GPL [S] Beta -[V] 100 -[P] X -?-3-----9 188.400 +[V] 102 +[P] X -X-3-----9 188.400 -[D] 1432798473 udev-100.tar.bz2 ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/ +[D] 2777970855 udev-102.tar.bz2 ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/