X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=stage1%2Fpkg%2Fudev;h=4333579fa6ab7c0287f4685b8060eed3a1c01f53;hb=4d52eba7984806a55873064c36eb09b2eeaa2853;hp=984e6f735a6931ae3b9f359810694cf6afdd696e;hpb=3605ab38ca7604b1fe43c3bce5e4963730a85d39;p=hvlinux.git diff --git a/stage1/pkg/udev b/stage1/pkg/udev index 984e6f7..4333579 100644 --- a/stage1/pkg/udev +++ b/stage1/pkg/udev @@ -1,22 +1,30 @@ #!/bin/bash -CC="${CC} ${CLFS_BUILDFLAGS}" - -CONFIGURE_OPTS="\ - --prefix=/usr \ - --build=${CLFS_HOST} \ - --host=${CLFS_TARGET} \ - --exec-prefix="" \ - --sysconfdir=/etc \ - --libexecdir=/lib/udev \ - --libdir=/usr/lib \ - --disable-extras \ - --disable-introspection" - hvconfig_pre() { - cd ${LFS_TMP}/${PACKAGE} + export LIBS="-lpthread" + export BLKID_CFLAGS="-I/tools/include/blkid" + export BLKID_LIBS="-L/tools/lib64 -lblkid" + export KMOD_CFLAGS="-I/tools/include" + export KMOD_LIBS="-L${CLFS}/lib64 -lkmod" + CONFIGURE_OPTS="\ + --prefix=/usr \ + --build=${CLFS_HOST} \ + --host=${CLFS_TARGET} \ + --exec-prefix="" \ + --with-rootprefix=${LFS} + --sysconfdir=/etc \ + --libexecdir=/lib \ + --disable-introspection \ + --with-usb-ids-path=no \ + --with-pci-ids-path=no \ + --disable-gtk-doc-html \ + --disable-gudev \ + --disable-keymap \ + --disable-logging" + + cd ${LFS_TMP}/${PACKAGE} install -dv ${LFS}/lib/{firmware,udev/devices/{pts,shm}} }