scripts/kwbimage: add a new function image_count_options()
This function returns the number of configuration elements that match
a given type. Will be used to do some sanity checking of the number of
options.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 2434ae9 commit 87f6faa4508c8e66a828ccf425663375ca681017
@Thomas Petazzoni Thomas Petazzoni authored on 15 May 2013
Sascha Hauer committed on 17 May 2013
Showing 1 changed file
View
scripts/kwbimage.c