diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-09-08 00:51:14 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-09-08 00:51:14 +0000 |
commit | 913ad351c4aee42234a983e88ed2cfe15a5b2bb6 (patch) | |
tree | 47bd650f5a43c9052ef70986cc675af54dcc072f /package/ntp/ntp.mk | |
parent | 250245fa7e83d180b5c83f5284ba6c9660805b94 (diff) | |
download | buildroot-novena-913ad351c4aee42234a983e88ed2cfe15a5b2bb6.tar.gz buildroot-novena-913ad351c4aee42234a983e88ed2cfe15a5b2bb6.zip |
grab patch from OE to fix cross-compiling
Diffstat (limited to 'package/ntp/ntp.mk')
-rw-r--r-- | package/ntp/ntp.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/ntp/ntp.mk b/package/ntp/ntp.mk index 8ad5b8047..d231b72a5 100644 --- a/package/ntp/ntp.mk +++ b/package/ntp/ntp.mk @@ -18,6 +18,7 @@ ntp-source: $(DL_DIR)/$(NTP_SOURCE) $(NTP_DIR)/.unpacked: $(DL_DIR)/$(NTP_SOURCE) $(NTP_CAT) $(DL_DIR)/$(NTP_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + toolchain/patch-kernel.sh $(NTP_DIR) package/ntp/ ntp\*.patch $(SED) "s,^#if.*__GLIBC__.*_BSD_SOURCE.*$$,#if 0," \ $(NTP_DIR)/ntpd/refclock_pcf.c; touch $(NTP_DIR)/.unpacked @@ -26,6 +27,7 @@ $(NTP_DIR)/.configured: $(NTP_DIR)/.unpacked (cd $(NTP_DIR); rm -rf config.cache; \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ + ac_cv_lib_md5_MD5Init=no \ ./configure \ --target=$(GNU_TARGET_NAME) \ --host=$(GNU_TARGET_NAME) \ @@ -43,11 +45,12 @@ $(NTP_DIR)/.configured: $(NTP_DIR)/.unpacked $(DISABLE_NLS) \ --with-shared \ --program-transform-name=s,,, \ + --without-crypto \ ); touch $(NTP_DIR)/.configured $(NTP_DIR)/$(NTP_BINARY): $(NTP_DIR)/.configured - $(MAKE) CC=$(TARGET_CC) -C $(NTP_DIR) + $(MAKE) -C $(NTP_DIR) $(TARGET_DIR)/$(NTP_TARGET_BINARY): $(NTP_DIR)/$(NTP_BINARY) install -m 755 $(NTP_DIR)/ntpd/ntpd $(TARGET_DIR)/usr/sbin/ntpd |