diff options
author | Juergen Beisert <jbe@pengutronix.de> | 2011-09-08 11:45:07 +0200 |
---|---|---|
committer | Juergen Beisert <jbe@pengutronix.de> | 2011-09-08 11:45:07 +0200 |
commit | c9592fc04ae6d2143bf3820bef3de479209d1ca7 (patch) | |
tree | d3158b54edf100fda241cdf74317f238ff18eff7 | |
parent | b0c16de1ff870c61b1aa981e6cb160bc0ca58cc2 (diff) | |
download | ptxdist-c9592fc04ae6d2143bf3820bef3de479209d1ca7.tar.gz ptxdist-c9592fc04ae6d2143bf3820bef3de479209d1ca7.tar.xz |
u-boot.make: Use make, not C style ifdefs
Using "#ifdef/#endif" is C style and a comment in Makefiles. So the
rule files does not work as expected, yet.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
-rw-r--r-- | rules/u-boot.make | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/rules/u-boot.make b/rules/u-boot.make index 19fd0cbfb..bee7faf90 100644 --- a/rules/u-boot.make +++ b/rules/u-boot.make @@ -64,12 +64,12 @@ $(STATEDIR)/u-boot.install: $(STATEDIR)/u-boot.targetinstall: @$(call targetinfo) @install -D -m644 $(U_BOOT_DIR)/u-boot.bin $(IMAGEDIR)/u-boot.bin -#ifdef PTXCONF_U_BOOT_INSTALL_SREC +ifdef PTXCONF_U_BOOT_INSTALL_SREC @install -D -m644 $(U_BOOT_DIR)/u-boot.srec $(IMAGEDIR)/u-boot.srec -#endif -#ifdef PTXCONF_U_BOOT_INSTALL_ELF +endif +ifdef PTXCONF_U_BOOT_INSTALL_ELF @install -D -m644 $(U_BOOT_DIR)/u-boot $(IMAGEDIR)/u-boot.elf -#endif +endif @$(call touch) # ---------------------------------------------------------------------------- |