Changeset 2623

Show
Ignore:
Timestamp:
05/23/07 00:27:42 (2 years ago)
Author:
wbx
Message:

add md kernel support, fix some open bugs regarding confprog, ruby needs ruby, full build run fine

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/mk/modules.mk

    r2562 r2623  
    390390    $(MODULES_DIR)/kernel/drivers/scsi/sd_mod \ 
    391391,25)) 
     392 
     393$(eval $(call KMOD_template,BLK_DEV_MD,md,\ 
     394    $(MODULES_DIR)/kernel/drivers/md/xor \ 
     395    $(MODULES_DIR)/kernel/drivers/md/md \ 
     396,30)) 
     397 
     398$(eval $(call KMOD_template,MD_RAID0,md-raid0,\ 
     399    $(MODULES_DIR)/kernel/drivers/md/raid0 \ 
     400,35)) 
     401 
     402$(eval $(call KMOD_template,MD_RAID1,md-raid1,\ 
     403    $(MODULES_DIR)/kernel/drivers/md/raid1 \ 
     404,35)) 
     405 
     406$(eval $(call KMOD_template,MD_RAID5,md-raid5,\ 
     407    $(MODULES_DIR)/kernel/drivers/md/raid5 \ 
     408,35)) 
    392409 
    393410 
     
    9981015 
    9991016# Library modules 
     1017ifeq ($(KERNEL),2.6) 
    10001018$(eval $(call KMOD_template,CRC_CCITT,crc-ccitt, \ 
    10011019        $(MODULES_DIR)/kernel/lib/crc-ccitt \ 
    10021020,20)) 
     1021endif 
    10031022# 
    10041023# parallel port support 
  • trunk/freewrt/package/Depends.mk

    r2614 r2623  
    3030dsniff-compile: libnids-compile openssl-compile libgdbm-compile 
    3131elinks-compile: openssl-compile 
     32esound-compile: libaudiofile-compile 
    3233ettercap-compile: pcap-compile libnet-compile 
    3334fprobe-compile: libpcap-compile 
  • trunk/freewrt/package/fuse/Makefile

    r2602 r2623  
    1010PKG_NAME:=              fuse 
    1111PKG_VERSION:=           2.5.2 
    12 PKG_RELEASE:=           2 
     12PKG_RELEASE:=           3 
    1313PKG_MD5SUM:=            ea565debe6c7486963bef05c45c50361 
    1414PKG_SOURCE_URL:=        @SF/${PKG_NAME} 
     
    3535                        --disable-mtab 
    3636BUILD_STYLE=            auto 
    37 INSTALL_STYLE=          auto 
     37INSTALL_STYLE=          auto confprog 
    3838XAKE_FLAGS+=            ARCH="${KERNEL_ARCH}" \ 
    3939                        CROSS_COMPILE="${TARGET_CROSS}" 
     
    5858                ${IDIR_KMOD_FS_FUSE}/lib/modules/${KERNEL_VERSION}/ 
    5959endif 
    60         ${SED} 's,-I$${includedir}/fuse,,g' ${WRKINST}/usr/lib/pkgconfig/fuse.pc 
    61         ${SED} 's,-L$${libdir},,g' ${WRKINST}/usr/lib/pkgconfig/fuse.pc 
    6260 
    6361include ${TOPDIR}/mk/pkg-bottom.mk 
  • trunk/freewrt/package/libao/Makefile

    r1686 r2623  
    99PKG_NAME:=              libao 
    1010PKG_VERSION:=           0.8.6 
    11 PKG_RELEASE:=           1 
     11PKG_RELEASE:=           2 
    1212PKG_MD5SUM:=            12e136a4c0995068ff134997c84421ed 
    1313PKG_SOURCE_URL:=        http://downloads.xiph.org/releases/ao 
     
    2323                        --disable-polyp 
    2424BUILD_STYLE=            auto 
    25 INSTALL_STYLE=          auto 
     25INSTALL_STYLE=          auto confprog 
    2626 
    2727post-install: 
    2828        ${INSTALL_DIR} ${IDIR_LIBAO}/usr/lib 
    2929        ${CP} ${WRKINST}/usr/lib/libao.so.* ${IDIR_LIBAO}/usr/lib/ 
    30         ${SED} 's,-I$${includedir},,g' ${WRKINST}/usr/lib/pkgconfig/ao.pc 
    31         ${SED} 's,-L$${libdir},,g' ${WRKINST}/usr/lib/pkgconfig/ao.pc 
    3230 
    3331include ${TOPDIR}/mk/pkg-bottom.mk 
  • trunk/freewrt/package/libaudiofile/Makefile

    r1686 r2623  
    99PKG_NAME:=              libaudiofile 
    1010PKG_VERSION:=           0.2.6 
    11 PKG_RELEASE:=           1 
     11PKG_RELEASE:=           2 
    1212PKG_MD5SUM:=            460f848ce5f4a33ae66b15a4fb7720ec 
    1313PKG_SOURCE_URL:=        http://www.freewrt.org/distfiles 
     
    2626        ${INSTALL_DIR} ${IDIR_LIBAUDIOFILE}/usr/lib 
    2727        ${CP} ${WRKINST}/usr/lib/libaudiofile.so.* ${IDIR_LIBAUDIOFILE}/usr/lib/ 
    28         ${SED} 's,-I$${includedir},,g' ${WRKINST}/usr/lib/pkgconfig/audiofile.pc 
    29         ${SED} 's,-L$${libdir},,g' ${WRKINST}/usr/lib/pkgconfig/audiofile.pc 
    3028 
    3129include ${TOPDIR}/mk/pkg-bottom.mk 
  • trunk/freewrt/package/libdaemon/Makefile

    r1686 r2623  
    99PKG_NAME:=              libdaemon 
    1010PKG_VERSION:=           0.10 
    11 PKG_RELEASE:=           1 
     11PKG_RELEASE:=           2 
    1212PKG_MD5SUM:=            6812a5e4063b5016f25e9a0cebbd3dd9 
    1313PKG_SOURCE_URL:=        http://0pointer.de/lennart/projects/libdaemon/ 
     
    2121CONFIGURE_ARGS+=        --disable-lynx 
    2222BUILD_STYLE=            auto 
    23 INSTALL_STYLE=          auto 
     23INSTALL_STYLE=          auto confprog 
    2424 
    2525post-install: 
    26         install -d -m0755 ${IDIR_LIBDAEMON}/usr/lib 
     26        ${INSTALL_DIR} ${IDIR_LIBDAEMON}/usr/lib 
    2727        ${CP} ${WRKINST}/usr/lib/libdaemon.so.* ${IDIR_LIBDAEMON}/usr/lib/ 
    28         ${SED} 's,-I$${includedir},,g' ${WRKINST}/usr/lib/pkgconfig/libdaemon.pc 
    29         ${SED} 's,-L$${libdir},,g' ${WRKINST}/usr/lib/pkgconfig/libdaemon.pc 
    3028 
    3129include ${TOPDIR}/mk/pkg-bottom.mk 
  • trunk/freewrt/package/libogg/Makefile

    r1686 r2623  
    99PKG_NAME:=              libogg 
    1010PKG_VERSION:=           1.1.3 
    11 PKG_RELEASE:=           1 
     11PKG_RELEASE:=           2 
    1212PKG_MD5SUM:=            eaf7dc6ebbff30975de7527a80831585 
    1313PKG_SOURCE_URL:=        http://downloads.xiph.org/releases/ogg/ 
     
    1919CONFIGURE_STYLE=        gnu 
    2020BUILD_STYLE=            auto 
    21 INSTALL_STYLE=          auto 
     21INSTALL_STYLE=          auto confprog 
    2222 
    2323post-install: 
    2424        ${INSTALL_DIR} ${IDIR_LIBOGG}/usr/lib 
    2525        ${CP} ${WRKINST}/usr/lib/libogg.so.* ${IDIR_LIBOGG}/usr/lib/ 
    26         ${SED} 's,-I$${includedir},,g' ${WRKINST}/usr/lib/pkgconfig/ogg.pc 
    27         ${SED} 's,-L$${libdir},,g' ${WRKINST}/usr/lib/pkgconfig/ogg.pc 
    2826 
    2927include ${TOPDIR}/mk/pkg-bottom.mk 
  • trunk/freewrt/package/libvorbis/Makefile

    r1686 r2623  
    99PKG_NAME:=              libvorbis 
    1010PKG_VERSION:=           1.1.2 
    11 PKG_RELEASE:=           1 
     11PKG_RELEASE:=           2 
    1212PKG_MD5SUM:=            37847626b8e1b53ae79a34714c7b3211 
    1313PKG_SOURCE_URL:=        http://downloads.xiph.org/releases/vorbis 
     
    2727                        --with-ogg-libraries="${STAGING_DIR}/usr/lib" 
    2828BUILD_STYLE=            auto 
    29 INSTALL_STYLE=          auto 
     29INSTALL_STYLE=          auto confprog 
    3030 
    3131post-install: 
    3232        ${INSTALL_DIR} ${IDIR_LIBVORBIS}/usr/lib 
    3333        ${CP} ${WRKINST}/usr/lib/libvorbis.so.* ${IDIR_LIBVORBIS}/usr/lib/ 
    34         ${SED} 's,-I$${includedir},,g' ${WRKINST}/usr/lib/pkgconfig/vorbis{,enc,file}.pc 
    35         ${SED} 's,-L$${libdir},,g' ${WRKINST}/usr/lib/pkgconfig/vorbis{,enc,file}.pc 
    3634 
    3735include ${TOPDIR}/mk/pkg-bottom.mk 
  • trunk/freewrt/package/libxslt/Makefile

    r1686 r2623  
    99PKG_NAME:=              libxslt 
    1010PKG_VERSION:=           1.1.14 
    11 PKG_RELEASE:=           1 
     11PKG_RELEASE:=           2 
    1212PKG_MD5SUM:=            db71660bb7d01ccd4e6be990af8d813b 
    1313PKG_SOURCE_URL:=        http://xmlsoft.org/sources/ \ 
     
    2828                        --without-debugger 
    2929BUILD_STYLE=            auto 
    30 INSTALL_STYLE=          auto 
     30INSTALL_STYLE=          auto confprog 
    3131 
    3232post-install: 
    3333        ${INSTALL_DIR} ${IDIR_LIBXSLT}/usr/lib 
    3434        ${CP} ${WRKINST}/usr/lib/libxslt.so.* ${IDIR_LIBXSLT}/usr/lib/ 
    35         ${SED} 's,-I$${includedir},,g' ${WRKINST}/usr/bin/xslt-config 
    36         ${SED} 's,-I${STAGING_DIR}/usr/include,,g' ${WRKINST}/usr/bin/xslt-config 
    37         ${SED} 's,-L$${libdir},,g' ${WRKINST}/usr/bin/xslt-config 
    38         ${SED} 's,-L${STAGING_DIR}/usr/lib,,g' ${WRKINST}/usr/bin/xslt-config 
    39         ${SED} 's,-I$${includedir},,g' ${WRKINST}/usr/lib/pkgconfig/libxslt.pc 
    40         ${SED} 's,-L$${libdir},,g' ${WRKINST}/usr/lib/pkgconfig/libxslt.pc 
    41         ${SED} 's,-L${STAGING_DIR}/usr/lib,,g' ${WRKINST}/usr/lib/pkgconfig/libxslt.pc 
    4235 
    4336include ${TOPDIR}/mk/pkg-bottom.mk 
  • trunk/freewrt/scripts/scan-pkgs.sh

    r2616 r2623  
    7272fi 
    7373 
     74if [[ -n $FWRT_PACKAGE_RUBY ]]; then 
     75        NEED_RUBY="$NEED_RUBY ruby" 
     76fi 
     77 
    7478#-- start checking dependencies here -- 
    7579 
     
    9195        if ! which fastjar >/dev/null 2>&1; then 
    9296                echo >&2 You need fastjar to build $NEED_FASTJAR 
     97                out=1 
     98        fi 
     99fi 
     100 
     101if [[ -n $NEED_RUBY ]]; then 
     102        if ! which ruby >/dev/null 2>&1; then 
     103                echo >&2 You need ruby to build $NEED_RUBY 
    93104                out=1 
    94105        fi 
  • trunk/freewrt/target/linux/config/Config.in.block

    r2504 r2623  
    11menu "Block devices support" 
     2 
     3config FWRT_KERNEL_MD 
     4        boolean 
     5        default n 
    26 
    37config FWRT_KERNEL_SWAP 
     
    147151          Channel, FireWire storage and the IDE-SCSI emulation driver. 
    148152 
    149  
    150  
    151153config FWRT_KPACKAGE_KMOD_BLK_DEV_SD 
    152154        prompt "kmod-scsi-disk.................... SCSI disk support" 
     
    161163          CD-ROMs. 
    162164 
     165config FWRT_KPACKAGE_KMOD_BLK_DEV_MD 
     166        prompt "kmod-md........................... RAID support" 
     167        tristate 
     168        select FWRT_KERNEL_MD 
     169        help 
     170 
     171config FWRT_KPACKAGE_KMOD_MD_RAID0 
     172        prompt "kmod-md-raid0..................... RAID0 support" 
     173        tristate 
     174        depends FWRT_KPACKAGE_KMOD_BLK_DEV_MD 
     175        help 
     176 
     177config FWRT_KPACKAGE_KMOD_MD_RAID1 
     178        prompt "kmod-md-raid1..................... RAID1 support" 
     179        tristate 
     180        depends FWRT_KPACKAGE_KMOD_BLK_DEV_MD 
     181        help 
     182 
     183config FWRT_KPACKAGE_KMOD_MD_RAID5 
     184        prompt "kmod-md-raid5..................... RAID5 support" 
     185        tristate 
     186        depends FWRT_KPACKAGE_KMOD_BLK_DEV_MD 
     187        help 
     188 
    163189endmenu