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

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon May 30 19:02:44 UTC 2011


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).

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list