bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Porting to mips64el


From: Ludovic Courtès
Subject: Re: Porting to mips64el
Date: Sat, 16 Feb 2013 22:07:57 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Nikita Karetnikov <address@hidden> skribis:

>> Actually, even better would be do that in host code, as done with
>> ‘glibc-dynamic-linker’:
>
> What do you mean by "host code"?

I mean code that runs in your ‘guix-build’ process, as opposed to
builder code running in the chroot (search the manual for “strata”.)

> The attached recipe raises the following:
>
> make: *** No rule to make target `defconfig'.  Stop.
>
> [...]
>
> starting phase `build'

You have a parenthesis issue here:

         (build-phase
          (lambda (arch)
            `(lambda _
               (setenv "ARCH" ,(system->linux-architecture arch))
               (format #t "`ARCH' set to `~a'~%" (getenv "ARCH")))

             (and (zero? (system* "make" "defconfig"))
                  (zero? (system* "make" "mrproper" "headers_check")))))

“make defconfig” & co. should be done in the quoted lambda expression,
as was the case before.

HTH,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]