X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Fudev;h=d120b143b44597ca3960c01dfe3bf0d65371239b;hb=2f26e347a05e245d6f57cb6603a7a51a4418b80d;hp=0d46963e89b67b9cc2d6d8a66002438080dce82c;hpb=69ac3e7cf686f8e95e47a7ab89bc38796aace488;p=hvlinux.git diff --git a/stage1/pkg/udev b/stage1/pkg/udev index 0d46963..d120b14 100644 --- a/stage1/pkg/udev +++ b/stage1/pkg/udev @@ -1,17 +1,8 @@ #!/bin/bash -configure_pre() +hvconfig_pre() { - cd ${LFS_TMP}/${PACKAGE} - - install -dv ${LFS}/lib/{firmware,udev/devices/{pts,shm}} -} - -hvconfigure() -{ - cd ${LFS_TMP}/${PACKAGE}-build - - CC="${CC} ${CLFS_BUILDFLAGS}" ../${PACKAGE}/configure \ + CONFIGURE_OPTS="\ --prefix=/usr \ --build=${CLFS_HOST} \ --host=${CLFS_TARGET} \ @@ -20,7 +11,10 @@ hvconfigure() --libexecdir=/lib/udev \ --libdir=/usr/lib \ --disable-extras \ - --disable-introspection + --disable-introspection" + + cd ${LFS_TMP}/${PACKAGE} + install -dv ${LFS}/lib/{firmware,udev/devices/{pts,shm}} } hvbuild()