2 # Copyright (C) 2006-2012 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 OTHER_MENU
:=Other modules
10 WATCHDOG_DIR
:=watchdog
13 define KernelPackage
/bluetooth
14 SUBMENU
:=$(OTHER_MENU
)
15 TITLE
:=Bluetooth support
16 DEPENDS
:=@USB_SUPPORT
+kmod-usb-core
23 CONFIG_BLUEZ_HCIUART \
34 CONFIG_BT_HCIUART_H4 \
37 $(call AddDepends
/crc16
)
38 $(call AddDepends
/hid
)
39 $(call AddDepends
/rfkill
)
41 $(LINUX_DIR
)/net
/bluetooth
/bluetooth.ko \
42 $(LINUX_DIR
)/net
/bluetooth
/rfcomm
/rfcomm.ko \
43 $(LINUX_DIR
)/net
/bluetooth
/bnep
/bnep.ko \
44 $(LINUX_DIR
)/net
/bluetooth
/hidp
/hidp.ko \
45 $(LINUX_DIR
)/drivers
/bluetooth
/hci_uart.ko \
46 $(LINUX_DIR
)/drivers
/bluetooth
/btusb.ko
47 AUTOLOAD
:=$(call AutoLoad
,90,bluetooth rfcomm bnep hidp hci_uart btusb
)
50 define KernelPackage
/bluetooth
/description
51 Kernel support for Bluetooth devices
54 $(eval
$(call KernelPackage
,bluetooth
))
57 define KernelPackage
/bluetooth-hci-h4p
58 SUBMENU
:=$(OTHER_MENU
)
59 TITLE
:=HCI driver with H4 Nokia extensions
60 DEPENDS
:=@TARGET_omap24xx
+kmod-bluetooth
61 KCONFIG
:=CONFIG_BT_HCIH4P
62 FILES
:=$(LINUX_DIR
)/drivers
/bluetooth
/hci_h4p
/hci_h4p.ko
63 AUTOLOAD
:=$(call AutoLoad
,91,hci_h4p
)
66 define KernelPackage
/bluetooth-hci-h4p
/description
67 HCI driver with H4 Nokia extensions
70 $(eval
$(call KernelPackage
,bluetooth-hci-h4p
))
73 define KernelPackage
/eeprom-93cx6
74 SUBMENU
:=$(OTHER_MENU
)
75 TITLE
:=EEPROM
93CX6 support
76 KCONFIG
:=CONFIG_EEPROM_93CX6
77 FILES
:=$(LINUX_DIR
)/drivers
/misc
/eeprom
/eeprom_93cx6.ko
78 AUTOLOAD
:=$(call AutoLoad
,20,eeprom_93cx6
)
81 define KernelPackage
/eeprom-93cx6
/description
82 Kernel module for EEPROM
93CX6 support
85 $(eval
$(call KernelPackage
,eeprom-93cx6
))
88 define KernelPackage
/eeprom-at24
89 SUBMENU
:=$(OTHER_MENU
)
90 TITLE
:=EEPROM AT24 support
91 KCONFIG
:=CONFIG_EEPROM_AT24
92 DEPENDS
:=+kmod-i2c-core
93 FILES
:=$(LINUX_DIR
)/drivers
/misc
/eeprom
/at24.ko
94 AUTOLOAD
:=$(call AutoLoad
,60,at24
)
97 define KernelPackage
/eeprom-at24
/description
98 Kernel module for most I2C EEPROMs
101 $(eval
$(call KernelPackage
,eeprom-at24
))
104 define KernelPackage
/eeprom-at25
105 SUBMENU
:=$(OTHER_MENU
)
106 TITLE
:=EEPROM AT25 support
107 KCONFIG
:=CONFIG_EEPROM_AT25
108 FILES
:=$(LINUX_DIR
)/drivers
/misc
/eeprom
/at25.ko
109 AUTOLOAD
:=$(call AutoLoad
,61,at25
)
112 define KernelPackage
/eeprom-at25
/description
113 Kernel module for most SPI EEPROMs
116 $(eval
$(call KernelPackage
,eeprom-at25
))
119 define KernelPackage
/gpio-dev
120 SUBMENU
:=$(OTHER_MENU
)
121 TITLE
:=Generic GPIO char device support
122 DEPENDS
:=@GPIO_SUPPORT
123 KCONFIG
:=CONFIG_GPIO_DEVICE
124 FILES
:=$(LINUX_DIR
)/drivers
/char
/gpio_dev.ko
125 AUTOLOAD
:=$(call AutoLoad
,40,gpio_dev
)
128 define KernelPackage
/gpio-dev
/description
129 Kernel module to allows control of GPIO pins using a character device.
132 $(eval
$(call KernelPackage
,gpio-dev
))
135 define KernelPackage
/gpio-nxp-74hc164
136 SUBMENU
:=$(OTHER_MENU
)
137 TITLE
:=NXP
74HC164 GPIO expander support
138 KCONFIG
:=CONFIG_GPIO_NXP_74HC164
139 FILES
:=$(LINUX_DIR
)/drivers
/gpio
/nxp_74hc164.ko
140 AUTOLOAD
:=$(call AutoLoad
,99,nxp_74hc164
)
143 define KernelPackage
/gpio-nxp-74hc164
/description
144 Kernel module for NXP
74HC164 GPIO expander
147 $(eval
$(call KernelPackage
,gpio-nxp-74hc164
))
149 define KernelPackage
/gpio-pcf857x
150 SUBMENU
:=$(OTHER_MENU
)
151 DEPENDS
:=@GPIO_SUPPORT
+kmod-i2c-core
152 TITLE
:=PCX857x
, PCA967x and MAX732X I2C GPIO expanders
153 KCONFIG
:=CONFIG_GPIO_PCF857X
154 FILES
:=$(LINUX_DIR
)/drivers
/gpio
/gpio-pcf857x.ko
155 AUTOLOAD
:=$(call AutoLoad
,55,gpio-pcf857x
)
158 define KernelPackage
/gpio-pcf857x
/description
159 Kernel module for PCF857x
, PCA
{85,96}7x
, and MAX732
[89] I2C GPIO expanders
162 $(eval
$(call KernelPackage
,gpio-pcf857x
))
164 define KernelPackage
/lp
165 SUBMENU
:=$(OTHER_MENU
)
166 TITLE
:=Parallel port and line printer support
173 $(LINUX_DIR
)/drivers
/parport
/parport.ko \
174 $(LINUX_DIR
)/drivers
/char
/lp.ko \
175 $(LINUX_DIR
)/drivers
/char
/ppdev.ko
176 AUTOLOAD
:=$(call AutoLoad
,50,parport lp
)
179 $(eval
$(call KernelPackage
,lp
))
182 define KernelPackage
/mmc
183 SUBMENU
:=$(OTHER_MENU
)
184 TITLE
:=MMC
/SD Card Support
189 CONFIG_MMC_UNSAFE_RESUME
=n \
190 CONFIG_MMC_BLOCK_BOUNCE
=y \
192 CONFIG_MMC_TIFM_SD
=n \
196 $(LINUX_DIR
)/drivers
/mmc
/core
/mmc_core.ko \
197 $(LINUX_DIR
)/drivers
/mmc
/card
/mmc_block.ko
198 AUTOLOAD
:=$(call AutoLoad
,90,mmc_core mmc_block
,1)
201 define KernelPackage
/mmc
/description
202 Kernel support for MMC
/SD cards
205 $(eval
$(call KernelPackage
,mmc
))
208 define KernelPackage
/oprofile
209 SUBMENU
:=$(OTHER_MENU
)
210 TITLE
:=OProfile profiling support
211 KCONFIG
:=CONFIG_OPROFILE
212 FILES
:=$(LINUX_DIR
)/arch
/$(LINUX_KARCH
)/oprofile
/oprofile.ko
213 DEPENDS
:=@KERNEL_PROFILING
216 define KernelPackage
/oprofile
/description
217 Kernel module for support for oprofile system profiling.
220 $(eval
$(call KernelPackage
,oprofile
))
223 define KernelPackage
/rfkill
224 SUBMENU
:=$(OTHER_MENU
)
225 TITLE
:=RF switch subsystem support
228 CONFIG_RFKILL_INPUT
=y \
229 CONFIG_RFKILL_LEDS
=y \
232 $(LINUX_DIR
)/net
/rfkill
/rfkill.ko
233 AUTOLOAD
:=$(call AutoLoad
,20,rfkill
)
234 $(call SetDepends
/rfkill
)
237 define KernelPackage
/rfkill
/description
238 Say Y here if you want to have control over RF switches
239 found on many WiFi and Bluetooth cards.
242 $(eval
$(call KernelPackage
,rfkill
))
245 define KernelPackage
/softdog
246 SUBMENU
:=$(OTHER_MENU
)
247 TITLE
:=Software watchdog driver
248 KCONFIG
:=CONFIG_SOFT_WATCHDOG
249 FILES
:=$(LINUX_DIR
)/drivers
/$(WATCHDOG_DIR
)/softdog.ko
250 AUTOLOAD
:=$(call AutoLoad
,50,softdog
)
253 define KernelPackage
/softdog
/description
254 Software watchdog driver
257 $(eval
$(call KernelPackage
,softdog
))
260 define KernelPackage
/ssb
261 SUBMENU
:=$(OTHER_MENU
)
262 TITLE
:=Silicon Sonics Backplane glue code
263 DEPENDS
:=@PCI_SUPPORT @
!TARGET_brcm47xx @
!TARGET_brcm63xx
266 CONFIG_SSB_B43_PCI_BRIDGE
=y \
267 CONFIG_SSB_DRIVER_MIPS
=n \
268 CONFIG_SSB_DRIVER_PCICORE
=y \
269 CONFIG_SSB_DRIVER_PCICORE_POSSIBLE
=y \
270 CONFIG_SSB_PCIHOST
=y \
271 CONFIG_SSB_PCIHOST_POSSIBLE
=y \
272 CONFIG_SSB_POSSIBLE
=y \
275 FILES
:=$(LINUX_DIR
)/drivers
/ssb
/ssb.ko
276 AUTOLOAD
:=$(call AutoLoad
,29,ssb
)
279 define KernelPackage
/ssb
/description
280 Silicon Sonics Backplane glue code.
283 $(eval
$(call KernelPackage
,ssb
))
286 define KernelPackage
/bcma
287 SUBMENU
:=$(OTHER_MENU
)
289 DEPENDS
:=@PCI_SUPPORT @
!TARGET_brcm47xx
292 CONFIG_BCMA_POSSIBLE
=y \
293 CONFIG_BCMA_BLOCKIO
=y \
294 CONFIG_BCMA_HOST_PCI_POSSIBLE
=y \
295 CONFIG_BCMA_HOST_PCI
=y \
296 CONFIG_BCMA_DRIVER_MIPS
=n \
297 CONFIG_BCMA_DRIVER_PCI_HOSTMODE
=n \
298 CONFIG_BCMA_DRIVER_GMAC_CMN
=n \
300 FILES
:=$(LINUX_DIR
)/drivers
/bcma
/bcma.ko
301 AUTOLOAD
:=$(call AutoLoad
,29,bcma
)
304 define KernelPackage
/bcma
/description
305 Bus driver for Broadcom specific Advanced Microcontroller Bus Architecture.
308 $(eval
$(call KernelPackage
,bcma
))
311 define KernelPackage
/wdt-omap
312 SUBMENU
:=$(OTHER_MENU
)
313 TITLE
:=OMAP Watchdog timer
314 DEPENDS
:=@
(TARGET_omap24xx||TARGET_omap35xx
)
315 KCONFIG
:=CONFIG_OMAP_WATCHDOG
316 FILES
:=$(LINUX_DIR
)/drivers
/$(WATCHDOG_DIR
)/omap_wdt.ko
317 AUTOLOAD
:=$(call AutoLoad
,50,omap_wdt.ko
)
320 define KernelPackage
/wdt-omap
/description
321 Kernel module for TI omap watchdog timer.
324 $(eval
$(call KernelPackage
,wdt-omap
))
327 define KernelPackage
/wdt-orion
328 SUBMENU
:=$(OTHER_MENU
)
329 TITLE
:=Marvell Orion Watchdog timer
330 DEPENDS
:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu
331 KCONFIG
:=CONFIG_ORION_WATCHDOG
332 FILES
:=$(LINUX_DIR
)/drivers
/$(WATCHDOG_DIR
)/orion_wdt.ko
333 AUTOLOAD
:=$(call AutoLoad
,50,orion_wdt
)
336 define KernelPackage
/wdt-orion
/description
337 Kernel module for Marvell Orion
, Kirkwood and Armada XP
/370 watchdog timer.
340 $(eval
$(call KernelPackage
,wdt-orion
))
343 define KernelPackage
/booke-wdt
344 SUBMENU
:=$(OTHER_MENU
)
345 TITLE
:=PowerPC Book-E Watchdog Timer
346 DEPENDS
:=@
(TARGET_mpc85xx||TARGET_ppc40x||TARGET_ppc44x
)
347 KCONFIG
:=CONFIG_BOOKE_WDT
348 FILES
:=$(LINUX_DIR
)/drivers
/$(WATCHDOG_DIR
)/booke_wdt.ko
349 AUTOLOAD
:=$(call AutoLoad
,50,booke_wdt
)
352 define KernelPackage
/booke-wdt
/description
353 Kernel module for PowerPC Book-E Watchdog Timer.
356 $(eval
$(call KernelPackage
,booke-wdt
))
359 define KernelPackage
/pwm
360 SUBMENU
:=$(OTHER_MENU
)
361 TITLE
:=PWM generic API
362 KCONFIG
:=CONFIG_GENERIC_PWM
363 FILES
:=$(LINUX_DIR
)/drivers
/pwm
/pwm.ko
364 AUTOLOAD
:=$(call AutoLoad
,50,pwm
)
367 define KernelPackage
/pwm
/description
368 Kernel module that implement a generic PWM API
371 $(eval
$(call KernelPackage
,pwm
))
374 define KernelPackage
/pwm-gpio
375 SUBMENU
:=$(OTHER_MENU
)
378 KCONFIG
:=CONFIG_GPIO_PWM
379 FILES
:=$(LINUX_DIR
)/drivers
/pwm
/gpio-pwm.ko
380 AUTOLOAD
:=$(call AutoLoad
,51,gpio-pwm
)
383 define KernelPackage
/pwm-gpio
/description
384 Kernel module to models a single-channel PWM device using a timer and a GPIO pin
387 $(eval
$(call KernelPackage
,pwm-gpio
))
390 define KernelPackage
/rtc-isl1208
391 SUBMENU
:=$(OTHER_MENU
)
392 TITLE
:=Intersil ISL1208 RTC support
393 $(call AddDepends
/rtc
)
394 DEPENDS
+=+kmod-i2c-core
395 KCONFIG
:=CONFIG_RTC_DRV_ISL1208
396 FILES
:=$(LINUX_DIR
)/drivers
/rtc
/rtc-isl1208.ko
397 AUTOLOAD
:=$(call AutoLoad
,60,rtc-isl1208
)
400 define KernelPackage
/rtc-isl1208
/description
401 Kernel module for Intersil ISL1208 RTC.
404 $(eval
$(call KernelPackage
,rtc-isl1208
))
407 define KernelPackage
/rtc-marvell
408 SUBMENU
:=$(OTHER_MENU
)
409 TITLE
:=Marvell SoC built-in RTC support
410 $(call AddDepends
/rtc
)
411 DEPENDS
+=@TARGET_kirkwood||TARGET_orion||TARGET_mvebu
412 KCONFIG
:=CONFIG_RTC_DRV_MV
413 FILES
:=$(LINUX_DIR
)/drivers
/rtc
/rtc-mv.ko
414 AUTOLOAD
:=$(call AutoLoad
,60,rtc-mv
)
417 define KernelPackage
/rtc-marvell
/description
418 Kernel module for Marvell SoC built-in RTC.
421 $(eval
$(call KernelPackage
,rtc-marvell
))
423 define KernelPackage
/rtc-pcf8563
424 SUBMENU
:=$(OTHER_MENU
)
425 TITLE
:=Philips PCF8563
/Epson RTC8564 RTC support
426 $(call AddDepends
/rtc
)
427 KCONFIG
:=CONFIG_RTC_DRV_PCF8563
428 FILES
:=$(LINUX_DIR
)/drivers
/rtc
/rtc-pcf8563.ko
429 AUTOLOAD
:=$(call AutoLoad
,60,rtc-pcf8563
)
432 define KernelPackage
/rtc-pcf8563
/description
433 Kernel module for Philips PCF8563 RTC chip.
434 The Epson RTC8564 should work
as well.
437 $(eval
$(call KernelPackage
,rtc-pcf8563
))
440 define KernelPackage
/rtc-pcf2123
441 SUBMENU
:=$(OTHER_MENU
)
442 TITLE
:=Philips PCF2123 RTC support
443 $(call AddDepends
/rtc
)
444 KCONFIG
:=CONFIG_RTC_DRV_PCF2123
445 FILES
:=$(LINUX_DIR
)/drivers
/rtc
/rtc-pcf2123.ko
446 AUTOLOAD
:=$(call AutoLoad
,60,rtc-pcf2123
)
449 define KernelPackage
/rtc-pcf2123
/description
450 Kernel module for Philips PCF2123 RTC chip.
453 $(eval
$(call KernelPackage
,rtc-pcf2123
))
455 define KernelPackage
/rtc-pt7c4338
456 SUBMENU
:=$(OTHER_MENU
)
457 TITLE
:=Pericom PT7C4338 RTC support
458 $(call AddDepends
/rtc
,+kmod-i2c-core
)
459 KCONFIG
:=CONFIG_RTC_DRV_PT7C4338
460 FILES
:=$(LINUX_DIR
)/drivers
/rtc
/rtc-pt7c4338.ko
461 AUTOLOAD
:=$(call AutoLoad
,60,rtc-pt7c4338
)
464 define KernelPackage
/rtc-pt7c4338
/description
465 Kernel module for Pericom PT7C4338 i2c RTC chip.
468 $(eval
$(call KernelPackage
,rtc-pt7c4338
))
471 define KernelPackage
/mtdtests
472 SUBMENU
:=$(OTHER_MENU
)
473 TITLE
:=MTD subsystem tests
474 KCONFIG
:=CONFIG_MTD_TESTS
476 $(LINUX_DIR
)/drivers
/mtd
/tests
/mtd_nandecctest.ko \
477 $(LINUX_DIR
)/drivers
/mtd
/tests
/mtd_oobtest.ko \
478 $(LINUX_DIR
)/drivers
/mtd
/tests
/mtd_pagetest.ko \
479 $(LINUX_DIR
)/drivers
/mtd
/tests
/mtd_readtest.ko \
480 $(LINUX_DIR
)/drivers
/mtd
/tests
/mtd_speedtest.ko \
481 $(LINUX_DIR
)/drivers
/mtd
/tests
/mtd_stresstest.ko \
482 $(LINUX_DIR
)/drivers
/mtd
/tests
/mtd_subpagetest.ko \
483 $(LINUX_DIR
)/drivers
/mtd
/tests
/mtd_torturetest.ko
486 define KernelPackage
/mtdtests
/description
487 Kernel modules for MTD subsystem
/driver testing.
490 $(eval
$(call KernelPackage
,mtdtests
))
493 define KernelPackage
/nand
494 SUBMENU
:=$(OTHER_MENU
)
495 TITLE
:=NAND flash support
496 KCONFIG
:=CONFIG_MTD_NAND \
497 CONFIG_MTD_NAND_IDS \
500 $(LINUX_DIR
)/drivers
/mtd
/nand
/nand_ids.ko \
501 $(LINUX_DIR
)/drivers
/mtd
/nand
/nand_ecc.ko \
502 $(LINUX_DIR
)/drivers
/mtd
/nand
/nand.ko
503 AUTOLOAD
:=$(call AutoLoad
,20,nand_ids nand_ecc nand
)
506 define KernelPackage
/nand
/description
507 Kernel module for NAND support.
510 $(eval
$(call KernelPackage
,nand
))
513 define KernelPackage
/nandsim
514 SUBMENU
:=$(OTHER_MENU
)
515 TITLE
:=NAND simulator
517 KCONFIG
:=CONFIG_MTD_NAND_NANDSIM
518 FILES
:=$(LINUX_DIR
)/drivers
/mtd
/nand
/nandsim.ko
521 define KernelPackage
/nandsim
/description
522 Kernel module for NAND flash simulation.
525 $(eval
$(call KernelPackage
,nandsim
))
527 define KernelPackage
/serial-8250
528 SUBMENU
:=$(OTHER_MENU
)
530 KCONFIG
:= CONFIG_SERIAL_8250 \
531 CONFIG_SERIAL_8250_NR_UARTS
=16 \
532 CONFIG_SERIAL_8250_RUNTIME_UARTS
=16 \
533 CONFIG_SERIAL_8250_EXTENDED
=y \
534 CONFIG_SERIAL_8250_MANY_PORTS
=y \
535 CONFIG_SERIAL_8250_SHARE_IRQ
=y \
536 CONFIG_SERIAL_8250_DETECT_IRQ
=n \
537 CONFIG_SERIAL_8250_RSA
=n
538 FILES
:=$(LINUX_DIR
)/drivers
/tty
/serial
/8250/8250$(if
$(call kernel_patchver_ge
,3.7),_core
).ko
541 define KernelPackage
/serial-8250
/description
542 Kernel module for
8250 UART based serial ports.
545 $(eval
$(call KernelPackage
,serial-8250
))
548 define KernelPackage
/regmap
549 SUBMENU
:=$(OTHER_MENU
)
550 TITLE
:=Generic register map support
551 DEPENDS
:=+kmod-lib-lzo
+kmod-i2c-core
552 KCONFIG
:=CONFIG_REGMAP \
557 $(LINUX_DIR
)/drivers
/base
/regmap
/regmap-core.ko \
558 $(LINUX_DIR
)/drivers
/base
/regmap
/regmap-i2c.ko \
559 $(LINUX_DIR
)/drivers
/base
/regmap
/regmap-spi.ko
560 AUTOLOAD
:=$(call AutoLoad
,21,regmap-core regmap-i2c regmap-spi
)
563 define KernelPackage
/regmap
/description
564 Generic register map support
567 $(eval
$(call KernelPackage
,regmap
))
569 define KernelPackage
/ikconfig
570 SUBMENU
:=$(OTHER_MENU
)
571 TITLE
:=Kernel configuration via
/proc
/config.gz
572 KCONFIG
:=CONFIG_IKCONFIG \
573 CONFIG_IKCONFIG_PROC
=y
574 FILES
:=$(LINUX_DIR
)/kernel
/configs.ko
575 AUTOLOAD
:=$(call AutoLoad
,70,configs
)
578 define KernelPackage
/ikconfig
/description
579 Kernel configuration via
/proc
/config.gz
582 $(eval
$(call KernelPackage
,ikconfig
))
585 define KernelPackage
/zram
586 SUBMENU
:=$(OTHER_MENU
)
588 DEPENDS
:=@
!LINUX_3_3
+kmod-lib-lzo
594 $(LINUX_DIR
)/drivers
/staging
/zsmalloc
/zsmalloc.ko \
595 $(LINUX_DIR
)/drivers
/staging
/zram
/zram.ko
596 AUTOLOAD
:=$(call AutoLoad
,20,zsmalloc zram
)
599 define KernelPackage
/zram
/description
600 Compressed RAM block device support
603 $(eval
$(call KernelPackage
,zram
))
606 define KernelPackage
/mvsdio
607 SUBMENU
:=$(OTHER_MENU
)
608 TITLE
:=Marvell SDIO support
609 DEPENDS
:=@TARGET_orion||TARGET_kirkwood||TARGET_mvebu
+kmod-mmc
610 KCONFIG
:=CONFIG_MMC_MVSDIO
611 FILES
:=$(LINUX_DIR
)/drivers
/mmc
/host
/mvsdio.ko
612 AUTOLOAD
:=$(call AutoLoad
,91,mvsdio
)
615 define KernelPacakge
/mvsdio
/description
616 Kernel support for the Marvell SDIO controller
619 $(eval
$(call KernelPackage
,mvsdio
))
622 define KernelPackage
/pps
623 SUBMENU
:=$(OTHER_MENU
)
626 FILES
:=$(LINUX_DIR
)/drivers
/pps
/pps_core.ko
627 AUTOLOAD
:=$(call AutoLoad
,20,pps_core
)
630 define KernelPacakge
/pps
/description
631 PPS
(Pulse Per Second
) is a special pulse provided by some GPS
632 antennae. Userland can use it to
get a high-precision time
636 $(eval
$(call KernelPackage
,pps
))
639 define KernelPackage
/ptp
640 SUBMENU
:=$(OTHER_MENU
)
641 TITLE
:=PTP clock support
643 KCONFIG
:=CONFIG_PTP_1588_CLOCK
644 FILES
:=$(LINUX_DIR
)/drivers
/ptp
/ptp.ko
645 AUTOLOAD
:=$(call AutoLoad
,25,ptp
)
648 define KernelPacakge
/ptp
/description
649 The IEEE
1588 standard defines a method to precisely
650 synchronize distributed clocks over Ethernet networks.
653 $(eval
$(call KernelPackage
,ptp
))
656 define KernelPackage
/ptp-gianfar
657 SUBMENU
:=$(OTHER_MENU
)
658 TITLE
:=Freescale Gianfar PTP support
659 DEPENDS
:=@TARGET_mpc85xx
+kmod-gianfar
+kmod-ptp
660 KCONFIG
:=CONFIG_PTP_1588_CLOCK_GIANFAR
661 FILES
:=$(LINUX_DIR
)/drivers
/net
/ethernet
/freescale
/gianfar_ptp.ko
662 AUTOLOAD
:=$(call AutoLoad
,51,gianfar_ptp
)
665 define KernelPacakge
/ptp-gianfar
/description
666 Kernel module for IEEE
1588 support for Freescale
667 Gianfar Ethernet drivers.
670 $(eval
$(call KernelPackage
,ptp-gianfar
))