derle.sh 487 B

1234567891011121314151617181920212223242526
  1. sed -r -i 's|/usr(/bin/test)|\1|' test/udev-test.pl
  2. if [ -d /tools ];then
  3. cat > config.cache << "EOF"
  4. HAVE_BLKID=1
  5. BLKID_LIBS="-lblkid"
  6. BLKID_CFLAGS="-I/tools/include"
  7. EOF
  8. fi
  9. ./configure $confopt \
  10. --with-rootprefix= \
  11. --with-rootlibdir=/usr/lib \
  12. --enable-manpages \
  13. --disable-static \
  14. --config-cache \
  15. --enable-kmod \
  16. --disable-gtk-doc-html \
  17. --with-firmware-path=/usr/lib/firmware
  18. if [ -d /tools ];then
  19. LIBRARY_PATH=/tools/lib make
  20. else
  21. make
  22. fi