build: Remove header files from drivers_sources

It is not necessary to list all the headers in the drivers_sources list,
so remove them.
This commit is contained in:
Benjamin Berg 2019-06-12 12:09:39 +02:00
parent 3b757ee738
commit 7dce8dbfaa

View file

@ -76,13 +76,13 @@ drivers_sources = []
drivers_cflags = [] drivers_cflags = []
foreach driver: drivers foreach driver: drivers
if driver == 'upekts' if driver == 'upekts'
drivers_sources += [ 'drivers/upekts.c', 'drivers/upek_proto.c', 'drivers/upek_proto.h' ] drivers_sources += [ 'drivers/upekts.c', 'drivers/upek_proto.c' ]
endif endif
if driver == 'upektc' if driver == 'upektc'
drivers_sources += [ 'drivers/upektc.c', 'drivers/upektc.h' ] drivers_sources += [ 'drivers/upektc.c' ]
endif endif
if driver == 'upeksonly' if driver == 'upeksonly'
drivers_sources += [ 'drivers/upeksonly.c', 'drivers/upeksonly.h' ] drivers_sources += [ 'drivers/upeksonly.c' ]
endif endif
if driver == 'uru4000' if driver == 'uru4000'
drivers_sources += [ 'drivers/uru4000.c' ] drivers_sources += [ 'drivers/uru4000.c' ]
@ -92,20 +92,20 @@ foreach driver: drivers
aeslib = true aeslib = true
endif endif
if driver == 'aes1660' if driver == 'aes1660'
drivers_sources += [ 'drivers/aes1660.c', 'drivers/aes1660.h' ] drivers_sources += [ 'drivers/aes1660.c' ]
aeslib = true aeslib = true
aesx660 = true aesx660 = true
endif endif
if driver == 'aes2501' if driver == 'aes2501'
drivers_sources += [ 'drivers/aes2501.c', 'drivers/aes2501.h' ] drivers_sources += [ 'drivers/aes2501.c' ]
aeslib = true aeslib = true
endif endif
if driver == 'aes2550' if driver == 'aes2550'
drivers_sources += [ 'drivers/aes2550.c', 'drivers/aes2550.h' ] drivers_sources += [ 'drivers/aes2550.c' ]
aeslib = true aeslib = true
endif endif
if driver == 'aes2660' if driver == 'aes2660'
drivers_sources += [ 'drivers/aes2660.c', 'drivers/aes2660.h' ] drivers_sources += [ 'drivers/aes2660.c' ]
aeslib = true aeslib = true
aesx660 = true aesx660 = true
endif endif
@ -129,33 +129,33 @@ foreach driver: drivers
drivers_sources += [ 'drivers/vfs101.c' ] drivers_sources += [ 'drivers/vfs101.c' ]
endif endif
if driver == 'vfs301' if driver == 'vfs301'
drivers_sources += [ 'drivers/vfs301.c', 'drivers/vfs301_proto.c', 'drivers/vfs301_proto.h', 'drivers/vfs301_proto_fragments.h' ] drivers_sources += [ 'drivers/vfs301.c', 'drivers/vfs301_proto.c' ]
endif endif
if driver == 'vfs5011' if driver == 'vfs5011'
drivers_sources += [ 'drivers/vfs5011.c', 'drivers/vfs5011_proto.h' ] drivers_sources += [ 'drivers/vfs5011.c' ]
endif endif
if driver == 'upektc_img' if driver == 'upektc_img'
drivers_sources += [ 'drivers/upektc_img.c', 'drivers/upektc_img.h', 'drivers/upek_proto.c', 'drivers/upek_proto.h' ] drivers_sources += [ 'drivers/upektc_img.c', 'drivers/upek_proto.c' ]
endif endif
if driver == 'etes603' if driver == 'etes603'
drivers_sources += [ 'drivers/etes603.c' ] drivers_sources += [ 'drivers/etes603.c' ]
endif endif
if driver == 'vfs0050' if driver == 'vfs0050'
drivers_sources += [ 'drivers/vfs0050.c', 'drivers/vfs0050.h' ] drivers_sources += [ 'drivers/vfs0050.c' ]
endif endif
if driver == 'elan' if driver == 'elan'
drivers_sources += [ 'drivers/elan.c', 'drivers/elan.h' ] drivers_sources += [ 'drivers/elan.c' ]
endif endif
endforeach endforeach
if aeslib if aeslib
drivers_sources += [ 'drivers/aeslib.c', 'drivers/aeslib.h' ] drivers_sources += [ 'drivers/aeslib.c' ]
endif endif
if aesx660 if aesx660
drivers_sources += ['drivers/aesx660.c', 'drivers/aesx660.h' ] drivers_sources += ['drivers/aesx660.c' ]
endif endif
if aes3k if aes3k
drivers_sources += ['drivers/aes3k.c', 'drivers/aes3k.h' ] drivers_sources += ['drivers/aes3k.c' ]
endif endif
other_sources = [] other_sources = []