X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/1f96d69f566aa785c0f0fb4fb25e6198a96bb4c3..68be7a01fc422f7acd85bdb5d821e02b862547ce:/openwrt/package/atftp/Makefile diff --git a/openwrt/package/atftp/Makefile b/openwrt/package/atftp/Makefile index 3a692314c..f49aab670 100644 --- a/openwrt/package/atftp/Makefile +++ b/openwrt/package/atftp/Makefile @@ -53,18 +53,19 @@ $(PKG_BUILD_DIR)/.built: mkdir -p $(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) \ $(TARGET_CONFIGURE_OPTS) \ + CFLAGS="$(TARGET_CFLAGS) -Wall -D_REENTRANT" \ DESTDIR=$(PKG_INSTALL_DIR) \ all install touch $@ $(IPKG_ATFTP): install -d -m0755 $(IDIR_ATFTP)/usr/bin - cp -fpR $(PKG_BUILD_DIR)/atftp $(IDIR_ATFTP)/usr/bin + $(CP) $(PKG_BUILD_DIR)/atftp $(IDIR_ATFTP)/usr/bin $(RSTRIP) $(IDIR_ATFTP) $(IPKG_BUILD) $(IDIR_ATFTP) $(PACKAGE_DIR) $(IPKG_ATFTPD): install -d -m0755 $(IDIR_ATFTPD)/usr/sbin - cp -fpR $(PKG_BUILD_DIR)/atftpd $(IDIR_ATFTPD)/usr/sbin + $(CP) $(PKG_BUILD_DIR)/atftpd $(IDIR_ATFTPD)/usr/sbin $(RSTRIP) $(IDIR_ATFTPD) $(IPKG_BUILD) $(IDIR_ATFTPD) $(PACKAGE_DIR)