summaryrefslogtreecommitdiff
path: root/package/cdrkit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/cdrkit/Makefile')
-rw-r--r--package/cdrkit/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/cdrkit/Makefile b/package/cdrkit/Makefile
index 45adc5712..e4c483bfe 100644
--- a/package/cdrkit/Makefile
+++ b/package/cdrkit/Makefile
@@ -25,6 +25,12 @@ $(eval $(call PKG_template,CDRKIT,cdrkit,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEP
CONFIG_STYLE:= cmake
CMAKE_FLAGS+= -DUSE_LIBC_NLS=1 -DUSE_LIBXNET=0 -DUSE_LIBNLS=0
+ifeq ($(ADK_TARGET_ENDIAN),little)
+CMAKE_FLAGS+= -DBITFIELDS_HTOL=0
+else
+CMAKE_FLAGS+= -DBITFIELDS_HTOL=1
+endif
+
cdrkit-install:
$(INSTALL_DIR) $(IDIR_CDRKIT)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/* \