From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Wed, 29 Sep 2010 13:23:54 +0200 Subject: [Buildroot] [PATCH 1/6] coreutils: converted to autotarget In-Reply-To: <1285296904-25793-1-git-send-email-Martin.Banky@gmail.com> References: <1285296904-25793-1-git-send-email-Martin.Banky@gmail.com> Message-ID: <20100929132354.69c0efed@surf> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Hello Martin, On Thu, 23 Sep 2010 19:54:59 -0700 Martin Banky wrote: > +#COREUTILS_SITE = ftp://alpha.gnu.org/gnu/coreutils/ Remove this line. > +BIN_PROGS = cat chgrp chmod chown cp date dd df dir echo false hostname \ > + ln ls mkdir mknod mv pwd rm rmdir vdir sleep stty sync touch true \ > + uname join The variable namespace is completely global in Buildroot, so I'd prefer to see this variable prefixed with COREUTILS_ > +ifneq ($(BR2_ENABLE_LOCALE),y) > +define COREUTILS_REMOVE_LOCALE > + rm -rf $(TARGET_DIR)/share/locale > +endef > +COREUTILS_POST_INSTALL_TARGET_HOOKS += COREUTILS_REMOVE_LOCALE Not needed, the top-level Makefile takes care of this. Thanks! Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com