You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
1.8 KiB

  1. >>enable all IDs for hwinfo
  2. >>changes to make it respect compile flags
  3. >>disable the generation of "tiny hwinfo ID tables" because it is a long
  4. process and has no purpose, it seems I cannot even build the "tiny" version of hwinfo
  5. on my OpenSUSE system, so I guess that it is just legacy stuff that bitrotted.
  6. --- a/src/ids/Makefile
  7. +++ b/src/ids/Makefile
  8. @@ -17,47 +17,47 @@ IDFILES += src/bus src/class src/extra s
  9. src/usb src/usb2 src/isapnp src/monitor src/camera src/tv2 src/tv src/dvb2 src/dvb \
  10. src/chipcard src/modem src/pcmcia src/s390 src/sdio
  11. -ifeq "$(ARCH)" "i386"
  12. +#ifeq "$(ARCH)" "i386"
  13. IDFILES += src/x11.i386 src/modem.i386
  14. -endif
  15. +#endif
  16. -ifeq "$(ARCH)" "ppc"
  17. +#ifeq "$(ARCH)" "ppc"
  18. IDFILES += src/x11.ppc src/x11.ppc.special
  19. -endif
  20. +#endif
  21. -ifeq "$(ARCH)" "alpha"
  22. +#ifeq "$(ARCH)" "alpha"
  23. IDFILES += src/x11.axp
  24. -endif
  25. +#endif
  26. -ifeq "$(ARCH)" "sparc"
  27. +#ifeq "$(ARCH)" "sparc"
  28. IDFILES += src/x11.sparc
  29. -endif
  30. +#endif
  31. -ifeq "$(ARCH)" "sparc64"
  32. +#ifeq "$(ARCH)" "sparc64"
  33. IDFILES += src/x11.sparc
  34. -endif
  35. +#endif
  36. -ifeq "$(ARCH)" "ia64"
  37. +#ifeq "$(ARCH)" "ia64"
  38. IDFILES += src/x11.ia64
  39. -endif
  40. +#endif
  41. -ifeq "$(ARCH)" "x86_64"
  42. +#ifeq "$(ARCH)" "x86_64"
  43. IDFILES += src/x11.amd64
  44. -endif
  45. +#endif
  46. IDFILES += src/pci src/storage src/sound src/mouse src/braille
  47. $(LIBHD_D): hd_ids.o
  48. - ar r $(LIBHD) $?
  49. + $(AR) r $(LIBHD) $?
  50. check_hd: check_hd.c
  51. - $(CC) $(CFLAGS) $< -o $@
  52. + $(CC) $(LDFLAGS) $(CFLAGS) $< -o $@
  53. -hd_ids.c: hd_ids.h hd_ids_tiny.h
  54. +hd_ids.c: hd_ids.h
  55. hd_ids.h hd.ids: check_hd $(IDFILES)
  56. ./check_hd --check --sort --cfile hd_ids.h $(IDFILES)
  57. -hd_ids_tiny.h: check_hd hd.ids
  58. - ./check_hd --mini --cfile hd_ids_tiny.h --log=hd_tiny.log --out=hd_tiny.ids hd.ids
  59. +#hd_ids_tiny.h: check_hd hd.ids
  60. +# ./check_hd --mini --cfile hd_ids_tiny.h --log=hd_tiny.log --out=hd_tiny.ids hd.ids