r25103 arguably should not have made the base-files.mk change that it did.
Profiles indeed should not be affecting building in the scope of the target or
other sub-targets. This needs to be rethought.
I propose rewriting all of the profiles as subtargets and deprecating profiles
altogether.
Until then, this is a work-around to stop target/linux/x86/base-files.mk from
affecting images for boards other than the net45xx/net48xx (which both have
been out of production for several years now).
Signed-off-by: Philip Prindeville <[email protected]>
Index: target/linux/x86/base-files.mk
===================================================================
--- target/linux/x86/base-files.mk (revision 27164)
+++ target/linux/x86/base-files.mk (working copy)
@@ -1,4 +1,14 @@
+ifneq ($(TARGET_x86_generic_Soekris48xx),)
+SOEKRIS:=y
+else
+ ifneq ($(TARGET_x86_generic_Soekris45xx),)
+ SOEKRIS:=y
+ endif
+endif
+
+ifneq ($(SOEKRIS),)
define Package/base-files/install-target
rm -f $(1)/etc/config/network
endef
+endif
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel