Minor build system tweaks for platform compatibility.

pull/1469/head
Dean Camera 12 years ago
parent ce5f5bd1c3
commit 6936fcbd60

@ -308,7 +308,7 @@ $(OBJDIR)/%.o: %.S $(MAKEFILE_LIST)
# Creates an assembly listing file from an input project ELF file, containing interleaved assembly and source data # Creates an assembly listing file from an input project ELF file, containing interleaved assembly and source data
%.lss: %.elf %.lss: %.elf
@echo $(MSG_OBJDMP_CMD) Extracting LSS file data from \"$<\" @echo $(MSG_OBJDMP_CMD) Extracting LSS file data from \"$<\"
$(CROSS)-objdump -h -S -z $< > $@ $(CROSS)-objdump -h -d -S -z $< > $@
# Creates a symbol file listing the loadable and discarded symbols from an input project ELF file # Creates a symbol file listing the loadable and discarded symbols from an input project ELF file
%.sym: %.elf %.sym: %.elf

@ -50,6 +50,8 @@ LUFA_BUILD_PROVIDED_MACROS +=
# #
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
SHELL = /bin/sh
ERROR_IF_UNSET ?= $(if $(filter undefined, $(origin $(strip $(1)))), $(error Makefile $(strip $(1)) value not set)) ERROR_IF_UNSET ?= $(if $(filter undefined, $(origin $(strip $(1)))), $(error Makefile $(strip $(1)) value not set))
ERROR_IF_EMPTY ?= $(if $(strip $($(strip $(1)))), , $(error Makefile $(strip $(1)) option cannot be blank)) ERROR_IF_EMPTY ?= $(if $(strip $($(strip $(1)))), , $(error Makefile $(strip $(1)) option cannot be blank))
ERROR_IF_NONBOOL ?= $(if $(filter Y N, $($(strip $(1)))), , $(error Makefile $(strip $(1)) option must be Y or N)) ERROR_IF_NONBOOL ?= $(if $(filter Y N, $($(strip $(1)))), , $(error Makefile $(strip $(1)) option must be Y or N))

Loading…
Cancel
Save