[Buildroot] [PATCH 46/46] Add support for the Barebox bootloader
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sat Jun 12 14:16:58 UTC 2010
On Wed, 09 Jun 2010 09:51:03 +0200
Peter Korsgaard <jacmet at uclibc.org> wrote:
> This should afaik use KERNEL_ARCH rather than arch (E.G. with i?x86
> converted into i386) - Similar to how it's done for u-boot.
Ok, done.
> Thomas> +
> Thomas> +BAREBOX_MAKE_FLAGS = ARCH=$(BAREBOX_ARCH)
> Thomas> CROSS_COMPILE=$(TARGET_CROSS) +
> Thomas> +$(DL_DIR)/$(BAREBOX_SOURCE):
> Thomas> + $(call DOWNLOAD,$(BAREBOX_SITE),$(BAREBOX_SOURCE))
> Thomas> +
> Thomas> +$(BAREBOX_DIR)/.unpacked: $(DL_DIR)/$(BAREBOX_SOURCE)
> Thomas> + $(BAREBOX_CAT) $(DL_DIR)/$(BAREBOX_SOURCE) \
> Thomas> + | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
> Thomas> + mkdir -p $(BAREBOX_DIR)
>
> What's the point of that mkdir?
No point, and I've switched to the "strip one component path" method
that we use for most/all packages.
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