OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 28... | Line 28... | |||
28 | |
28 | |
|
29 | |
29 | |
|
30 | define KernelPackage/bluetooth |
30 | define KernelPackage/bluetooth |
|
31 | SUBMENU:=$(OTHER_MENU) |
31 | SUBMENU:=$(OTHER_MENU) |
|
32 | TITLE:=Bluetooth support |
32 | TITLE:=Bluetooth support |
|
- | 33 | DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash +kmod-crypto-ecb +kmod-lib-crc16 +kmod-hid +!LINUX_3_18:kmod-crypto-cmac +!LINUX_3_18:kmod-regmap +LINUX_4_14:kmod-crypto-ecdh |
||
- | 34 | KCONFIG:= \ |
||
- | 35 | CONFIG_BLUEZ \ |
||
- | 36 | CONFIG_BLUEZ_L2CAP \ |
||
- | 37 | CONFIG_BLUEZ_SCO \ |
||
- | 38 | CONFIG_BLUEZ_RFCOMM \ |
||
- | 39 | CONFIG_BLUEZ_BNEP \ |
||
- | 40 | CONFIG_BLUEZ_HCIUART \ |
||
33 | DEPENDS:=@USB_SUPPORT +kmod-usb-core +kmod-crypto-hash +kmod-crypto-ecb +kmod-lib-crc16 +kmod-hid +!LINUX_3_18:kmod-crypto-cmac +!LINUX_3_18:kmod-regmap-core +!(LINUX_3_18||LINUX_4_9):kmod-crypto-ecdh |
41 | CONFIG_BLUEZ_HCIUSB \ |
|
34 | KCONFIG:= \ |
42 | CONFIG_BLUEZ_HIDP \ |
|
35 | CONFIG_BT \ |
43 | CONFIG_BT \ |
|
- | 44 | CONFIG_BT_BREDR=y \ |
||
36 | CONFIG_BT_BREDR=y \ |
45 | CONFIG_BT_DEBUGFS=n \ |
|
- | 46 | CONFIG_BT_L2CAP=y \ |
||
37 | CONFIG_BT_DEBUGFS=n \ |
47 | CONFIG_BT_LE=y \ |
|
38 | CONFIG_BT_LE=y \ |
48 | CONFIG_BT_SCO=y \ |
|
39 | CONFIG_BT_RFCOMM \ |
49 | CONFIG_BT_RFCOMM \ |
|
40 | CONFIG_BT_BNEP \ |
50 | CONFIG_BT_BNEP \ |
|
- | 51 | CONFIG_BT_HCIBTUSB \ |
||
41 | CONFIG_BT_HCIBTUSB \ |
52 | CONFIG_BT_HCIBTUSB_BCM=n \ |
|
42 | CONFIG_BT_HCIBTUSB_BCM=n \ |
53 | CONFIG_BT_HCIUSB \ |
|
43 | CONFIG_BT_HCIUART \ |
54 | CONFIG_BT_HCIUART \ |
|
44 | CONFIG_BT_HCIUART_BCM=n \ |
55 | CONFIG_BT_HCIUART_BCM=n \ |
|
45 | CONFIG_BT_HCIUART_INTEL=n \ |
56 | CONFIG_BT_HCIUART_INTEL=n \ |
|
46 | CONFIG_BT_HCIUART_H4 \ |
57 | CONFIG_BT_HCIUART_H4 \ |
|
- | 58 | CONFIG_BT_HCIUART_NOKIA=n \ |
||
47 | CONFIG_BT_HCIUART_NOKIA=n \ |
59 | CONFIG_BT_HIDP \ |
|
48 | CONFIG_BT_HIDP |
60 | CONFIG_HID_SUPPORT=y |
|
49 | $(call AddDepends/rfkill) |
61 | $(call AddDepends/rfkill) |
|
50 | FILES:= \ |
62 | FILES:= \ |
|
51 | $(LINUX_DIR)/net/bluetooth/bluetooth.ko \ |
63 | $(LINUX_DIR)/net/bluetooth/bluetooth.ko \ |
|
Line 127... | Line 139... | |||
127 | define KernelPackage/dma-buf |
139 | define KernelPackage/dma-buf |
|
128 | SUBMENU:=$(OTHER_MENU) |
140 | SUBMENU:=$(OTHER_MENU) |
|
129 | TITLE:=DMA shared buffer support |
141 | TITLE:=DMA shared buffer support |
|
130 | HIDDEN:=1 |
142 | HIDDEN:=1 |
|
131 | KCONFIG:=CONFIG_DMA_SHARED_BUFFER |
143 | KCONFIG:=CONFIG_DMA_SHARED_BUFFER |
|
132 | ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"") |
- | ||
133 | ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"") |
- | ||
134 | FILES:=$(LINUX_DIR)/drivers/dma-buf/dma-shared-buffer.ko |
144 | FILES:=$(LINUX_DIR)/drivers/dma-buf/dma-shared-buffer.ko |
|
135 | endif |
- | ||
136 | endif |
- | ||
137 | AUTOLOAD:=$(call AutoLoad,20,dma-shared-buffer) |
145 | AUTOLOAD:=$(call AutoLoad,20,dma-shared-buffer) |
|
138 | endef |
146 | endef |
|
139 | $(eval $(call KernelPackage,dma-buf)) |
147 | $(eval $(call KernelPackage,dma-buf)) |
|
Line 170... | Line 178... | |||
170 | |
178 | |
|
171 | define KernelPackage/eeprom-at24 |
179 | define KernelPackage/eeprom-at24 |
|
172 | SUBMENU:=$(OTHER_MENU) |
180 | SUBMENU:=$(OTHER_MENU) |
|
173 | TITLE:=EEPROM AT24 support |
181 | TITLE:=EEPROM AT24 support |
|
174 | KCONFIG:=CONFIG_EEPROM_AT24 |
182 | KCONFIG:=CONFIG_EEPROM_AT24 |
|
175 | DEPENDS:=+kmod-i2c-core +kmod-nvmem +LINUX_4_19:kmod-regmap-i2c |
183 | DEPENDS:=+kmod-i2c-core +kmod-nvmem |
|
176 | FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko |
184 | FILES:=$(LINUX_DIR)/drivers/misc/eeprom/at24.ko |
|
177 | AUTOLOAD:=$(call AutoProbe,at24) |
185 | AUTOLOAD:=$(call AutoProbe,at24) |
|
Line 178... | Line 186... | |||
178 | endef |
186 | endef |
|
Line 217... | Line 225... | |||
217 | |
225 | |
|
218 | |
226 | |
|
219 | define KernelPackage/gpio-mcp23s08 |
227 | define KernelPackage/gpio-mcp23s08 |
|
220 | SUBMENU:=$(OTHER_MENU) |
228 | SUBMENU:=$(OTHER_MENU) |
|
221 | TITLE:=Microchip MCP23xxx I/O expander |
- | ||
222 | DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core +!(LINUX_3_18||LINUX_4_9):kmod-regmap-i2c |
229 | TITLE:=Microchip MCP23xxx I/O expander |
|
223 | KCONFIG:= \ |
- | ||
224 | CONFIG_GPIO_MCP23S08 \ |
- | ||
225 | CONFIG_PINCTRL_MCP23S08 |
230 | DEPENDS:=@GPIO_SUPPORT +kmod-i2c-core |
|
226 | FILES:= \ |
- | ||
227 | $(LINUX_DIR)/drivers/gpio/gpio-mcp23s08.ko@lt4.13 \ |
231 | KCONFIG:=CONFIG_GPIO_MCP23S08 |
|
228 | $(LINUX_DIR)/drivers/pinctrl/pinctrl-mcp23s08.ko@ge4.13 |
232 | FILES:=$(LINUX_DIR)/drivers/gpio/gpio-mcp23s08.ko |
|
Line 229... | Line 233... | |||
229 | AUTOLOAD:=$(call AutoLoad,40,gpio-mcp23s08@lt4.13 pinctrl-mcp23s08@ge4.13) |
233 | AUTOLOAD:=$(call AutoLoad,40,gpio-mcp23s08) |
|
230 | endef |
234 | endef |
|
231 | |
235 | |
|
Line 474... | Line 478... | |||
474 | |
478 | |
|
475 | define KernelPackage/rtc-ds1307 |
479 | define KernelPackage/rtc-ds1307 |
|
476 | SUBMENU:=$(OTHER_MENU) |
480 | SUBMENU:=$(OTHER_MENU) |
|
477 | TITLE:=Dallas/Maxim DS1307 (and compatible) RTC support |
481 | TITLE:=Dallas/Maxim DS1307 (and compatible) RTC support |
|
478 | DEFAULT:=m if ALL_KMODS && RTC_SUPPORT |
482 | DEFAULT:=m if ALL_KMODS && RTC_SUPPORT |
|
479 | DEPENDS:=+kmod-i2c-core +!(LINUX_3_18||LINUX_4_9):kmod-regmap-i2c +!(LINUX_3_18||LINUX_4_9):kmod-hwmon-core |
483 | DEPENDS:=+kmod-i2c-core +LINUX_4_14:kmod-regmap |
|
480 | KCONFIG:=CONFIG_RTC_DRV_DS1307 \ |
484 | KCONFIG:=CONFIG_RTC_DRV_DS1307 \ |
|
481 | CONFIG_RTC_CLASS=y |
485 | CONFIG_RTC_CLASS=y |
|
482 | FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1307.ko |
486 | FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1307.ko |
|
483 | AUTOLOAD:=$(call AutoProbe,rtc-ds1307) |
487 | AUTOLOAD:=$(call AutoProbe,rtc-ds1307) |
|
Line 692... | Line 696... | |||
692 | endef |
696 | endef |
|
Line 693... | Line 697... | |||
693 | |
697 | |
|
Line 694... | Line -... | |||
694 | $(eval $(call KernelPackage,serial-8250)) |
- | ||
695 | |
- | ||
696 | |
- | ||
697 | define KernelPackage/serial-8250-exar |
- | ||
698 | SUBMENU:=$(OTHER_MENU) |
- | ||
699 | TITLE:=Exar 8250 UARTs |
- | ||
700 | KCONFIG:= CONFIG_SERIAL_8250_EXAR |
- | ||
701 | FILES:=$(LINUX_DIR)/drivers/tty/serial/8250/8250_exar.ko |
- | ||
702 | AUTOLOAD:=$(call AutoProbe,8250 8250_base 8250_exar) |
- | ||
703 | DEPENDS:=+kmod-serial-8250 |
- | ||
704 | endef |
- | ||
705 | |
- | ||
706 | define KernelPackage/serial-8250-exar/description |
- | ||
707 | Kernel module for Exar serial ports |
- | ||
708 | endef |
- | ||
709 | |
- | ||
710 | $(eval $(call KernelPackage,serial-8250-exar)) |
698 | $(eval $(call KernelPackage,serial-8250)) |
|
711 | |
699 | |
|
712 | |
700 | |
|
713 | define KernelPackage/regmap-core |
701 | define KernelPackage/regmap |
|
714 | SUBMENU:=$(OTHER_MENU) |
702 | SUBMENU:=$(OTHER_MENU) |
|
715 | TITLE:=Generic register map support |
- | ||
716 | HIDDEN:=1 |
- | ||
717 | KCONFIG:=CONFIG_REGMAP |
- | ||
718 | ifneq ($(wildcard $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko),) |
- | ||
719 | FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-core.ko |
- | ||
720 | endif |
- | ||
721 | endef |
- | ||
722 | |
- | ||
723 | define KernelPackage/regmap-core/description |
- | ||
724 | Generic register map support |
- | ||
725 | endef |
- | ||
726 | |
- | ||
727 | $(eval $(call KernelPackage,regmap-core)) |
- | ||
728 | |
703 | TITLE:=Generic register map support |
|
729 | |
- | ||
730 | define KernelPackage/regmap-spi |
704 | DEPENDS:=+kmod-lib-lzo +kmod-i2c-core |
|
731 | SUBMENU:=$(OTHER_MENU) |
- | ||
732 | TITLE:=SPI register map support |
705 | KCONFIG:=CONFIG_REGMAP \ |
|
733 | DEPENDS:=+kmod-regmap-core |
706 | CONFIG_REGMAP_MMIO \ |
|
- | 707 | CONFIG_REGMAP_SPI \ |
||
734 | HIDDEN:=1 |
708 | CONFIG_REGMAP_I2C \ |
|
735 | KCONFIG:=CONFIG_REGMAP_SPI \ |
- | ||
736 | CONFIG_SPI=y |
- | ||
737 | FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko |
709 | CONFIG_SPI=y |
|
738 | endef |
- | ||
739 | |
- | ||
740 | define KernelPackage/regmap-spi/description |
- | ||
741 | SPI register map support |
710 | FILES:= \ |
|
742 | endef |
- | ||
743 | |
- | ||
744 | $(eval $(call KernelPackage,regmap-spi)) |
- | ||
745 | |
- | ||
746 | |
711 | $(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko \ |
|
747 | define KernelPackage/regmap-i2c |
712 | $(LINUX_DIR)/drivers/base/regmap/regmap-mmio.ko \ |
|
748 | SUBMENU:=$(OTHER_MENU) |
- | ||
749 | TITLE:=I2C register map support |
713 | $(if $(CONFIG_SPI),$(LINUX_DIR)/drivers/base/regmap/regmap-spi.ko) |
|
750 | DEPENDS:=+kmod-regmap-core +kmod-i2c-core |
714 | AUTOLOAD:=$(call AutoLoad,21,regmap-core regmap-i2c regmap-mmio regmap-spi) |
|
751 | HIDDEN:=1 |
715 | ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"") |
|
752 | KCONFIG:=CONFIG_REGMAP_I2C |
- | ||
753 | FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-i2c.ko |
- | ||
754 | endef |
- | ||
755 | |
716 | ifeq ($(strip $(CONFIG_KERNEL_GIT_CLONE_URI)),"") |
|
756 | define KernelPackage/regmap-i2c/description |
- | ||
757 | I2C register map support |
- | ||
758 | endef |
- | ||
759 | |
- | ||
760 | $(eval $(call KernelPackage,regmap-i2c)) |
- | ||
761 | |
- | ||
762 | |
- | ||
763 | define KernelPackage/regmap-mmio |
- | ||
764 | SUBMENU:=$(OTHER_MENU) |
- | ||
765 | TITLE:=MMIO register map support |
- | ||
766 | DEPENDS:=+kmod-regmap-core |
- | ||
767 | HIDDEN:=1 |
717 | FILES += $(LINUX_DIR)/drivers/base/regmap/regmap-core.ko |
|
Line 768... | Line 718... | |||
768 | KCONFIG:=CONFIG_REGMAP_MMIO |
718 | endif |
|
769 | FILES:=$(LINUX_DIR)/drivers/base/regmap/regmap-mmio.ko |
719 | endif |
|
770 | endef |
720 | endef |
|
Line 771... | Line 721... | |||
771 | |
721 | |
|
772 | define KernelPackage/regmap-mmio/description |
- | ||
Line 773... | Line 722... | |||
773 | MMIO register map support |
722 | define KernelPackage/regmap/description |
|
774 | endef |
723 | Generic register map support |
|
775 | |
724 | endef |
|
776 | $(eval $(call KernelPackage,regmap-mmio)) |
725 | |
|
Line 889... | Line 838... | |||
889 | |
838 | |
|
890 | |
839 | |
|
891 | define KernelPackage/ptp-gianfar |
840 | define KernelPackage/ptp-gianfar |
|
892 | SUBMENU:=$(OTHER_MENU) |
841 | SUBMENU:=$(OTHER_MENU) |
|
893 | TITLE:=Freescale Gianfar PTP support |
842 | TITLE:=Freescale Gianfar PTP support |
|
894 | DEPENDS:=@TARGET_mpc85xx +kmod-ptp @!LINUX_4_19 |
843 | DEPENDS:=@TARGET_mpc85xx +kmod-ptp |
|
895 | KCONFIG:=CONFIG_PTP_1588_CLOCK_GIANFAR |
844 | KCONFIG:=CONFIG_PTP_1588_CLOCK_GIANFAR |
|
896 | FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/gianfar_ptp.ko |
845 | FILES:=$(LINUX_DIR)/drivers/net/ethernet/freescale/gianfar_ptp.ko |
|
Line 902... | Line 851... | |||
902 | Gianfar Ethernet drivers |
851 | Gianfar Ethernet drivers |
|
903 | endef |
852 | endef |
|
Line 904... | Line 853... | |||
904 | |
853 | |
|
Line 905... | Line -... | |||
905 | $(eval $(call KernelPackage,ptp-gianfar)) |
- | ||
906 | |
- | ||
907 | define KernelPackage/ptp-qoriq |
- | ||
908 | SUBMENU:=$(OTHER_MENU) |
- | ||
909 | TITLE:=Freescale QorIQ PTP support |
- | ||
910 | DEPENDS:=@TARGET_mpc85xx +kmod-ptp @LINUX_4_19 |
- | ||
911 | KCONFIG:=CONFIG_PTP_1588_CLOCK_QORIQ |
- | ||
912 | FILES:=$(LINUX_DIR)/drivers/ptp/ptp_qoriq.o |
- | ||
913 | AUTOLOAD:=$(call AutoProbe,ptp_qoriq) |
- | ||
914 | endef |
- | ||
915 | |
- | ||
916 | |
- | ||
917 | define KernelPackage/ptp-qoriq/description |
- | ||
918 | Kernel module for IEEE 1588 support for Freescale |
- | ||
919 | QorIQ Ethernet drivers |
- | ||
920 | endef |
- | ||
Line 921... | Line 854... | |||
921 | |
854 | $(eval $(call KernelPackage,ptp-gianfar)) |
|
922 | $(eval $(call KernelPackage,ptp-qoriq)) |
855 | |
|
923 | |
856 | |
|
924 | define KernelPackage/random-core |
857 | define KernelPackage/random-core |
|
Line 948... | Line 881... | |||
948 | found on OMAP16xx, OMAP2/3/4/5 and AM33xx/AM43xx multimedia processors. |
881 | found on OMAP16xx, OMAP2/3/4/5 and AM33xx/AM43xx multimedia processors. |
|
949 | endef |
882 | endef |
|
Line 950... | Line 883... | |||
950 | |
883 | |
|
Line 951... | Line -... | |||
951 | $(eval $(call KernelPackage,random-omap)) |
- | ||
952 | |
- | ||
953 | define KernelPackage/random-tpm |
- | ||
954 | SUBMENU:=$(OTHER_MENU) |
- | ||
955 | TITLE:=Hardware Random Number Generator TPM support |
- | ||
956 | KCONFIG:=CONFIG_HW_RANDOM_TPM |
- | ||
957 | FILES:=$(LINUX_DIR)/drivers/char/hw_random/tpm-rng.ko |
- | ||
958 | DEPENDS:= +kmod-random-core +kmod-tpm @!LINUX_4_19 |
- | ||
959 | AUTOLOAD:=$(call AutoProbe,tpm-rng) |
- | ||
960 | endef |
- | ||
961 | |
- | ||
962 | define KernelPackage/random-tpm/description |
- | ||
963 | Kernel module for the Random Number Generator |
- | ||
964 | in the Trusted Platform Module. |
- | ||
965 | endef |
- | ||
966 | |
- | ||
967 | $(eval $(call KernelPackage,random-tpm)) |
884 | $(eval $(call KernelPackage,random-omap)) |
|
968 | |
885 | |
|
969 | define KernelPackage/thermal |
886 | define KernelPackage/thermal |
|
970 | SUBMENU:=$(OTHER_MENU) |
887 | SUBMENU:=$(OTHER_MENU) |
|
971 | TITLE:=Generic Thermal sysfs driver |
888 | TITLE:=Generic Thermal sysfs driver |
|
Line 976... | Line 893... | |||
976 | CONFIG_THERMAL_OF=y \ |
893 | CONFIG_THERMAL_OF=y \ |
|
977 | CONFIG_CPU_THERMAL=y \ |
894 | CONFIG_CPU_THERMAL=y \ |
|
978 | CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \ |
895 | CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE=y \ |
|
979 | CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=n \ |
896 | CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE=n \ |
|
980 | CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=n \ |
897 | CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=n \ |
|
981 | CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0 \ |
- | ||
982 | CONFIG_THERMAL_GOV_FAIR_SHARE=n \ |
898 | CONFIG_THERMAL_GOV_FAIR_SHARE=n \ |
|
983 | CONFIG_THERMAL_GOV_STEP_WISE=y \ |
899 | CONFIG_THERMAL_GOV_STEP_WISE=y \ |
|
984 | CONFIG_THERMAL_GOV_USER_SPACE=n \ |
900 | CONFIG_THERMAL_GOV_USER_SPACE=n \ |
|
985 | CONFIG_THERMAL_HWMON=y \ |
901 | CONFIG_THERMAL_HWMON=y \ |
|
986 | CONFIG_THERMAL_EMULATION=n |
902 | CONFIG_THERMAL_EMULATION=n |
|
Line 1033... | Line 949... | |||
1033 | |
949 | |
|
1034 | |
950 | |
|
1035 | define KernelPackage/bmp085 |
951 | define KernelPackage/bmp085 |
|
1036 | SUBMENU:=$(OTHER_MENU) |
952 | SUBMENU:=$(OTHER_MENU) |
|
1037 | TITLE:=BMP085/BMP18x pressure sensor |
953 | TITLE:=BMP085/BMP18x pressure sensor |
|
1038 | DEPENDS:= +kmod-regmap-core @!LINUX_3_18 |
954 | DEPENDS:= +kmod-regmap @!LINUX_3_18 @!LINUX_4_1 |
|
1039 | KCONFIG:= CONFIG_BMP085 |
955 | KCONFIG:= CONFIG_BMP085 |
|
Line 1040... | Line 956... | |||
1040 | FILES:= $(LINUX_DIR)/drivers/misc/bmp085.ko |
956 | FILES:= $(LINUX_DIR)/drivers/misc/bmp085.ko |