Makefile 762 B

1234567891011121314151617181920212223
  1. #@file Makefile
  2. #@brief Makefile for HDM driver
  3. #Copyright (c) 2019, Samsung Electronics Corporation. All rights reserved.
  4. #
  5. #This program is free software; you can redistribute it and/or modify
  6. #it under the terms of the GNU General Public License version 2 and
  7. #only version 2 as published by the Free Software Foundation.
  8. #
  9. #This program is distributed in the hope that it will be useful,
  10. #but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. #GNU General Public License for more details.
  13. obj-$(CONFIG_HDM) += hdm.o
  14. ifeq ($(CONFIG_UH), y)
  15. $(warning [HDM] CONFIG_UH Enabled)
  16. hdm-objs = main.o uh_entry.o
  17. ccflags-y += -DCONFIG_HDM_UH=true
  18. else
  19. hdm-objs = main.o
  20. endif