diff options
author | Juergen Beisert <j.beisert@pengutronix.de> | 2007-01-05 13:38:40 +0000 |
---|---|---|
committer | Juergen Beisert <j.beisert@pengutronix.de> | 2007-01-05 13:38:40 +0000 |
commit | e5201bdfed55667611e3164099849cff20683c8d (patch) | |
tree | 9210a453c06fcdea29be7c36652515baab2be6ce /rules/hpanel.make | |
parent | 2204c179f73eb274d194098338ec3e6e5b24c41f (diff) | |
download | ptxdist-e5201bdfed55667611e3164099849cff20683c8d.tar.gz ptxdist-e5201bdfed55667611e3164099849cff20683c8d.tar.xz |
* hpanel: Change package's makefile for easier
cross compiling
- uses make's built in rules
- does not strip the executable until installing
- uses pkg-config instead of fixed pathes to libraries
and header files
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@6735 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/hpanel.make')
-rw-r--r-- | rules/hpanel.make | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/rules/hpanel.make b/rules/hpanel.make index 9e6cf0cf7..7837bb4cc 100644 --- a/rules/hpanel.make +++ b/rules/hpanel.make @@ -73,11 +73,10 @@ $(STATEDIR)/hpanel.prepare: $(hpanel_prepare_deps_default) # ---------------------------------------------------------------------------- # Compile # ---------------------------------------------------------------------------- -# evil hacks due to the stupid make file of the software author +# overwrite some vars in the makefile HPANEL_MAKEVARS = \ CC=$(COMPILER_PREFIX)gcc \ - CFLAGS='-O2 `pkg-config --cflags xft` `pkg-config --cflags xpm` -DCLOCK -v' \ LDFLAGS='`pkg-config --libs xft` `pkg-config --libs xpm` $(CROSS_LDFLAGS)' hpanel_compile: $(STATEDIR)/hpanel.compile @@ -115,7 +114,7 @@ $(STATEDIR)/hpanel.targetinstall: $(hpanel_targetinstall_deps_default) @$(call install_fixup,hpanel,DEPENDS,) @$(call install_fixup,hpanel,DESCRIPTION,missing) - @$(call install_copy, hpanel, 0, 0, 0755, $(HPANEL_DIR)/hpanel, /usr/bin/hpanel) + @$(call install_copy, hpanel, 0, 0, 0755, $(HPANEL_DIR)/hpanel, /usr/bin/hpanel,y) @$(call install_finish,hpanel) |