diff options
author | Luis R. Rodriguez <mcgrof@do-not-panic.com> | 2012-11-30 17:45:43 -0800 |
---|---|---|
committer | Luis R. Rodriguez <mcgrof@do-not-panic.com> | 2012-11-30 17:47:16 -0800 |
commit | e9b7112393fe762215912e042863ccc8506f5e05 (patch) | |
tree | 313f4db145e600286b12eee35ad702c89315061c | |
parent | 70e80075902d51cedc2b967679365b7898cf5e45 (diff) | |
download | alx-e9b7112393fe762215912e042863ccc8506f5e05.tar.gz |
alx: add clean-linux target
While at it update the Linux help targets.
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
-rw-r--r-- | target/linux/Makefile | 1 | ||||
-rw-r--r-- | target/linux/port.mk | 7 |
2 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/Makefile b/target/linux/Makefile index f649ce3..4f37e60 100644 --- a/target/linux/Makefile +++ b/target/linux/Makefile @@ -70,7 +70,6 @@ $(COMPAT_CONFIG): ; # compat-drivers kernels. linux: $(CREL_CHECK) $(MAKE) -C $(KLIB_BUILD) M=$(PWD) modules - @touch $@ # We use a CREL_CHECK variable which will depend on the environment used to # build. If the environment requirements change it forces a reconfiguration diff --git a/target/linux/port.mk b/target/linux/port.mk index 127ab16..fe947b1 100644 --- a/target/linux/port.mk +++ b/target/linux/port.mk @@ -5,7 +5,9 @@ all: help linux-help: @echo " make linux-src - Transforms code for integration into linux-next" @echo " make linux - Builds alx for any Linux kernel 2.6.28 - 3.x" - @echo " make linux-install - Install linux target" + @echo " make install-linux - Install linux target" + @echo " make uninstall-linux - Install linux target" + @echo " make clean-linux - Install linux target" # Convert unified driver code to Linux, always targeting linux-next linux-src: @@ -25,6 +27,9 @@ linux: linux-backport install-linux: $(MAKE) -C $(TARGET_LINUX) install-modules +clean-linux: + $(MAKE) -C $(TARGET_LINUX) clean + uninstall-linux: $(MAKE) -C $(TARGET_LINUX) uninstall |