[Buildroot] [PATCH 1/2] Add package acl

Yegor Yefremov yegor_sub1 at visionsystems.de
Tue Jun 21 10:14:08 UTC 2011


Am 31.05.2011 14:47, schrieb Heiko Zuerker:
> 
> Quoting Daniel Mack <zonque at gmail.com>:
> 
>> On Mon, May 30, 2011 at 9:02 PM, Thomas Petazzoni
>> <thomas.petazzoni at free-electrons.com> wrote:
>>> On Mon, 30 May 2011 20:16:29 +0200
>>> Daniel Mack <zonque at gmail.com> wrote:
>>>
>>>> +define ACL_INSTALL_TARGET_CMDS
>>>> +     $(INSTALL) -m 0755 -D $(@D)/getfacl/.libs/getfacl $(TARGET_DIR)/usr/bin/
>>>> +     $(INSTALL) -m 0755 -D $(@D)/setfacl/.libs/setfacl $(TARGET_DIR)/usr/bin/
>>>> +     $(INSTALL) -m 0644 -D $(@D)/libacl/.libs/libacl.so* $(STAGING_DIR)/usr/lib/
>>>> +endef
>>>> +
>>>> +define ACL_INSTALL_STAGING_CMDS
>>>> +     test -d $(STAGING_DIR)/usr/include/acl/ || mkdir $(STAGING_DIR)/usr/include/acl/
>>>> +     $(INSTALL) -m 0644 -D $(@D)/include/*.h $(STAGING_DIR)/usr/include/acl/
>>>> +     $(SED) s,sys/acl.h,acl/acl.h, -i $(STAGING_DIR)/usr/include/acl/libacl.h
>>>> +endef
>>>
>>> Any reason to not use the default "make install" behaviour of the
>>> package ? (And ditto for the attr package).
>>
>> The libtool crap failed for cross compilation in these cases, so these
>> workarounds are unfortunately necessary.
> 
> Actually this isn't necessary, please see my version of the patches.
> 

Any update on this issue?


More information about the buildroot mailing list