packages: rename FOO_MAKE_OPT into FOO_MAKE_OPTS
authorThomas De Schampheleire <patrickdepinguin@gmail.com>
Sat, 27 Sep 2014 19:32:38 +0000 (21:32 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 4 Oct 2014 13:07:23 +0000 (15:07 +0200)
commit0518a98ac3e715a846dfb72fcfb2ec7aed423084
treeff1b926c857b43bedc1d6eb96c149d5a026e8e6a
parentbe47b84c1a5604e3f1bf831b011c6717a2900282
packages: rename FOO_MAKE_OPT into FOO_MAKE_OPTS

While the autotools infrastructure was using FOO_MAKE_OPT, generic packages
were typically using FOO_MAKE_OPTS. This inconsistency becomes a problem
when a new infrastructure is introduced that wants to make use of
FOO_MAKE_OPT(S), and can live alongside either generic-package or
autotools-package. The new infrastructure will have to choose between either
OPT or OPTS, and thus rule out transparent usage by respectively generic
packages or generic packages. An example of such an infrastructure is
kconfig-package, which provides kconfig-related make targets.

The OPTS variant is more logical, as there are typically multiple options.

This patch renames all occurrences of FOO_MAKE_OPT in FOO_MAKE_OPTS.
Sed command used:
    find * -type f | xargs sed -i 's#_MAKE_OPT\>#&S#g'

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
45 files changed:
boot/at91bootstrap3/at91bootstrap3.mk
docs/manual/adding-packages-autotools.txt
docs/manual/adding-packages-cmake.txt
docs/manual/adding-packages-kconfig.txt
package/avahi/avahi.mk
package/dnsmasq/dnsmasq.mk
package/e2fsprogs/e2fsprogs.mk
package/faifa/faifa.mk
package/freetype/freetype.mk
package/gcc/gcc-initial/gcc-initial.mk
package/httping/httping.mk
package/ipsec-tools/ipsec-tools.mk
package/iputils/iputils.mk
package/iw/iw.mk
package/libdnet/libdnet.mk
package/libjson/libjson.mk
package/libseccomp/libseccomp.mk
package/linux-pam/linux-pam.mk
package/lm-sensors/lm-sensors.mk
package/lshw/lshw.mk
package/lvm2/lvm2.mk
package/mdadm/mdadm.mk
package/mii-diag/mii-diag.mk
package/mpfr/mpfr.mk
package/openswan/openswan.mk
package/openvmtools/openvmtools.mk
package/pkg-autotools.mk
package/pkg-cmake.mk
package/pppd/pppd.mk
package/pv/pv.mk
package/quota/quota.mk
package/rp-pppoe/rp-pppoe.mk
package/rubix/rubix.mk
package/schifra/schifra.mk
package/sdl_ttf/sdl_ttf.mk
package/setserial/setserial.mk
package/speex/speex.mk
package/sysstat/sysstat.mk
package/systemd/systemd.mk
package/tn5250/tn5250.mk
package/util-linux/util-linux.mk
package/whois/whois.mk
package/xinetd/xinetd.mk
package/zmqpp/zmqpp.mk
package/zxing/zxing.mk