[Buildroot] [PATCH 1/2] axfsutils: add new package

Ariel D'Alessandro ariel at vanguardiasur.com.ar
Mon Oct 5 11:03:51 UTC 2015


Yann,

El 02/10/15 a las 18:57, Yann E. MORIN escribió:
> Ariel, All,
> 
> On 2015-10-02 11:37 -0300, Ariel D'Alessandro spake thusly:
>> Tools for building AXFS Filesystem.
>>
>> The Advanced XIP File System is a Linux kernel filesystem driver that enables
>> files to be executed directly from flash or ROM memory rather than being copied
>> into RAM.
>>
>> Source:
>> 	https://github.com/jaredeh/axfs
>>
>> Signed-off-by: Ariel D'Alessandro <ariel at vanguardiasur.com.ar>
>> ---
>>  package/axfsutils/axfsutils.mk | 21 +++++++++++++++++++++
>>  1 file changed, 21 insertions(+)
>>  create mode 100644 package/axfsutils/axfsutils.mk
>>
>> diff --git a/package/axfsutils/axfsutils.mk b/package/axfsutils/axfsutils.mk
>> new file mode 100644
>> index 0000000..ef8d471
>> --- /dev/null
>> +++ b/package/axfsutils/axfsutils.mk
>> @@ -0,0 +1,21 @@
>> +################################################################################
>> +#
>> +# axfsutils
>> +#
>> +################################################################################
>> +
>> +AXFSUTILS_VERSION = f26ae785e33df76f658b71ef2cfbc7f511ff875d
>> +AXFSUTILS_SITE = $(call github,jaredeh,axfs,$(AXFSUTILS_VERSION))
>> +AXFSUTILS_LICENSE = GPLv2
>> +AXFSUTILS_LICENSE_FILES = COPYING
>> +
>> +define HOST_AXFSUTILS_BUILD_CMDS
>> +	$(HOST_MAKE_ENV) $(MAKE) -C $(@D)/mkfs.axfs-legacy
>> +endef
>> +
>> +define HOST_AXFSUTILS_INSTALL_CMDS
>> +	cp $(@D)/mkfs.axfs-legacy/mkfs.axfs $(HOST_DIR)/usr/bin/
>> +endef
>> +
>> +$(eval $(generic-package))
> 
> Since you do not add a Config.in that provides the corresponding option
> BR2_PACKAGE_AXFSUTILS for this package, it will never be buildable for
> the target.
> 
> So, either you provide a Config.in that adds BR2_PACKAGE_AXFSUTILS (like
> is done for e2fsprogs, for example), or you do not add a call to $(generic-package)

You're right. Wrong call to $(generic-package). I'll remove it and
submit patchset v2.

Thanks!

-- 
Ariel D'Alessandro, VanguardiaSur
www.vanguardiasur.com.ar



More information about the buildroot mailing list