Message ID | 20180830003631.19643-1-alistair@popple.id.au |
---|---|
State | Accepted |
Headers | show |
Series | Makefile.am: Remove -DHAVE_LITTLE_ENDIAN | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | success | master/apply_patch Successfully applied |
snowpatch_ozlabs/build-multiarch | success | Test build-multiarch on branch master |
diff --git a/Makefile.am b/Makefile.am index 571660d..f54b172 100644 --- a/Makefile.am +++ b/Makefile.am @@ -87,8 +87,8 @@ pdbg_CFLAGS = -I$(top_srcdir)/libpdbg -Wall -Werror -DGIT_SHA1=\"${GIT_SHA1}\" \ lib_LTLIBRARIES = libpdbg.la libfdt.la -libfdt_la_CFLAGS = -I$(top_srcdir)/libfdt -DHAVE_LITTLE_ENDIAN -libpdbg_la_CFLAGS = -I$(top_srcdir)/libfdt -DHAVE_LITTLE_ENDIAN -Wall -Werror +libfdt_la_CFLAGS = -I$(top_srcdir)/libfdt +libpdbg_la_CFLAGS = -I$(top_srcdir)/libfdt -Wall -Werror libfdt_la_SOURCES = \ libfdt/fdt.c \
Commit 77158819158d ("device: remove use of ccan's endian") converted to using libc functions for providing endian conversion. These don't rely on having HAVE_[BIG|LITTLE]_ENDIAN defined so remove the definitions. Signed-off-by: Alistair Popple <alistair@popple.id.au> --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)