[syslog-ng] compiling syslog-ng for armv7 platform on linux with TLS support
Girish Kumar
girish.kumar at al-enterprise.com
Thu Feb 4 12:31:28 CET 2016
Hi All,
Presently I am compiling for armv7 platform on linux. Please let me know whether following settings are fine
syslog-ng_deps = $(shell find $(LTOP)/syslog-ng-3.6.4 -type f)
$(OBJS)/syslog-ng/syslog-ng.configured: $(syslog-ng_deps) $(RAMDISK_LIB)/libssl.so.1.0.0 eventlog
@rm -rf $(OBJS)/syslog-ng;
@mkdir -p $(OBJS)/syslog-ng;
@cd $(OBJS)/syslog-ng;\
declare -x PATH=$(CCPATH):$(PATH);\
declare -x CFLAGS="$(PLATFORM_CFLAGS) -I$(CROSSINCS) -I$(BUILT_INCLUDES)";\
declare -x CPPFLAGS="$(PLATFORM_CPPFLAGS) -I$(CROSSINCS) -I$(BUILT_INCLUDES)";\
declare -x LDFLAGS="$(PLATFORM_LDFLAGS) -L$(CROSSLIBS) -L$(BUILT_LIBS) -lcrypto -levtlog";\
declare -x EVTLOG_CFLAGS="$(PLATFORM_CFLAGS) -I$(CROSSINCS) -I$(BUILT_INCLUDES) -I$(BUILT_INCLUDES)/eventlog";\
declare -x EVTLOG_LIBS="$(PLATFORM_LDFLAGS) -L$(CROSSLIBS) -L$(BUILT_LIBS) -levtlog";\
declare -x ac_cv_func_malloc_0_nonnull="yes";\
declare -x ac_cv_func_realloc_0_nonnull="yes";\
$(LTOP)/syslog-ng-3.6.4/configure --prefix=/ --host=$(CCPREFIX)\
--enable-ssl --enable-glib &> $(OBJS)/syslog-ng/configure.out
@touch $(OBJS)/syslog-ng/syslog-ng.configured
$(BUILT_BASE)/sbin/syslog-ngd: $(OBJS)/syslog-ng/syslog-ng.configured
@cd $(OBJS)/syslog-ng;\
declare -x PATH=$(CCPATH):$(PATH);\
declare -x CFLAGS="$(PLATFORM_CFLAGS) -I$(CROSSINCS) -I$(BUILT_INCLUDES)";\
declare -x CPPFLAGS="$(PLATFORM_CPPFLAGS) -I$(CROSSINCS) -I$(BUILT_INCLUDES)";\
declare -x LDFLAGS="$(PLATFORM_LDFLAGS) -L$(CROSSLIBS) -L$(BUILT_LIBS) -lcrypto -levtlog";\
declare -x EVTLOG_CFLAGS="$(PLATFORM_CFLAGS) -I$(CROSSINCS) -I$(BUILT_INCLUDES) -I$(BUILT_INCLUDES)/eventlog";\
declare -x EVTLOG_LIBS="$(PLATFORM_LDFLAGS) -L$(CROSSLIBS) -L$(BUILT_LIBS) -levtlog";\
$(MAKE) &> $(OBJS)/syslog-ng/make.out;\
make install prefix=$(BUILT_BASE) &> $(OBJS)/syslog-ng/install.out
$(RAMDISK_SBIN)/syslog-ngd: $(BUILT_BASE)/sbin/syslog-ngd
@cp -rf $(BUILT_BASE)/lib/syslog-ng $(RAMDISK_LIB)
@cp -f $(BUILT_BASE)/sbin/syslog-ngd $(RAMDISK_SBIN)
@echo "$(PLATFORM_DIR) syslog-ngd done"
syslog-ng: $(RAMDISK_SBIN)/syslog-ngd
Regards,
Girish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20160204/33b29c2a/attachment-0001.htm
More information about the syslog-ng
mailing list