bb0f82d5aa
* configure (HEX2): Check for hex2 from MESCC_tools. * INSTALL: Mention it. * GNUmakefile (SUBDIRS): Add stage0. * make/check-cc.make: New file. * make/check.make: Remove CC-not-empty guard. * scaffold/scaffold.make: Update CC check targets.
11 lines
448 B
Makefile
11 lines
448 B
Makefile
ifneq ($(HEX2),)
|
|
CLEAN+=$(OUT)/exit42
|
|
$(OUT)/exit42: stage0/elf32-header-exit-42.hex2 stage0/elf32-body-exit-42.hex2 stage0/elf32-footer-exit-42.hex2
|
|
@echo " HEX2 $(notdir $^) -> $(notdir $@)"
|
|
$(QUIET)$(HEX2) -f stage0/elf32-header-exit-42.hex2 -f stage0/elf32-body-exit-42.hex2 -f stage0/elf32-footer-exit-42.hex2 --LittleEndian --Architecture 1 --BaseAddress 0x1000000 > $@
|
|
chmod +x $@
|
|
TARGET:=exit42
|
|
EXPECT:=42
|
|
include make/check.make
|
|
endif
|