1234567891011121314151617181920212223242526272829303132 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include $(TOPDIR)/rules.mk
- TARGETS:=adk mkcrypt cpio mkimage genext2fs bc
- ifeq ($(ADK_TARGET_ROOTFS_ISO),y)
- TARGETS+=cdrtools syslinux
- endif
- ifeq ($(ADK_TARGET_LIB_EGLIBC),y)
- TARGETS+=gperf
- endif
- TARGETS_INSTALL:=$(patsubst %,%-install,$(TARGETS))
- TARGETS_CLEAN:=$(patsubst %,%-clean,$(TARGETS))
- all: install
- compile:
- install: $(TARGETS_INSTALL)
- clean: $(TARGETS_CLEAN)
- %-compile: $(TOOLS_BUILD_DIR)
- $(TRACE) "tools/$(patsubst %-compile,%,$@)/compile "
- $(MAKE) -C $(patsubst %-compile,%,$@) compile $(MAKE_TRACE)
- %-install:
- $(TRACE) "tools/$(patsubst %-install,%,$@)/install "
- $(MAKE) -C $(patsubst %-install,%,$@) install $(MAKE_TRACE)
- %-clean:
- $(TRACE) "tools/$(patsubst %-clean,%,$@)/clean "
- $(MAKE) -C $(patsubst %-clean,%,$@) clean
|