makefile: indentation cleanup

This commit is contained in:
Alexandre Abadie 2017-09-21 15:20:30 +02:00
parent 20ceff91cd
commit 035d266d49
9 changed files with 99 additions and 99 deletions

View File

@ -6,7 +6,7 @@ DIRS = periph $(RIOTCPU)/cortexm_common
# cc2538_rf radio driver # cc2538_rf radio driver
ifneq (,$(filter cc2538_rf,$(USEMODULE))) ifneq (,$(filter cc2538_rf,$(USEMODULE)))
DIRS += radio DIRS += radio
endif endif
# (file triggers compiler bug. see #5775) # (file triggers compiler bug. see #5775)

View File

@ -4,14 +4,14 @@ DIRS += periph
DIRS += vfs DIRS += vfs
ifneq (,$(filter netdev_tap,$(USEMODULE))) ifneq (,$(filter netdev_tap,$(USEMODULE)))
DIRS += netdev_tap DIRS += netdev_tap
endif endif
ifneq (,$(filter mtd_native,$(USEMODULE))) ifneq (,$(filter mtd_native,$(USEMODULE)))
DIRS += mtd DIRS += mtd
endif endif
ifneq (,$(filter can_linux,$(USEMODULE))) ifneq (,$(filter can_linux,$(USEMODULE)))
DIRS += can DIRS += can
endif endif
include $(RIOTBASE)/Makefile.base include $(RIOTBASE)/Makefile.base

View File

@ -3,7 +3,7 @@ DIRS = periph
# build one of the radio drivers, if enabled # build one of the radio drivers, if enabled
ifneq (,$(filter nrfmin,$(USEMODULE))) ifneq (,$(filter nrfmin,$(USEMODULE)))
DIRS += radio/nrfmin DIRS += radio/nrfmin
endif endif
include $(RIOTBASE)/Makefile.base include $(RIOTBASE)/Makefile.base

View File

@ -2,5 +2,5 @@ INCLUDES += -I$(RIOTPKG)/spiffs/include
INCLUDES += -I$(PKGDIRBASE)/spiffs/riotbuild/ INCLUDES += -I$(PKGDIRBASE)/spiffs/riotbuild/
ifneq (,$(filter spiffs_fs,$(USEMODULE))) ifneq (,$(filter spiffs_fs,$(USEMODULE)))
DIRS += $(RIOTBASE)/pkg/spiffs/fs DIRS += $(RIOTBASE)/pkg/spiffs/fs
endif endif

View File

@ -1,125 +1,125 @@
ifneq (,$(filter csma_sender,$(USEMODULE))) ifneq (,$(filter csma_sender,$(USEMODULE)))
DIRS += net/link_layer/csma_sender DIRS += net/link_layer/csma_sender
endif endif
ifneq (,$(filter posix_semaphore,$(USEMODULE))) ifneq (,$(filter posix_semaphore,$(USEMODULE)))
DIRS += posix/semaphore DIRS += posix/semaphore
endif endif
ifneq (,$(filter posix_sockets,$(USEMODULE))) ifneq (,$(filter posix_sockets,$(USEMODULE)))
DIRS += posix/sockets DIRS += posix/sockets
endif endif
ifneq (,$(filter pthread,$(USEMODULE))) ifneq (,$(filter pthread,$(USEMODULE)))
DIRS += posix/pthread DIRS += posix/pthread
endif endif
ifneq (,$(filter shell_commands,$(USEMODULE))) ifneq (,$(filter shell_commands,$(USEMODULE)))
DIRS += shell/commands DIRS += shell/commands
endif endif
ifneq (,$(filter net_help,$(USEMODULE))) ifneq (,$(filter net_help,$(USEMODULE)))
DIRS += net/crosslayer/net_help DIRS += net/crosslayer/net_help
endif endif
ifneq (,$(filter routing,$(USEMODULE))) ifneq (,$(filter routing,$(USEMODULE)))
DIRS += net/routing DIRS += net/routing
endif endif
ifneq (,$(filter oneway_malloc,$(USEMODULE))) ifneq (,$(filter oneway_malloc,$(USEMODULE)))
DIRS += oneway-malloc DIRS += oneway-malloc
endif endif
ifneq (,$(filter ieee802154,$(USEMODULE))) ifneq (,$(filter ieee802154,$(USEMODULE)))
DIRS += net/link_layer/ieee802154 DIRS += net/link_layer/ieee802154
endif endif
ifneq (,$(filter netdev_test,$(USEMODULE))) ifneq (,$(filter netdev_test,$(USEMODULE)))
DIRS += net/netdev_test DIRS += net/netdev_test
endif endif
ifneq (,$(filter icmpv6,$(USEMODULE))) ifneq (,$(filter icmpv6,$(USEMODULE)))
DIRS += net/network_layer/icmpv6 DIRS += net/network_layer/icmpv6
endif endif
ifneq (,$(filter ipv4_addr,$(USEMODULE))) ifneq (,$(filter ipv4_addr,$(USEMODULE)))
DIRS += net/network_layer/ipv4/addr DIRS += net/network_layer/ipv4/addr
endif endif
ifneq (,$(filter ipv6_addr,$(USEMODULE))) ifneq (,$(filter ipv6_addr,$(USEMODULE)))
DIRS += net/network_layer/ipv6/addr DIRS += net/network_layer/ipv6/addr
endif endif
ifneq (,$(filter ipv6_ext_rh,$(USEMODULE))) ifneq (,$(filter ipv6_ext_rh,$(USEMODULE)))
DIRS += net/network_layer/ipv6/ext/rh DIRS += net/network_layer/ipv6/ext/rh
endif endif
ifneq (,$(filter ipv6_ext,$(USEMODULE))) ifneq (,$(filter ipv6_ext,$(USEMODULE)))
DIRS += net/network_layer/ipv6/ext DIRS += net/network_layer/ipv6/ext
endif endif
ifneq (,$(filter ipv6_hdr,$(USEMODULE))) ifneq (,$(filter ipv6_hdr,$(USEMODULE)))
DIRS += net/network_layer/ipv6/hdr DIRS += net/network_layer/ipv6/hdr
endif endif
ifneq (,$(filter gnrc gnrc_%,$(USEMODULE))) ifneq (,$(filter gnrc gnrc_%,$(USEMODULE)))
DIRS += net/gnrc DIRS += net/gnrc
endif endif
ifneq (,$(filter inet_csum,$(USEMODULE))) ifneq (,$(filter inet_csum,$(USEMODULE)))
DIRS += net/crosslayer/inet_csum DIRS += net/crosslayer/inet_csum
endif endif
ifneq (,$(filter cipher_modes,$(USEMODULE))) ifneq (,$(filter cipher_modes,$(USEMODULE)))
DIRS += crypto/modes DIRS += crypto/modes
endif endif
ifneq (,$(filter nhdp,$(USEMODULE))) ifneq (,$(filter nhdp,$(USEMODULE)))
DIRS += net/routing/nhdp DIRS += net/routing/nhdp
endif endif
ifneq (,$(filter gnrc_netdev,$(USEMODULE))) ifneq (,$(filter gnrc_netdev,$(USEMODULE)))
DIRS += net/gnrc/link_layer/netdev DIRS += net/gnrc/link_layer/netdev
endif endif
ifneq (,$(filter fib,$(USEMODULE))) ifneq (,$(filter fib,$(USEMODULE)))
DIRS += net/network_layer/fib DIRS += net/network_layer/fib
endif endif
ifneq (,$(filter sixlowpan,$(USEMODULE))) ifneq (,$(filter sixlowpan,$(USEMODULE)))
DIRS += net/network_layer/sixlowpan DIRS += net/network_layer/sixlowpan
endif endif
ifneq (,$(filter log_%,$(USEMODULE))) ifneq (,$(filter log_%,$(USEMODULE)))
DIRS += log DIRS += log
endif endif
ifneq (,$(filter xtimer,$(USEMODULE))) ifneq (,$(filter xtimer,$(USEMODULE)))
DIRS += xtimer DIRS += xtimer
endif endif
ifneq (,$(filter cpp11-compat,$(USEMODULE))) ifneq (,$(filter cpp11-compat,$(USEMODULE)))
DIRS += cpp11-compat DIRS += cpp11-compat
endif endif
ifneq (,$(filter udp,$(USEMODULE))) ifneq (,$(filter udp,$(USEMODULE)))
DIRS += net/transport_layer/udp DIRS += net/transport_layer/udp
endif endif
ifneq (,$(filter tcp,$(USEMODULE))) ifneq (,$(filter tcp,$(USEMODULE)))
DIRS += net/transport_layer/tcp DIRS += net/transport_layer/tcp
endif endif
ifneq (,$(filter hamming256,$(USEMODULE))) ifneq (,$(filter hamming256,$(USEMODULE)))
DIRS += ecc/hamming256 DIRS += ecc/hamming256
endif endif
ifneq (,$(filter uhcpc,$(USEMODULE))) ifneq (,$(filter uhcpc,$(USEMODULE)))
DIRS += net/application_layer/uhcp DIRS += net/application_layer/uhcp
endif endif
ifneq (,$(filter gnrc_uhcpc,$(USEMODULE))) ifneq (,$(filter gnrc_uhcpc,$(USEMODULE)))
DIRS += net/gnrc/application_layer/uhcpc DIRS += net/gnrc/application_layer/uhcpc
endif endif
ifneq (,$(filter sntp,$(USEMODULE))) ifneq (,$(filter sntp,$(USEMODULE)))
DIRS += net/application_layer/sntp DIRS += net/application_layer/sntp
endif endif
ifneq (,$(filter netopt,$(USEMODULE))) ifneq (,$(filter netopt,$(USEMODULE)))
DIRS += net/crosslayer/netopt DIRS += net/crosslayer/netopt
endif endif
ifneq (,$(filter sema,$(USEMODULE))) ifneq (,$(filter sema,$(USEMODULE)))
DIRS += sema DIRS += sema
endif endif
ifneq (,$(filter gcoap,$(USEMODULE))) ifneq (,$(filter gcoap,$(USEMODULE)))
DIRS += net/application_layer/gcoap DIRS += net/application_layer/gcoap
endif endif
ifneq (,$(filter emcute,$(USEMODULE))) ifneq (,$(filter emcute,$(USEMODULE)))
DIRS += net/application_layer/emcute DIRS += net/application_layer/emcute
endif endif
ifneq (,$(filter sock_util,$(USEMODULE))) ifneq (,$(filter sock_util,$(USEMODULE)))
DIRS += net/sock DIRS += net/sock
endif endif
ifneq (,$(filter sock_dns,$(USEMODULE))) ifneq (,$(filter sock_dns,$(USEMODULE)))
DIRS += net/application_layer/dns DIRS += net/application_layer/dns
endif endif
ifneq (,$(filter constfs,$(USEMODULE))) ifneq (,$(filter constfs,$(USEMODULE)))
DIRS += fs/constfs DIRS += fs/constfs
endif endif
ifneq (,$(filter devfs,$(USEMODULE))) ifneq (,$(filter devfs,$(USEMODULE)))
DIRS += fs/devfs DIRS += fs/devfs
endif endif
ifneq (,$(filter l2filter,$(USEMODULE))) ifneq (,$(filter l2filter,$(USEMODULE)))
DIRS += net/link_layer/l2filter DIRS += net/link_layer/l2filter
endif endif
DIRS += $(dir $(wildcard $(addsuffix /Makefile, ${USEMODULE}))) DIRS += $(dir $(wildcard $(addsuffix /Makefile, ${USEMODULE})))

View File

@ -1,17 +1,17 @@
ifneq (,$(filter auto_init_gnrc_netif,$(USEMODULE))) ifneq (,$(filter auto_init_gnrc_netif,$(USEMODULE)))
DIRS += netif DIRS += netif
endif endif
ifneq (,$(filter auto_init_saul,$(USEMODULE))) ifneq (,$(filter auto_init_saul,$(USEMODULE)))
DIRS += saul DIRS += saul
endif endif
ifneq (,$(filter auto_init_storage,$(USEMODULE))) ifneq (,$(filter auto_init_storage,$(USEMODULE)))
DIRS += storage DIRS += storage
endif endif
ifneq (,$(filter auto_init_can,$(USEMODULE))) ifneq (,$(filter auto_init_can,$(USEMODULE)))
DIRS += can DIRS += can
endif endif
include $(RIOTBASE)/Makefile.base include $(RIOTBASE)/Makefile.base

View File

@ -1,10 +1,10 @@
ifneq (,$(filter can_isotp,$(USEMODULE))) ifneq (,$(filter can_isotp,$(USEMODULE)))
DIRS += isotp DIRS += isotp
endif endif
ifneq (,$(filter conn_can,$(USEMODULE))) ifneq (,$(filter conn_can,$(USEMODULE)))
DIRS += conn DIRS += conn
endif endif
include $(RIOTBASE)/Makefile.base include $(RIOTBASE)/Makefile.base

View File

@ -1,137 +1,137 @@
ifneq (,$(filter gnrc_icmpv6,$(USEMODULE))) ifneq (,$(filter gnrc_icmpv6,$(USEMODULE)))
DIRS += network_layer/icmpv6 DIRS += network_layer/icmpv6
endif endif
ifneq (,$(filter gnrc_icmpv6_echo,$(USEMODULE))) ifneq (,$(filter gnrc_icmpv6_echo,$(USEMODULE)))
DIRS += network_layer/icmpv6/echo DIRS += network_layer/icmpv6/echo
endif endif
ifneq (,$(filter gnrc_icmpv6_error,$(USEMODULE))) ifneq (,$(filter gnrc_icmpv6_error,$(USEMODULE)))
DIRS += network_layer/icmpv6/error DIRS += network_layer/icmpv6/error
endif endif
ifneq (,$(filter gnrc_ipv6,$(USEMODULE))) ifneq (,$(filter gnrc_ipv6,$(USEMODULE)))
DIRS += network_layer/ipv6 DIRS += network_layer/ipv6
endif endif
ifneq (,$(filter gnrc_ipv6_ext,$(USEMODULE))) ifneq (,$(filter gnrc_ipv6_ext,$(USEMODULE)))
DIRS += network_layer/ipv6/ext DIRS += network_layer/ipv6/ext
endif endif
ifneq (,$(filter gnrc_ipv6_hdr,$(USEMODULE))) ifneq (,$(filter gnrc_ipv6_hdr,$(USEMODULE)))
DIRS += network_layer/ipv6/hdr DIRS += network_layer/ipv6/hdr
endif endif
ifneq (,$(filter gnrc_ipv6_nc,$(USEMODULE))) ifneq (,$(filter gnrc_ipv6_nc,$(USEMODULE)))
DIRS += network_layer/ipv6/nc DIRS += network_layer/ipv6/nc
endif endif
ifneq (,$(filter gnrc_ipv6_netif,$(USEMODULE))) ifneq (,$(filter gnrc_ipv6_netif,$(USEMODULE)))
DIRS += network_layer/ipv6/netif DIRS += network_layer/ipv6/netif
endif endif
ifneq (,$(filter gnrc_ipv6_nib,$(USEMODULE))) ifneq (,$(filter gnrc_ipv6_nib,$(USEMODULE)))
DIRS += network_layer/ipv6/nib DIRS += network_layer/ipv6/nib
endif endif
ifneq (,$(filter gnrc_ipv6_whitelist,$(USEMODULE))) ifneq (,$(filter gnrc_ipv6_whitelist,$(USEMODULE)))
DIRS += network_layer/ipv6/whitelist DIRS += network_layer/ipv6/whitelist
endif endif
ifneq (,$(filter gnrc_ipv6_blacklist,$(USEMODULE))) ifneq (,$(filter gnrc_ipv6_blacklist,$(USEMODULE)))
DIRS += network_layer/ipv6/blacklist DIRS += network_layer/ipv6/blacklist
endif endif
ifneq (,$(filter gnrc_ndp,$(USEMODULE))) ifneq (,$(filter gnrc_ndp,$(USEMODULE)))
DIRS += network_layer/ndp DIRS += network_layer/ndp
endif endif
ifneq (,$(filter gnrc_ndp_internal,$(USEMODULE))) ifneq (,$(filter gnrc_ndp_internal,$(USEMODULE)))
DIRS += network_layer/ndp/internal DIRS += network_layer/ndp/internal
endif endif
ifneq (,$(filter gnrc_ndp_host,$(USEMODULE))) ifneq (,$(filter gnrc_ndp_host,$(USEMODULE)))
DIRS += network_layer/ndp/host DIRS += network_layer/ndp/host
endif endif
ifneq (,$(filter gnrc_ndp_node,$(USEMODULE))) ifneq (,$(filter gnrc_ndp_node,$(USEMODULE)))
DIRS += network_layer/ndp/node DIRS += network_layer/ndp/node
endif endif
ifneq (,$(filter gnrc_ndp_router,$(USEMODULE))) ifneq (,$(filter gnrc_ndp_router,$(USEMODULE)))
DIRS += network_layer/ndp/router DIRS += network_layer/ndp/router
endif endif
ifneq (,$(filter gnrc_netapi,$(USEMODULE))) ifneq (,$(filter gnrc_netapi,$(USEMODULE)))
DIRS += netapi DIRS += netapi
endif endif
ifneq (,$(filter gnrc_netif,$(USEMODULE))) ifneq (,$(filter gnrc_netif,$(USEMODULE)))
DIRS += netif DIRS += netif
endif endif
ifneq (,$(filter gnrc_netif_hdr,$(USEMODULE))) ifneq (,$(filter gnrc_netif_hdr,$(USEMODULE)))
DIRS += netif/hdr DIRS += netif/hdr
endif endif
ifneq (,$(filter gnrc_netreg,$(USEMODULE))) ifneq (,$(filter gnrc_netreg,$(USEMODULE)))
DIRS += netreg DIRS += netreg
endif endif
ifneq (,$(filter gnrc_nettest,$(USEMODULE))) ifneq (,$(filter gnrc_nettest,$(USEMODULE)))
DIRS += nettest DIRS += nettest
endif endif
ifneq (,$(filter gnrc_mac,$(USEMODULE))) ifneq (,$(filter gnrc_mac,$(USEMODULE)))
DIRS += link_layer/gnrc_mac DIRS += link_layer/gnrc_mac
endif endif
ifneq (,$(filter gnrc_pkt,$(USEMODULE))) ifneq (,$(filter gnrc_pkt,$(USEMODULE)))
DIRS += pkt DIRS += pkt
endif endif
ifneq (,$(filter gnrc_lwmac,$(USEMODULE))) ifneq (,$(filter gnrc_lwmac,$(USEMODULE)))
DIRS += link_layer/lwmac DIRS += link_layer/lwmac
endif endif
ifneq (,$(filter gnrc_pktbuf_static,$(USEMODULE))) ifneq (,$(filter gnrc_pktbuf_static,$(USEMODULE)))
DIRS += pktbuf_static DIRS += pktbuf_static
endif endif
ifneq (,$(filter gnrc_pktbuf,$(USEMODULE))) ifneq (,$(filter gnrc_pktbuf,$(USEMODULE)))
DIRS += pktbuf DIRS += pktbuf
endif endif
ifneq (,$(filter gnrc_priority_pktqueue,$(USEMODULE))) ifneq (,$(filter gnrc_priority_pktqueue,$(USEMODULE)))
DIRS += priority_pktqueue DIRS += priority_pktqueue
endif endif
ifneq (,$(filter gnrc_pktdump,$(USEMODULE))) ifneq (,$(filter gnrc_pktdump,$(USEMODULE)))
DIRS += pktdump DIRS += pktdump
endif endif
ifneq (,$(filter gnrc_rpl,$(USEMODULE))) ifneq (,$(filter gnrc_rpl,$(USEMODULE)))
DIRS += routing/rpl DIRS += routing/rpl
endif endif
ifneq (,$(filter gnrc_rpl_srh,$(USEMODULE))) ifneq (,$(filter gnrc_rpl_srh,$(USEMODULE)))
DIRS += routing/rpl/srh DIRS += routing/rpl/srh
endif endif
ifneq (,$(filter gnrc_rpl_p2p,$(USEMODULE))) ifneq (,$(filter gnrc_rpl_p2p,$(USEMODULE)))
DIRS += routing/rpl/p2p DIRS += routing/rpl/p2p
endif endif
ifneq (,$(filter gnrc_sixlowpan,$(USEMODULE))) ifneq (,$(filter gnrc_sixlowpan,$(USEMODULE)))
DIRS += network_layer/sixlowpan DIRS += network_layer/sixlowpan
endif endif
ifneq (,$(filter gnrc_sixlowpan_ctx,$(USEMODULE))) ifneq (,$(filter gnrc_sixlowpan_ctx,$(USEMODULE)))
DIRS += network_layer/sixlowpan/ctx DIRS += network_layer/sixlowpan/ctx
endif endif
ifneq (,$(filter gnrc_sixlowpan_frag,$(USEMODULE))) ifneq (,$(filter gnrc_sixlowpan_frag,$(USEMODULE)))
DIRS += network_layer/sixlowpan/frag DIRS += network_layer/sixlowpan/frag
endif endif
ifneq (,$(filter gnrc_sixlowpan_iphc,$(USEMODULE))) ifneq (,$(filter gnrc_sixlowpan_iphc,$(USEMODULE)))
DIRS += network_layer/sixlowpan/iphc DIRS += network_layer/sixlowpan/iphc
endif endif
ifneq (,$(filter gnrc_sixlowpan_nd,$(USEMODULE))) ifneq (,$(filter gnrc_sixlowpan_nd,$(USEMODULE)))
DIRS += network_layer/sixlowpan/nd DIRS += network_layer/sixlowpan/nd
endif endif
ifneq (,$(filter gnrc_sixlowpan_nd_router,$(USEMODULE))) ifneq (,$(filter gnrc_sixlowpan_nd_router,$(USEMODULE)))
DIRS += network_layer/sixlowpan/nd/router DIRS += network_layer/sixlowpan/nd/router
endif endif
ifneq (,$(filter gnrc_sixlowpan_netif,$(USEMODULE))) ifneq (,$(filter gnrc_sixlowpan_netif,$(USEMODULE)))
DIRS += network_layer/sixlowpan/netif DIRS += network_layer/sixlowpan/netif
endif endif
ifneq (,$(filter gnrc_slip,$(USEMODULE))) ifneq (,$(filter gnrc_slip,$(USEMODULE)))
DIRS += link_layer/slip DIRS += link_layer/slip
endif endif
ifneq (,$(filter gnrc_sock,$(USEMODULE))) ifneq (,$(filter gnrc_sock,$(USEMODULE)))
DIRS += sock DIRS += sock
endif endif
ifneq (,$(filter gnrc_sock_ip,$(USEMODULE))) ifneq (,$(filter gnrc_sock_ip,$(USEMODULE)))
DIRS += sock/ip DIRS += sock/ip
endif endif
ifneq (,$(filter gnrc_sock_udp,$(USEMODULE))) ifneq (,$(filter gnrc_sock_udp,$(USEMODULE)))
DIRS += sock/udp DIRS += sock/udp
endif endif
ifneq (,$(filter gnrc_udp,$(USEMODULE))) ifneq (,$(filter gnrc_udp,$(USEMODULE)))
DIRS += transport_layer/udp DIRS += transport_layer/udp
endif endif
ifneq (,$(filter gnrc_tcp,$(USEMODULE))) ifneq (,$(filter gnrc_tcp,$(USEMODULE)))
DIRS += transport_layer/tcp DIRS += transport_layer/tcp
endif endif
ifneq (,$(filter gnrc_tftp,$(USEMODULE))) ifneq (,$(filter gnrc_tftp,$(USEMODULE)))
DIRS += application_layer/tftp DIRS += application_layer/tftp
endif endif
include $(RIOTBASE)/Makefile.base include $(RIOTBASE)/Makefile.base

View File

@ -2,7 +2,7 @@ BASE_MODULE := prng
SUBMODULES := 1 SUBMODULES := 1
ifneq (,$(filter prng_tinymt32,$(USEMODULE))) ifneq (,$(filter prng_tinymt32,$(USEMODULE)))
DIRS += tinymt32 DIRS += tinymt32
endif endif
include $(RIOTBASE)/Makefile.base include $(RIOTBASE)/Makefile.base