patch-2.4.5 linux/arch/ppc/boot/utils/Makefile

Next file: linux/arch/ppc/boot/utils/addnote.c
Previous file: linux/arch/ppc/boot/tree/misc.S
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.4/linux/arch/ppc/boot/utils/Makefile linux/arch/ppc/boot/utils/Makefile
@@ -0,0 +1,19 @@
+#
+# arch/ppc/boot/utils/Makefile
+#
+# This file is subject to the terms and conditions of the GNU General Public
+# License.  See the file "COPYING" in the main directory of this archive
+# for more details.
+
+HOSTCFLAGS += -I$(TOPDIR)/arch/$(ARCH)/boot/include
+
+# Simple programs with 1 file and no extra CFLAGS
+UTILS = addnote hack-coff mkprep mksimage mknote piggyback mkpmon mkbugboot
+
+$(UTILS):
+	$(HOSTCC) $(HOSTCFLAGS) -o $@ $@.c
+
+clean:
+	rm -f $(UTILS)
+
+include $(TOPDIR)/Rules.make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)