General complie problem...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  
Hi all,

   * I want to add an application in kernel. for that i have included my directory(ffnetdrv) under
      path: "linux-2.4.22/driver/net/

  * I have edited the Makefile under net directory to include my folder(ffnetdrv).

  * I have one makefile in ffnetdrv which follows like: -

    -----------------------------------------------------------------------------------------------
    O_TARGET := unimac.o
    obj-y    :=     qd_drv/Dev/qdInit.o \
        qd_drv/Dev/qdModule.o \
        qd_drv/Dev/qdIoctl.o \
        qd_drv/src/driver/gtDrvConfig.o \
        qd_drv/src/driver/gtDrvEvents.o \
        qd_drv/src/driver/gtHwCntl.o \
        qd_drv/src/platform/gtDebug.o \
        qd_drv/src/platform/gtMiiSmiIf.o \
        qd_drv/src/platform/gtSem.o \
        qd_drv/src/msapi/gtSysConfig.o \
        qd_drv/src/msapi/gtBrgFdb.o \
        qd_drv/src/msapi/gtBrgStp.o \
        qd_drv/src/msapi/gtBrgVlan.o \
        qd_drv/src/msapi/gtBrgVtu.o \
        qd_drv/src/msapi/gtEvents.o \
        qd_drv/src/msapi/gtPhyCtrl.o \
        qd_drv/src/msapi/gtPhyInt.o \
        qd_drv/src/msapi/gtPortCtrl.o \
        qd_drv/src/msapi/gtPortPav.o \
        qd_drv/src/msapi/gtPortRateCtrl.o \
        qd_drv/src/msapi/gtPortRmon.o \
        qd_drv/src/msapi/gtPortStat.o \
        qd_drv/src/msapi/gtPortStatus.o \
        qd_drv/src/msapi/gtQosMap.o \
        qd_drv/src/msapi/gtSysCtrl.o \
        qd_drv/src/msapi/gtSysStatus.o \
        qd_drv/src/msapi/gtUtils.o \
        qd_drv/src/msapi/gtVct.o \
        qd_drv/src/msapi/gtVersion.o \
        unimac/mvFF_eth.o \
        unimac/mvFF_addrtbl.o \
        unimac/mv_unimac_mgr.o \
        unimac/mvFF_netconf.o \
        qd_drv/Dev/qdFFmii.o

  include $(TOPDIR)/Rules.make
  --------------------------------------------------------------------------------------------

  I want to activate folllowing CFLAGS for this above mentioned Makefile, the
  CFLAGS follows:...
      
       CFLAGS += -I./qd_drv/include -I./unimac -I./include
      
The three above directory called qd_drv/include, unimac, include are present in
  my directory(ffnetdrv).

In which best possible ways i can edit this Makefile to complie my directory.

Thanks in advance...


Kanhu Charan Rauta
Innomedia Techonologies Pvt. Ltd
#3278,12Th Main,
HAL 2nd stage.
Banglore-560008.
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://www.redhat.com/mailman/listinfo/redhat-list


[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux