move sboot to the root directory
[open-ath9k-htc-firmware.git] / sboot / magpie_1_1 / ram / rompatch / Makefile
diff --git a/sboot/magpie_1_1/ram/rompatch/Makefile b/sboot/magpie_1_1/ram/rompatch/Makefile
new file mode 100755 (executable)
index 0000000..c1cf094
--- /dev/null
@@ -0,0 +1,59 @@
+include $(MAGPIE_ROOT)/build/make_opt/Makefile.h
+
+
+#
+# Sub-system source main path
+#
+# !!Customize!!
+
+export LAYERNAME = rompatch
+
+
+#
+# Sub-system source main path
+#
+
+export SSMPATH = $(MAGPIE_ROOT)/target/$(LAYERNAME)
+
+
+#
+# Sub-system object search path for GNU tool chain
+#
+# !!Customize!!
+
+export SSOBJPATH = $(PRJ_ROOT)/$(TARGET)/$(LAYERNAME)/obj
+
+#
+# Sub-system/module list at this layer
+#
+# !!Customize!!
+
+SUBDIRS = .
+#DIRS = hif cmnos
+
+
+#
+# Archive for this package
+#
+# !!Customize!!
+
+export L_TARGET = $(LIB_PATH)/librompatch.a
+
+
+#
+# Targets
+#
+
+all:
+       for i in $(SUBDIRS) ; do $(MAKE) -C $$i -f Makefile.ss all || exit $?; done
+
+
+dep:
+       for i in $(SUBDIRS) ; do $(MAKE) -C $$i -f Makefile.ss dep || exit $?; done
+
+clean:
+       $(MAKE) clean -f Makefile.ss
+
+init:
+       $(MAKE) -f Makefile.ss init
+