Hi fellow developers,

recently I found a few things where we added unnecessary distroisms into
OE 
(probably) just because we were to lazy to either make them deviceisms
or make them useful on a global scale.

Let's take two of my own goofs as prime examples: In meta/task-opie.bb
we see
RDEPENDS_task-opie-applets_append_openzaurus = " opie-vtapplet
opie-logoutapplet"

While this seems to be logical at first glance, it's a bit narrowminded
to think that
a) every Zaurus has a keyboard hence will need the VT and logoutapplet
and
b) every non_zaurus device lacks a keyboard hence will have no need for
these applets
c) OpenZaurus runs only on Zaurus models
...

Another example in linux-hotplug/linux-hotplug_20040920.bb:
SRC_URI_append_openzaurus = " file://quiet-pci.patch;patch=1"

Once again, it's narrowminded (if not stupid) to think that a)
OpenZaurus devices are the only ones without a PCI bus and b) every
device that may want to run OpenZaurus won't have a PCI bus.

The proper substitution in the latter case could be to add a machine
specific variable, i.e. HAS_PCI_BUS and apply the patch depending
thereof.

There are some cases where distroisms are making more sense than
deviceisms, but not for cases like the examples I pointed out. Please
help me removing unnecessary distroisms, if you can :) Also, please
don't add a new distroism in an unreflected way - think about whether it
really needs to be distro specific and not rather should be a deviceism
(if an 'ism at all :)

-- 
Regards,

Mickey.
------------------------------------------------------------------
Dipl.-Inf. Michael 'Mickey' Lauer <[EMAIL PROTECTED]>
------------------------------------------------------------------


_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe

Reply via email to