From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnout Vandecappelle Date: Sun, 10 Jan 2016 17:01:55 +0100 Subject: [Buildroot] [RFC PATCH 1/3] package/dhcp: bump version to 4.3.3 In-Reply-To: <1452376785-31174-2-git-send-email-rdkehn@yahoo.com> References: <1452376785-31174-1-git-send-email-rdkehn@yahoo.com> <1452376785-31174-2-git-send-email-rdkehn@yahoo.com> Message-ID: <56928073.9010001@mind.be> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net On 09-01-16 22:59, Doug Kehn wrote: [snip] > +define DHCP_TOOLCHAIN_AR_REF > + for d in common dhcpctl omapip; do \ > + sed -i 's#^AR.*#AR = $(TARGET_AR)#' $(@D)/$$d/Makefile; \ > + done > +endef > +DHCP_PRE_BUILD_HOOKS += DHCP_TOOLCHAIN_AR_REF This should be a post-patch hook. Or if the Makefile is generated by the configure step, a post-configure hook (but in that case it would be better to patch the configure script to generate the right thing to begin with). Oh yes, even better is an actual patch that can be upstreamed. Regards, Arnout > + > ifeq ($(BR2_PACKAGE_DHCP_SERVER_DELAYED_ACK),y) > DHCP_CONF_OPTS += --enable-delayed-ack > endif > -- Arnout Vandecappelle arnout at mind be Senior Embedded Software Architect +32-16-286500 Essensium/Mind http://www.mind.be G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF