kbuild: specifying phony targets?

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

 



I have a Makefile that works with 2.4 and 2.6 kernels. On the 2.4 side, I have a rule like this:

all: mytext ${TARGET_DIR} ${TARGET_DIR}/ccil.o

mytext:
	@echo ${SOMETEXT}

This causes the text in variable SOMETEXT to be displayed right when the build starts.

How do I do the same thing with kbuild? Is there a way I can get a kbuild makefile to run a phony target right at the beginning?

--
Timur Tabi
Staff Software Engineer
timur.tabi@xxxxxxxxxxx

One thing a Southern boy will never say is,
"I don't think duct tape will fix it."
     -- Ed Smylie, NASA engineer for Apollo 13

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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