mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 00:12:52 +00:00
We should only build hpet_example on x86[-64], where it is implemented. It can cause build errors on other architectures. Signed-off-by: Randy Dunlap <[email protected]> Reported-by: Heiko Carstens <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Arjan van de Ven <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
9 lines
229 B
Makefile
9 lines
229 B
Makefile
# kbuild trick to avoid linker error. Can be omitted if a module is built.
|
|
obj- := dummy.o
|
|
|
|
# List of programs to build
|
|
hostprogs-$(CONFIG_X86) := hpet_example
|
|
|
|
# Tell kbuild to always build the programs
|
|
always := $(hostprogs-y)
|