Makefile 550 B

12345678910111213141516171819
  1. #
  2. # Copyright (c) 2011 The Chromium OS Authors.
  3. #
  4. # (C) Copyright 2000-2003
  5. # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
  6. #
  7. # SPDX-License-Identifier: GPL-2.0+
  8. #
  9. obj-y := cpu.o os.o start.o state.o
  10. # os.c is build in the system environment, so needs standard includes
  11. # CFLAGS_REMOVE_os.o cannot be used to drop header include path
  12. quiet_cmd_cc_os.o = CC $(quiet_modtag) $@
  13. cmd_cc_os.o = $(CC) $(filter-out -nostdinc, \
  14. $(patsubst -I%,-idirafter%,$(c_flags))) -c -o $@ $<
  15. $(obj)/os.o: $(src)/os.c FORCE
  16. $(call if_changed_dep,cc_os.o)