]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - rules.mk
karo: mmc: fix file read from eMMC partition
[karo-tx-uboot.git] / rules.mk
index 22562f33da93e1829381e671318e09d5415d1142..f4510b7cb6aa13caad7e2d6422266c2f7844b657 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -1,26 +1,9 @@
 #
-# (C) Copyright 2006
+# (C) Copyright 2006-2013
 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
 #
-# See file CREDITS for list of people who contributed to this
-# project.
+# SPDX-License-Identifier:     GPL-2.0+
 #
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
-# MA 02111-1307 USA
-#
-
 #########################################################################
 
 _depend:       $(obj).depend
@@ -38,7 +21,8 @@ DEPS := $(basename $(patsubst %,$(obj).depend.%,$(PWD_SRCS)))
 #      1 .Concatenate all the generated depend files together
 #      2. Add in the deps from OTHER_SRCS which we couldn't process
 #      3. Add in the HOSTSRCS
-$(obj).depend: $(src)Makefile $(TOPDIR)/config.mk $(DEPS) $(HOSTSRCS)
+$(obj).depend: $(src)Makefile $(TOPDIR)/config.mk $(DEPS) $(OTHER_SRCS) \
+               $(HOSTSRCS)
        cat /dev/null $(DEPS) >$@
        @for f in $(OTHER_SRCS); do \
                g=`basename $$f | sed -e 's/\(.*\)\.[[:alnum:]_]/\1.o/'`; \