broadcom-wl: fix compile with kernel 4.9
[lede-git/.git] / package / boot / uboot-envtools / files / imx6
index a78c4fbe5389b8bbac1aa67a4d83445b9632180f..fec8ce0aa4f558fc80d9ba2c4cd94e4528da2060 100644 (file)
@@ -7,11 +7,10 @@
 
 touch /etc/config/ubootenv
 
-. /lib/imx6.sh
 . /lib/uboot-envtools.sh
 . /lib/functions.sh
 
-board=$(imx6_board_name)
+board=$(board_name)
 
 case "$board" in
 *gw5*)