summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorAl Stone <ahs3@redhat.com>2012-11-30 16:08:01 -0700
committerAl Stone <ahs3@redhat.com>2012-11-30 16:08:01 -0700
commit7cfa935df23105fec704e7311ebdba410798c3d5 (patch)
tree63cae11b48c6f6eee4b5d2c7421f1c8bb8a3f7d0 /Makefile
parent450a29d7bdee7e348754982541dbfd6f5be6072f (diff)
downloadpatch-axf-7cfa935df23105fec704e7311ebdba410798c3d5.tar.gz
patch-axf-7cfa935df23105fec704e7311ebdba410798c3d5.tar.xz
patch-axf-7cfa935df23105fec704e7311ebdba410798c3d5.zip
first commit of the patch tool
Signed-off-by: Al Stone <ahs3@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..0ed0c94
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,21 @@
+#
+# patch a binary .axf file with a new set of kernel parameters
+#
+
+CC ?= gcc
+CFLAGS ?= -g
+
+OBJ = paxf.o
+
+
+all: paxf
+
+paxf: paxf.o
+ $(CC) $(CFLAGS) -o paxf $(OBJ)
+
+clean:
+ rm -f paxf $(OBJ)
+
+.c.o:
+ $(CC) $(CFLAGS) -c $<
+