Re: compiling user space and kernel space code in single makefile

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

 



Hi

On Wed, Jul 22, 2009 at 6:47 PM, Rishi Agrawal<rishi.b.agrawal@xxxxxxxxx> wrote:
> I have used separate makefiles and added this piece of code in the Makefile
> in the topmost directory
>
> @for dir in ${subdirs}; do \
>       (cd $$dir && $(MAKE) all) \
>       || case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
>     done && test -z "$$fail"
>
> This loop goes into each and subdir and executes "make"

So the above lines are the only thing done by the main Makefile?

With my limited knowledge of Makefile and Bash scripting, it seems
nothing is suspicious there.

perhaps a small experiment first, what's the result if you take out
the "include" line in your user space Makefile?

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer
blog: the-hydra.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux