[OpenWrt-Devel] [PATCH v2] mvebu: remove default profile

Tomasz Maciej Nowak tomek_n at o2.pl
Thu Jan 17 08:43:36 EST 2019


When using Image Builder and building image for Cortex A53 or
A72 subtargets, it'll fail with following message:

Collected errors:
 * opkg_install_cmd: Cannot install package mwlwifi-firmware-88w8864.
 * opkg_install_cmd: Cannot install package mwlwifi-firmware-88w8964.
make[2]: *** [Makefile:153: package_install] Error 255
make[1]: *** [Makefile:114: _call_image] Error 2

This is beacuse both packages are available only for Cortex A9 subtarget
and are included in PACKAGES array in default profile. Instead patching
this, let's remove profiles completely, since all necessary packages are
specified in DEVICE_PACKAGES array for each device.

Signed-off-by: Tomasz Maciej Nowak <tomek_n at o2.pl>
---

Changes in v2:
- restore PROFILES := Default, as this change caused selecting all
  divece profiles even when only one was selected to build, which lead
  to broken build

Reported by Rosen Penev
The cause found by and the fix suggested by Mathias Kresin

---
 target/linux/mvebu/profiles/000-Default.mk | 18 ------------------
 1 file changed, 18 deletions(-)
 delete mode 100644 target/linux/mvebu/profiles/000-Default.mk

diff --git a/target/linux/mvebu/profiles/000-Default.mk b/target/linux/mvebu/profiles/000-Default.mk
deleted file mode 100644
index 8690dd8da5..0000000000
--- a/target/linux/mvebu/profiles/000-Default.mk
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# Copyright (C) 2015 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-define Profile/Default
-	NAME:=Default Profile (all drivers)
-	PACKAGES:= kmod-mwlwifi wpad-basic swconfig mkf2fs e2fsprogs \
-		   mwlwifi-firmware-88w8864 mwlwifi-firmware-88w8964
-endef
-
-define Profile/Default/Description
-	Default package set compatible with most boards.
-endef
-
-$(eval $(call Profile,Default))
-- 
2.20.1


_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list