xref: /kernel/linux/linux-6.6/drivers/zorro/Makefile
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/drivers/zorro/
162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Makefile for the Zorro bus specific drivers.
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ci
662306a36Sopenharmony_ciobj-$(CONFIG_ZORRO)	+= zorro.o zorro-driver.o zorro-sysfs.o
762306a36Sopenharmony_ciobj-$(CONFIG_PROC_FS)	+= proc.o
862306a36Sopenharmony_ciobj-$(CONFIG_ZORRO_NAMES) +=  names.o
962306a36Sopenharmony_ci
1062306a36Sopenharmony_cihostprogs		:= gen-devlist
1162306a36Sopenharmony_ci
1262306a36Sopenharmony_ci# Files generated that shall be removed upon make clean
1362306a36Sopenharmony_ciclean-files := devlist.h
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci# Dependencies on generated files need to be listed explicitly
1662306a36Sopenharmony_ci$(obj)/names.o: $(obj)/devlist.h
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci# And that's how to generate them
1962306a36Sopenharmony_ciquiet_cmd_devlist = DEVLIST $@
2062306a36Sopenharmony_ci      cmd_devlist = ( cd $(obj); ./gen-devlist ) < $<
2162306a36Sopenharmony_ci$(obj)/devlist.h: $(src)/zorro.ids $(obj)/gen-devlist
2262306a36Sopenharmony_ci	$(call cmd,devlist)
2362306a36Sopenharmony_ci
24

Indexes created Thu Nov 07 10:32:03 CST 2024