1
0

Makefile 870 B

1234567891011121314151617181920212223
  1. #
  2. # Copyright (C) 2007 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. curdir:=target
  8. $(curdir)/builddirs:=linux sdk imagebuilder toolchain ccsdisk
  9. $(curdir)/builddirs-default:=linux
  10. $(curdir)/builddirs-install:=linux $(if $(CONFIG_SDK),sdk) $(if $(CONFIG_IB),imagebuilder) $(if $(CONFIG_MAKE_TOOLCHAIN),toolchain) $(if $(CONFIG_CCS),ccsdisk)
  11. $(curdir)/sdk/install:=$(curdir)/linux/install
  12. $(curdir)/imagebuilder/install:=$(curdir)/linux/install
  13. $(curdir)/ccsdisk/install:=$(curdir)/ccsdisk/install
  14. $(eval $(call stampfile,$(curdir),target,prereq,.config))
  15. $(eval $(call stampfile,$(curdir),target,compile,$(TMP_DIR)/.build))
  16. $(eval $(call stampfile,$(curdir),target,install,$(TMP_DIR)/.build))
  17. $($(curdir)/stamp-install): $($(curdir)/stamp-compile)
  18. $(eval $(call subdir,$(curdir)))