@ -29,8 +29,8 @@ $(call KernelPackage/ep80579-drivers/Default)
SUBMENU:= Network Devices
SUBMENU:= Network Devices
TITLE:= Intel EP80579 ethernet driver
TITLE:= Intel EP80579 ethernet driver
FILES:= \
FILES:= \
$( PKG_BUILD_DIR) /Embedded/build /gcu.ko \
$( PKG_BUILD_DIR) /Embedded/src/GbE /gcu.ko \
$( PKG_BUILD_DIR) /Embedded/build /iegbe.ko
$( PKG_BUILD_DIR) /Embedded/src/GbE /iegbe.ko
AUTOLOAD:= $( call AutoLoad,40,gcu iegbe)
AUTOLOAD:= $( call AutoLoad,40,gcu iegbe)
e n d e f
e n d e f
@ -39,8 +39,8 @@ $(call KernelPackage/ep80579-drivers/Default)
SUBMENU:= Other modules
SUBMENU:= Other modules
TITLE:= Misc. Intel EP80579 drivers ( DMA,, gpio)
TITLE:= Misc. Intel EP80579 drivers ( DMA,, gpio)
FILES:= \
FILES:= \
$( PKG_BUILD_DIR) /Embedded/build /dma.ko \
$( PKG_BUILD_DIR) /Embedded/src/EDMA /dma.ko \
$( PKG_BUILD_DIR) /Embedded/build /gpio.ko
$( PKG_BUILD_DIR) /Embedded/src/GPIO /gpio.ko
AUTOLOAD:= $( call AutoLoad,40,gpio dma)
AUTOLOAD:= $( call AutoLoad,40,gpio dma)
e n d e f
e n d e f
@ -49,8 +49,8 @@ $(call KernelPackage/ep80579-drivers/Default)
SUBMENU:= Other modules
SUBMENU:= Other modules
TITLE:= Intel EP80579 CAN driver
TITLE:= Intel EP80579 CAN driver
FILES:= \
FILES:= \
$( PKG_BUILD_DIR) /Embedded/build /timesync.ko \
$( PKG_BUILD_DIR) /Embedded/src/1588 /timesync.ko \
$( PKG_BUILD_DIR) /Embedded/build /can.ko
$( PKG_BUILD_DIR) /Embedded/src/CAN /can.ko
AUTOLOAD:= $( call AutoLoad,40,timesync can)
AUTOLOAD:= $( call AutoLoad,40,timesync can)
e n d e f
e n d e f
@ -61,14 +61,26 @@ define Build/Prepare
$( Build/Patch)
$( Build/Patch)
e n d e f
e n d e f
d e f i n e B u i l d / C o m p i l e
d e f i n e B u i l d / C o m p i l e / S u b d i r
( cd $( PKG_BUILD_DIR) /Embedded; \
$( MAKE) -C " $( LINUX_DIR) " \
$( MAKE) KERNEL_SOURCE_ROOT = $( LINUX_DIR) \
KSRC = " $( LINUX_DIR) " \
KSRC = $( LINUX_DIR) \
KOBJ = " $( LINUX_DIR) " \
KOBJ = $( LINUX_DIR) \
ENV_DIR = $( PKG_BUILD_DIR) /Embedded \
ENV_DIR = $( PKG_BUILD_DIR) /Embedded \
all \
SUBDIRS = " $( PKG_BUILD_DIR) /Embedded/src/ $( 1) " \
)
CROSS_COMPILE = " $( TARGET_CROSS) " \
ARCHIVER = " $( TARGET_CROSS) ar " \
COMPILER = " $( TARGET_CC) " \
LINKER = " $( TARGET_CROSS) ld " \
ARCH = " $( LINUX_KARCH) "
e n d e f
d e f i n e B u i l d / C o m p i l e
$( call Build/Compile/Subdir,GbE)
$( call Build/Compile/Subdir,CAN)
$( call Build/Compile/Subdir,EDMA)
$( call Build/Compile/Subdir,GPIO)
$( call Build/Compile/Subdir,WDT)
$( call Build/Compile/Subdir,1588)
e n d e f
e n d e f
d e f i n e K e r n e l P a c k a g e / e p 8 0 5 7 9 - e t h / i n s t a l l
d e f i n e K e r n e l P a c k a g e / e p 8 0 5 7 9 - e t h / i n s t a l l