Revision: 823
http://svn.sourceforge.net/hackndev/?rev=823&view=rev
Author: marex_z71
Date: 2007-02-17 10:35:59 -0800 (Sat, 17 Feb 2007)
Log Message:
-----------
K2-6-20-hnd: Starting migration to 2.6.20
Modified Paths:
--------------
linux4palm/linux/trunk/usr/Makefile
Modified: linux4palm/linux/trunk/usr/Makefile
===================================================================
--- linux4palm/linux/trunk/usr/Makefile 2007-02-17 11:11:40 UTC (rev 822)
+++ linux4palm/linux/trunk/usr/Makefile 2007-02-17 18:35:59 UTC (rev 823)
@@ -3,7 +3,9 @@
#
klibcdirs:;
+PHONY += klibcdirs
+
# Generate builtin.o based on initramfs_data.o
obj-y := initramfs_data.o
@@ -18,7 +20,7 @@
hostprogs-y := gen_init_cpio
initramfs := $(CONFIG_SHELL) $(srctree)/scripts/gen_initramfs_list.sh
ramfs-input := $(if $(filter-out "",$(CONFIG_INITRAMFS_SOURCE)), \
- $(CONFIG_INITRAMFS_SOURCE),-d)
+ $(shell echo $(CONFIG_INITRAMFS_SOURCE)),-d)
ramfs-args := \
$(if $(CONFIG_INITRAMFS_ROOT_UID), -u $(CONFIG_INITRAMFS_ROOT_UID)) \
$(if $(CONFIG_INITRAMFS_ROOT_GID), -g $(CONFIG_INITRAMFS_ROOT_GID))
@@ -35,6 +37,9 @@
cmd_initfs = $(initramfs) -o $@ $(ramfs-args) $(ramfs-input)
targets := initramfs_data.cpio.gz
+# do not try to update files included in initramfs
+$(deps_initramfs): ;
+
$(deps_initramfs): klibcdirs
# We rebuild initramfs_data.cpio.gz if:
# 1) Any included file is newer then initramfs_data.cpio.gz
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|