diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2012-09-11 19:48:22 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2012-09-11 19:48:22 +0000 |
commit | 6936fcbd60d4c76d83117181d98a87ec733e482f (patch) | |
tree | a947bf61d1f0ba7999afd95b0d6da4c4722b88b3 /LUFA | |
parent | ce5f5bd1c3285fe2dd9f554503bee12dca4d60e4 (diff) | |
download | lufa-6936fcbd60d4c76d83117181d98a87ec733e482f.tar.gz lufa-6936fcbd60d4c76d83117181d98a87ec733e482f.tar.bz2 lufa-6936fcbd60d4c76d83117181d98a87ec733e482f.zip |
Minor build system tweaks for platform compatibility.
Diffstat (limited to 'LUFA')
-rw-r--r-- | LUFA/Build/lufa_build.mk | 2 | ||||
-rw-r--r-- | LUFA/Build/lufa_hid.mk | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/LUFA/Build/lufa_build.mk b/LUFA/Build/lufa_build.mk index 88430b21f..3dc555cf9 100644 --- a/LUFA/Build/lufa_build.mk +++ b/LUFA/Build/lufa_build.mk @@ -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 %.lss: %.elf @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 %.sym: %.elf diff --git a/LUFA/Build/lufa_hid.mk b/LUFA/Build/lufa_hid.mk index f0e4f45de..867c5dedc 100644 --- a/LUFA/Build/lufa_hid.mk +++ b/LUFA/Build/lufa_hid.mk @@ -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_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)) |