[Buildroot] [PATCH] ramspeed: new package
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Tue May 29 21:02:23 UTC 2012
Le Tue, 29 May 2012 17:48:38 -0300,
Gustavo Zacarias <gustavo at zacarias.com.ar> a écrit :
> +define RAMSPEED_BUILD_CMDS
> + cp -f package/ramspeed/Makefile $(@D); \
> + CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
> + make -C $(@D) $(RAMSPEED_ARCH)
> +endef
Nitpicking: those two commands do not necessarily need to belong to the
shell same command. I.e, you can write it as:
+define RAMSPEED_BUILD_CMDS
+ cp -f package/ramspeed/Makefile $(@D)
+ CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
+ make -C $(@D) $(RAMSPEED_ARCH)
+endef
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list