#17700: Build failed with TPLINK WR1043ND V2 profile
-------------------------+----------------------------------
Reporter: anonymous | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone: Chaos Calmer (trunk)
Component: base system | Version: Trunk
Keywords: WR1043ND V2 |
-------------------------+----------------------------------
Default makes a long time, so I chose a profile for my modem. But build
finished with error "undefined reference to `ath79_register_m25p80'"
It happens because ./build_dir/target-mips_34kc_uClibc-0.9.33.2/linux-
ar71xx_generic/linux-3.10.49/arch/mips/ath79/Kconfig is wrong:
{{{
config ATH79_MACH_TL_WR1043ND
bool "TP-LINK TL-WR1043ND support"
select SOC_AR913X
select ATH79_DEV_ETH
select ATH79_DEV_GPIO_BUTTONS
select ATH79_DEV_LEDS_GPIO
select ATH79_DEV_M25P80
select ATH79_DEV_USB
select ATH79_DEV_WMAC
config ATH79_MACH_TL_WR1043ND_V2
bool "TP-LINK TL-WR1043ND v2 support"
select SOC_QCA955X
select ATH79_DEV_ETH
select ATH79_DEV_GPIO_BUTTONS
select ATH79_DEV_LEDS_GPIO
select ATH79_DEV_SPI
select ATH79_DEV_USB
select ATH79_DEV_WMAC
}}}
It is seen that in the second block is missing line "select
ATH79_DEV_M25P80", which is responsible for the selection of driver for
this modem. After adding this compilation is carried out without any
problems.
--
Ticket URL: <https://dev.openwrt.org/ticket/17700>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets