1
0

sources 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. ################################################################################
  2. #
  3. # Copyright (c) 2014 Minoca Corp.
  4. #
  5. # This file is licensed under the terms of the GNU General Public License
  6. # version 3. Alternative licensing terms are available. Contact
  7. # info@minocacorp.com for details. See the LICENSE file at the root of this
  8. # project for complete licensing information.
  9. #
  10. # Binary Name:
  11. #
  12. # bootman (sources)
  13. #
  14. # Abstract:
  15. #
  16. # This file includes the common build arguments for the boot manager.
  17. #
  18. # Author:
  19. #
  20. # Evan Green 21-Feb-2014
  21. #
  22. # Environment:
  23. #
  24. # Boot
  25. #
  26. ################################################################################
  27. BINARY ?= bootman
  28. BINARYTYPE = staticapp
  29. BINPLACE = bin
  30. OBJS = bootman.o \
  31. bootim.o \
  32. ##
  33. ## The PC/AT boot manager is a 32-bit fish in a 64-bit pond. All of its
  34. ## libraries need to be specially compiled 32-bit versions.
  35. ##
  36. ifeq ($(ARCH)$(USE_64BIT_LIBRARIES),x64)
  37. TARGETLIBS = $(OBJROOT)/os/lib/rtl/base/boot/x6432/basertlb.a \
  38. $(OBJROOT)/os/lib/rtl/kmode/x6432/krtl.a \
  39. $(OBJROOT)/os/lib/im/x6432/imu.a \
  40. $(OBJROOT)/os/lib/fatlib/x6432/fat.a \
  41. $(OBJROOT)/os/lib/basevid/x6432/basevid.a \
  42. $(OBJROOT)/os/lib/bconflib/x6432/bconflib.a \
  43. $(OBJROOT)/os/kernel/kd/boot/x6432/kdboot.a \
  44. $(OBJROOT)/os/kernel/kd/kdusb/kdnousb/x6432/kdnousb.a \
  45. $(OBJROOT)/os/kernel/hl/boot/x6432/hlboot.a \
  46. $(OBJROOT)/os/kernel/mm/boot/x6432/mmboot.a \
  47. else
  48. TARGETLIBS = $(OBJROOT)/os/lib/rtl/base/boot/basertlb.a \
  49. $(OBJROOT)/os/lib/rtl/kmode/krtl.a \
  50. $(OBJROOT)/os/lib/im/imu.a \
  51. $(OBJROOT)/os/lib/fatlib/fat.a \
  52. $(OBJROOT)/os/lib/basevid/basevid.a \
  53. $(OBJROOT)/os/lib/bconflib/bconflib.a \
  54. $(OBJROOT)/os/kernel/kd/boot/kdboot.a \
  55. $(OBJROOT)/os/kernel/kd/kdusb/kdnousb/kdnousb.a \
  56. $(OBJROOT)/os/kernel/hl/boot/hlboot.a \
  57. $(OBJROOT)/os/kernel/mm/boot/mmboot.a \
  58. endif
  59. EXTRA_SRC_DIRS = x86