[Buildroot] [PATCH 1/1] dropbear: add extra build customization options
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed Feb 4 15:40:05 UTC 2015
Dear Floris Bos,
On Wed, 04 Feb 2015 16:35:26 +0100, Floris Bos wrote:
> Dropbear's SSH client is called dbclient.
> The extra "ssh" convenience symlink is something non-standard the
> buildroot package made up.
> One cannot pass a $(DROPBEAR_TARGET_BINS) containing "ssh" to the
> $(MAKE) call, as upstream dropbear has no clue how to make "ssh"
Ok, but then you can still have two separate variables for the
TARGET_BINS and the PROGRAMS, but not have duplication between the
server+client, and server only cases.
Or even:
DROPBEAR_TARGET_BINS = dropbearkey dropbearconvert scp
ifeq ($(BR2_PACKAGE_DROPBEAR_CLIENT),y)
DROPBEAR_TARGET_BINS += dbclient ssh
endif
...
# Here some comment to explain why we filter out ssh
$(MAKE) MULTI=1 SCPPROGRESS=1 \
PROGRAMS=$(filter-out ssh,$(DROPBEAR_TARGET_BINS))
...
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list