| To: | David Daney <ddaney@caviumnetworks.com> |
|---|---|
| Subject: | Re: [RFC PATCH v3 1/6] of: Allow scripts/dtc/libfdt to be used from kernel code |
| From: | Michal Marek <mmarek@suse.cz> |
| Date: | Fri, 06 May 2011 12:56:21 +0200 |
| Cc: | linux-mips@linux-mips.org, ralf@linux-mips.org, devicetree-discuss@lists.ozlabs.org, grant.likely@secretlab.ca, linux-kernel@vger.kernel.org |
| In-reply-to: | <1304614949-30460-2-git-send-email-ddaney@caviumnetworks.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <1304614949-30460-1-git-send-email-ddaney@caviumnetworks.com> <1304614949-30460-2-git-send-email-ddaney@caviumnetworks.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110221 SUSE/3.1.8 Thunderbird/3.1.8 |
On 5.5.2011 19:02, David Daney wrote: --- /dev/null +++ b/drivers/of/libfdt/Makefile @@ -0,0 +1,8 @@ +ccflags-y := -include linux/libfdt_env.h -I$(src)/../../../scripts/dtc/libfdt + +obj-y = fdt.o fdt_wip.o fdt_ro.o + + +$(obj)/%.o: $(src)/../../../scripts/dtc/libfdt/%.c FORCE + $(call cmd,force_checksrc) + $(call if_changed_rule,cc_o_c) It's just three source files, so you could use three one-line wrappers that #include ../../../scripts/dtc/libfdt/<file>.c instead of copying the %.c -> %.o rule here. Michal |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH V2 3/3] MIPS: lantiq: add dma/etop board support, Sergei Shtylyov |
|---|---|
| Next by Date: | Re: RFC: A new MIPS64 ABI, David Daney |
| Previous by Thread: | [RFC PATCH v3 1/6] of: Allow scripts/dtc/libfdt to be used from kernel code, David Daney |
| Next by Thread: | Re: [RFC PATCH v3 1/6] of: Allow scripts/dtc/libfdt to be used from kernel code, David Daney |
| Indexes: | [Date] [Thread] [Top] [All Lists] |