mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 22:51:35 +00:00
0a6531ebea
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 <randy.dunlap@oracle.com> Reported-by: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Heiko Carstens <heiko.carstens@de.ibm.com> Cc: Arjan van de Ven <arjan@infradead.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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)
|