[Buildroot] Problem building build root in a squashhfs image

Bobby Ramsook bobby.83x2 at gmail.com
Thu Feb 22 10:14:54 UTC 2007


A patch if the kernel will not build properly:



Index: target/linux26.mk
===================================================================
--- target/linux26.mk   (revision 17949)
+++ target/linux26.mk   (working copy)
@@ -32,7 +32,7 @@

 # Linux kernel configuration file
 # Has to be set by the target/device
-# LINUX26_KCONFIG=$(BR2_BOARD_PATH)/linux26.config
+# LINUX26_KCONFIG=$(BR2_BOARD_PATH)/linux26-$(LINUX26_VERSION).config

 # File name for the Linux kernel binary
 LINUX26_KERNEL=linux-kernel-$(LINUX26_VERSION)-$(KERNEL_ARCH)
@@ -61,7 +61,7 @@
                sleep 5; \
        fi;

-ifneq ($(strip $(LINUX26_VERSION)),$(strip $(LINUX_HEADERS_VERSION)))
+#ifneq ($(strip $(LINUX26_VERSION)),$(strip $(LINUX_HEADERS_VERSION)))
 $(DL_DIR)/$(LINUX26_SOURCE):
         $(WGET) -P $(DL_DIR) $(LINUX26_SITE)/$(LINUX26_SOURCE)

@@ -74,10 +74,12 @@
 endif
        touch $@

+linux-patched: $(LINUX26_DIR)/.patched
+
 $(LINUX26_DIR)/.patched: $(LINUX26_DIR)/.unpacked
        toolchain/patch-kernel.sh $(LINUX26_DIR) $(LINUX26_PATCH_DIR)
        touch $@
-endif # ($(LINUX26_VERSION),$(LINUX_HEADERS_VERSION))
+# endif # ($(LINUX26_VERSION),$(LINUX_HEADERS_VERSION))

 $(LINUX26_DIR)/.configured:  $(LINUX26_DIR)/.patched  $(LINUX26_KCONFIG)
        cp -dpf $(LINUX26_KCONFIG) $(LINUX26_DIR)/.config

_________________________________________________________________________________
On 2/15/07, Bernhard Fischer <rep.dot.nop at gmail.com> wrote:
>
> On Thu, Feb 15, 2007 at 02:56:27AM -0500, Bobby Ramsook wrote:
> >If any one else is having problems, may be it might be related to the
> >following lines:
>
> I cannot really see what you did below, so please do a "svn diff" and
> send that instead
>
> thanks,
>



-- 
Bobby Ramsook
CCNY Computer Tech
Grad Date (EXP):  07'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/buildroot/attachments/20070222/cd936786/attachment-0002.htm 


More information about the buildroot mailing list